From 8f287709dc442edf17f03229ac149953103e1d72 Mon Sep 17 00:00:00 2001 From: Lightemerald Date: Tue, 27 Feb 2024 12:46:54 +0100 Subject: [PATCH] Added auto reboot after removing WDAC --- setupScript.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/setupScript.ps1 b/setupScript.ps1 index da35b25..4f8358f 100644 --- a/setupScript.ps1 +++ b/setupScript.ps1 @@ -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 \ No newline at end of file