mirror of
https://github.com/zoicware/RemoveWindowsAI.git
synced 2026-01-11 02:04:44 +01:00
make gpupdate trigger policy update in the background instead of waiting
This commit is contained in:
@@ -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
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user