mirror of
https://github.com/zoicware/RemoveWindowsAI.git
synced 2025-12-17 07:06:29 +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