瀏覽代碼

Merge pull request #121 from jtmy/patch-1

Fixed typo in CloudStore path
Richard Newton 6 年之前
父節點
當前提交
0b3ad73c34
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Windows10Debloater.ps1

+ 1 - 1
Windows10Debloater.ps1

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