Browse Source

Fixed taskkill.exe not working

This should resolved issue #98
Richard Newton 6 years ago
parent
commit
22ddb3addc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Windows10DebloaterGUI.ps1

+ 1 - 1
Windows10DebloaterGUI.ps1

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