make gpupdate trigger policy update in the background instead of waiting

This commit is contained in:
zoicware
2025-12-07 23:57:22 -05:00
committed by GitHub
parent 95da5492aa
commit 97b64eb4f5

View File

@@ -554,7 +554,7 @@ function Disable-Registry-Keys {
#force policy changes #force policy changes
Write-Status -msg 'Applying Registry Changes...' Write-Status -msg 'Applying Registry Changes...'
gpupdate /force >$null gpupdate /force /wait:0 >$null
} }