Skip to content

Instantly share code, notes, and snippets.

@vic4key
Created November 4, 2025 16:59
Show Gist options
  • Select an option

  • Save vic4key/08cdcf37596d07fa1ef604a1d9d9a692 to your computer and use it in GitHub Desktop.

Select an option

Save vic4key/08cdcf37596d07fa1ef604a1d9d9a692 to your computer and use it in GitHub Desktop.
Beyond Compare 5 - Reset Trial 30 days
# Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
# Remove-Item "$env:appdata\Scooter Software\Beyond Compare 5\*.*" -Force -Confirm:$false
$path = "$env:appdata\Scooter Software\Beyond Compare 5\BCState.xml"
if (Test-Path $path) {
Remove-Item $path -Force -Confirm:$false
}
$path = "$env:appdata\Scooter Software\Beyond Compare 5\BCState.xml.bak"
if (Test-Path $path) {
Remove-Item $path -Force -Confirm:$false
}
# for v5.0.7
# Remove-Item "$env:appdata\Scooter Software\Beyond Compare 5\BCSessions.xml" -Force -Confirm:$false
# Remove-Item "$env:appdata\Scooter Software\Beyond Compare 5\BCSessions.xml.bak" -Force -Confirm:$false
$path = "$env:appdata\Scooter Software\Beyond Compare 5\BCSessions.xml"
if (Test-Path $path) {
Remove-Item $path -Force -Confirm:$false
}
$path = "$env:appdata\Scooter Software\Beyond Compare 5\BCSessions.xml.bak"
if (Test-Path $path) {
Remove-Item $path -Force -Confirm:$false
}
$regPath = "HKCU:\Software\Scooter Software\Beyond Compare 5"
$keyName = "CacheID"
if (Test-Path $regPath) {
$Properties = Get-ItemProperty -Path $regPath
if ($Properties.PSObject.Properties.Name -contains $keyName) {
Remove-ItemProperty -Path $regPath -Name $keyName -Force
}
# for v5.0.7
if ($Properties.PSObject.Properties.Name -contains "Expired") {
Remove-ItemProperty -Path $regPath -Name "Expired" -Force
}
}
# reg delete "HKCU\Software\Scooter Software\Beyond Compare 5" /v "CacheID" /f
Pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment