Fixed taskkill.exe not working

This should resolved issue #98
This commit is contained in:
Richard Newton 2019-03-03 13:52:28 -08:00 committed by GitHub
parent cd80c22493
commit 22ddb3addc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1343,7 +1343,7 @@ $RemoveOnedrive.Add_Click( {
Start-Sleep 2
Write-Host "Stopping explorer"
Start-Sleep 1
.\taskkill.exe /F /IM explorer.exe
taskkill.exe /F /IM explorer.exe
Start-Sleep 3
Write-Host "Removing leftover files"
Remove-Item "$env:USERPROFILE\OneDrive" -Force -Recurse