From 97b64eb4f5e8b3f2773394f86b901fd57f0d15c2 Mon Sep 17 00:00:00 2001 From: zoicware <118035521+zoicware@users.noreply.github.com> Date: Sun, 7 Dec 2025 23:57:22 -0500 Subject: [PATCH] make gpupdate trigger policy update in the background instead of waiting --- RemoveWindowsAi.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RemoveWindowsAi.ps1 b/RemoveWindowsAi.ps1 index c20d549..a1fc39d 100644 --- a/RemoveWindowsAi.ps1 +++ b/RemoveWindowsAi.ps1 @@ -554,7 +554,7 @@ function Disable-Registry-Keys { #force policy changes Write-Status -msg 'Applying Registry Changes...' - gpupdate /force >$null + gpupdate /force /wait:0 >$null }