Advertisement
Ibra86

Uninstall Microsoft Edge Stable

Jun 19th, 2020
2,419
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.48 KB | None | 0 0
  1. @echo off
  2. reg.exe query "HKU\S-1-5-19" 1>nul 2>nul || (echo Run the script as administrator&pause&exit)
  3. set "s_path=%ProgramFiles(x86)%\Microsoft"
  4. if /i %PROCESSOR_ARCHITECTURE%==x86 (if not defined PROCESSOR_ARCHITEW6432 (
  5.   set "s_path=%ProgramFiles%\Microsoft"
  6.   )
  7. )
  8. for /D %%i in ("%s_path%\Edge\Application\*") do if exist "%%i\installer\setup.exe" (
  9. start "" /w "%%i\installer\setup.exe" --uninstall --system-level --verbose-logging --force-uninstall --delete-profile
  10. )
  11. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement