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
This commit is contained in:
Maximilian Cosmo Sitter 2020-07-15 15:27:07 +02:00 committed by GitHub
parent 467f71ef0b
commit d8979dc7e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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