From 9c0504ad7e40adadebda9f3781b2881a26180471 Mon Sep 17 00:00:00 2001 From: jtmy <38598845+jtmy@users.noreply.github.com> Date: Mon, 15 Apr 2019 18:40:00 +0900 Subject: [PATCH] Fixed typo in CloudStore path string in $CloudStore has a typo that lead the check to always false --- Windows10Debloater.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Windows10Debloater.ps1 b/Windows10Debloater.ps1 index 9867c3c..ee828d2 100644 --- a/Windows10Debloater.ps1 +++ b/Windows10Debloater.ps1 @@ -303,7 +303,7 @@ Function Protect-Privacy { 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) { Stop-Process Explorer.exe -Force Remove-Item $CloudStore