Fixed taskkill.exe not working

This should resolved issue #98
pull/100/head
Richard Newton 5 years ago committed by GitHub
parent cd80c22493
commit 22ddb3addc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save