Browse Source

Script stop for confirmation

this fix remove the confirmation as tested on windows 10 1909 Pro x64
omegis 5 years ago
parent
commit
385f98c22a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Windows10Debloater.ps1

+ 1 - 1
Windows10Debloater.ps1

@@ -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
     }
 }