The explorer process could not be killed, because powershell cannot convert the "Explorer.exe" value of type "System.String" to type "System.Diagnostics.Process".
Description and solution in #240 . If issues still occur we could try the solution proposed in #259
pull/264/head
Maximilian Cosmo Sitter 4 years ago committed by GitHub
parent 467f71ef0b
commit d8979dc7e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save