Fix capture and restore of signed dword/qword registry values

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Jeffrey
2026-05-11 19:14:08 +02:00
parent 8ac664e45f
commit 24a6f1bcf8
3 changed files with 27 additions and 9 deletions

View File

@@ -170,7 +170,12 @@ function ExecuteAllChanges {
}
Write-Host "> Creating registry backup..."
New-RegistrySettingsBackup -ActionableKeys $actionableKeys | Out-Null
try {
New-RegistrySettingsBackup -ActionableKeys $actionableKeys | Out-Null
}
catch {
throw "Registry backup failed before applying changes. $($_.Exception.Message)"
}
}
# Create restore point if requested (CLI only - GUI handles this separately)