Advertisement
pf100

UpdateAssistantRemoval.cmd

Oct 16th, 2018
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. ::Remove Update Assistant
  2. if exist "%systemdrive%\Windows10Upgrade\Windows10UpgraderApp.exe" ( echo Windows 10 Update Assistant detected. Preparing to uninstall.
  3. echo The "Windows 10 Update Assistant has stopped working" dialog box may pop up. If so, just close it.
  4. echo Press a key to acknowledge this and please wait for the uninstall to finish.
  5. echo Script will continue after uninstall and removal is completed...
  6. pause > nul
  7. echo Uninstalling Windows 10 Update Assistant...
  8. %systemdrive%\Windows10Upgrade\Windows10UpgraderApp.exe /forceuninstall
  9. timeout /t 10 /nobreak)
  10. del %SystemDrive%\Windows10Upgrade\*.* /f /q >nul 2>&1
  11. rmdir %SystemDrive%\Windows10Upgrade /s /q >nul 2>&1
  12. del %systemroot%\UpdateAssistant\*.* /f /q >nul 2>&1
  13. rmdir %systemroot%\UpdateAssistant /s /q >nul 2>&1
  14. del %systemroot%\UpdateAssistantV2\*.* /f /q >nul 2>&1
  15. rmdir %systemroot%\UpdateAssistantV2 /s /q >nul 2>&1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement