w10install/scripts/uninstall-edge.cmd

18 lines
545 B
Batchfile
Raw Normal View History

2021-01-10 18:45:55 +01:00
@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
2021-01-10 23:14:52 +01:00
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
2021-01-10 18:45:55 +01:00
echo ####### %0 #######