Added auto reboot after removing WDAC
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user