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 #######
|
|
|
|
|
2021-02-08 00:02:42 +01:00
|
|
|
@echo on
|
2021-01-10 18:45:55 +01:00
|
|
|
%EDGEROOT%\%INSTALLER%\setup.exe --uninstall --system-level --verbose-logging --force-uninstall
|
2021-02-08 00:02:42 +01:00
|
|
|
@echo off
|
|
|
|
timeout /T 30
|
2021-01-10 18:45:55 +01:00
|
|
|
|
2021-01-12 20:23:36 +01:00
|
|
|
echo cleanup ...
|
2021-02-07 21:24:26 +01:00
|
|
|
tasklist
|
2021-02-08 00:02:42 +01:00
|
|
|
taskkill /F /IM EdgeInstall.exe
|
|
|
|
taskkill /F /IM Setup.exe
|
2021-02-07 21:24:26 +01:00
|
|
|
|
2021-02-03 07:51:05 +01:00
|
|
|
@echo on
|
|
|
|
rd /S /Q %EDGEROOT%
|
|
|
|
rd /S /Q %EDGEUPDATE%
|
|
|
|
del /F "%PUBLIC%\Desktop\Microsoft Edge.lnk"
|
|
|
|
del /F "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk"
|
|
|
|
del /F "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk"
|
|
|
|
del /F "%USERPROFILE%\Desktop\Microsoft Edge.lnk"
|
|
|
|
rd /S /Q "%PROGRAMDATA%\Microsoft\EdgeUpdate"
|
|
|
|
@echo off
|
2021-01-10 23:14:52 +01:00
|
|
|
|
2021-01-12 20:23:36 +01:00
|
|
|
echo block edge updates ...
|
|
|
|
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EdgeUpdate" ^
|
|
|
|
/v "DoNotUpdateToEdgeWithChromium" /d 1 /t REG_DWORD /f
|
|
|
|
|
2021-01-10 18:45:55 +01:00
|
|
|
echo ####### %0 #######
|
|
|
|
|