Fixed typo in CloudStore path

string in $CloudStore has a typo that lead the check to always false
pull/121/head
jtmy 5 years ago committed by GitHub
parent 36159f876b
commit 9c0504ad7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save