|
|
@ -176,7 +176,7 @@ Function Protect-Privacy {
|
|
|
|
Write-Output "Removing CloudStore from registry if it exists"
|
|
|
|
Write-Output "Removing CloudStore from registry if it exists"
|
|
|
|
$CloudStore = 'HKCU:\Software\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 -Name explorer -Force
|
|
|
|
Remove-Item $CloudStore -Recurse -Force
|
|
|
|
Remove-Item $CloudStore -Recurse -Force
|
|
|
|
Start-Process Explorer.exe -Wait
|
|
|
|
Start-Process Explorer.exe -Wait
|
|
|
|
}
|
|
|
|
}
|
|
|
|