Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- ::Uninstall M$ Edge Via Batch/Powershell ::
- ::Created by RU$$ [https://steamcommunity.com/id/CrypticNight7/] ::
- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- @ECHO OFF
- Rem | Search For File Within Its Unique Location
- FOR /D %%G IN ("C:\Program Files (x86)\Microsoft\Edge\Application\*") DO IF EXIST "%%~fG\Installer\setup.exe" (
- set correctDir=%%G
- goto :foundFile
- )
- echo File setup.exe not found!
- goto :eof
- :foundFile
- cd "%correctDir%\Installer\"
- Rem | Run The Uninstall Suffex From Powershell
- powershell -executionpolicy bypass -command ".\setup.exe --uninstall --system-level --verbose-logging --force-uninstall"
- echo M$ Edge Has Been Completely Uninstalled.
- pause
- goto :eof
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement