mirror of
https://github.com/zoicware/RemoveWindowsAI.git
synced 2025-12-17 15:16:27 +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
|
#force policy changes
|
||||||
Write-Status -msg 'Applying Registry Changes...'
|
Write-Status -msg 'Applying Registry Changes...'
|
||||||
gpupdate /force >$null
|
gpupdate /force /wait:0 >$null
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user