Explorar o código

Merge pull request #264 from mcsitter/patch-1

FIX #240 and #259
Richard Newton %!s(int64=4) %!d(string=hai) anos
pai
achega
d51cb458c4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Windows10SysPrepDebloater.ps1

+ 1 - 1
Windows10SysPrepDebloater.ps1

@@ -176,7 +176,7 @@ Function Protect-Privacy {
      Write-Output "Removing CloudStore from registry if it exists"
      $CloudStore = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\CloudStore'
      If (Test-Path $CloudStore) {
-     Stop-Process Explorer.exe -Force
+     Stop-Process -Name explorer -Force
      Remove-Item $CloudStore -Recurse -Force
      Start-Process Explorer.exe -Wait
     }