소스 검색

Merge pull request #264 from mcsitter/patch-1

FIX #240 and #259
Richard Newton 4 년 전
부모
커밋
d51cb458c4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
     }