w10install/scripts/uninstall-edge.cmd
Michael H.G. Schmidt 5651e5663c .
2021-01-10 23:14:52 +01:00

18 lines
545 B
Batchfile

@echo off
set EDGEROOT="C:\Program Files (x86)\Microsoft\Edge"
set EDGEUPDATE="C:\Program Files (x86)\Microsoft\EdgeUpdate"
set INSTALLER=Application\8*\Installer
echo ####### %0 #######
%EDGEROOT%\%INSTALLER%\setup.exe --uninstall --system-level --verbose-logging --force-uninstall
rd /S /Q %EDGEROOT% 1>nul 2>nul
rd /S /Q %EDGEUPDATE% 1>nul 2>nul
del /F "%PUBLIC%\Desktop\Microsoft Edge.lnk" 1>nul 2>nul
del /F "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk" 1>nul 2>nul
echo ####### %0 #######