Script stop for confirmation

this fix remove the confirmation as tested on windows 10 1909 Pro x64
This commit is contained in:
omegis 2020-01-08 11:23:08 +02:00 committed by GitHub
parent 89f3dbd4da
commit 385f98c22a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -305,7 +305,7 @@ Function Protect-Privacy {
$CloudStore = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\CloudStore'
If (Test-Path $CloudStore) {
Stop-Process Explorer.exe -Force
Remove-Item $CloudStore
Remove-Item $CloudStore -Recurse -Force
Start-Process Explorer.exe -Wait
}
}