Merge pull request #264 from mcsitter/patch-1

FIX #240 and #259
This commit is contained in:
Richard Newton 2021-03-12 23:04:46 -05:00 committed by GitHub
commit d51cb458c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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