Added auto reboot after removing WDAC

This commit is contained in:
2024-02-27 12:46:54 +01:00
parent 3d63bf6a68
commit 8f287709dc

View File

@@ -193,6 +193,7 @@ if (Test-Path -Path "C:\Windows\System32\CodeIntegrity\CiPolicies\Active\{b4d6b2
$input = Read-Host "Should we disabled WDAC? (Y/n)"
if ($input -ne "n") {
Remove-Item -Path "C:\Windows\System32\CodeIntegrity\CiPolicies\Active\{b4d6b24c-c3ad-44e5-9dea-72c1ed9577b8}.cip"
Restart-Computer -Force
}
}
Show-InstallationMenu