Silent and Unattended Uninstall for Edge Insider Browser?

%3CLINGO-SUB%20id%3D%22lingo-sub-767354%22%20slang%3D%22en-US%22%3ESilent%20and%20Unattended%20Uninstall%20for%20Edge%20Insider%20Browser%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-767354%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELooking%20for%20a%20command%20line%20to%20silently%20and%20unattended%20uninstall%20for%20the%20new%20Microsoft%20Edge%20Insider%20Browser%20as%20I%20need%20to%20create%20an%20SCCM%20uninstall%20command.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20'UninstallString'%20in%20the%20registry%20is%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22C%3A%5CProgram%20Files%20(x86)%5CMicrosoft%5CEdge%20Dev%5CApplication%5C77.0.218.4%5CInstaller%5Csetup.exe%22%20--uninstall%20--msedge-dev%20--system-level%20--verbose-logging%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20when%20run%20it%20prompts%20to%20clear%20your%20browsing%20data%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20to%20make%20this%20silent%20and%20unattended%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20you%20run%20setup.exe%20%2F%3F%20it%20gives%20no%20info%20on%20command%20line%20options%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETIA%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-772315%22%20slang%3D%22en-US%22%3ERe%3A%20Silent%20and%20Unattended%20Uninstall%20for%20Edge%20Insider%20Browser%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-772315%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F185561%22%20target%3D%22_blank%22%3E%40Simon%20Kennerley%3C%2FA%3E%26nbsp%3Byou%20should%20be%20able%20to%20achieve%20silent%20uninstall%20by%20using%20the%20--force-uninstall%20flag.%20Hope%20that%20helps!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1151199%22%20slang%3D%22en-US%22%3ERe%3A%20Silent%20and%20Unattended%20Uninstall%20for%20Edge%20Insider%20Browser%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1151199%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F74394%22%20target%3D%22_blank%22%3E%40Steve%20Rugh%3C%2FA%3E%26nbsp%3BHi%2C%20I'm%20also%20trying%20to%20figure%20out%20a%20silent%20uninstall%20for%20Edge%20(actually%20Edge%20Dev%20in%20this%20case).%3C%2FP%3E%3CP%3EThe%20--force-uninstall%20parameter%20doesn't%20seem%20to%20work.%20Setup.exe%20appears%20to%20launch%20as%20I%20watch%20task%20manager%2C%20but%20then%20it%20immediately%20stops%20running.%20I%20don't%20get%20any%20prompts%20or%20error%20messages.'%3C%2FP%3E%3CP%3EHere's%20the%20command%20line%20I'm%20using%2C%20which%20with%20the%20exception%20of%20the%20suggested%20--force-uninstall%20parameter%2C%20I've%20taken%20straight%20from%20the%20Uninstall%20key%20in%20the%20registry%3A%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%22C%3A%5CProgram%26nbsp%3BFiles%26nbsp%3B(x86)%5CMicrosoft%5CEdge%26nbsp%3BDev%5CApplication%5C81.0.403.1%5CInstaller%5Csetup.exe%22%26nbsp%3B--force-uninstall%26nbsp%3B--msedge-dev%26nbsp%3B--system-level%26nbsp%3B--verbose-logging%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EAny%20ideas%3F%20I've%20also%20tried%20--silent-uninstall%20and%20--quiet-uninstall%2C%20but%20those%20didn't%20work%2C%20either.%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1172337%22%20slang%3D%22en-US%22%3ERe%3A%20Silent%20and%20Unattended%20Uninstall%20for%20Edge%20Insider%20Browser%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1172337%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F545053%22%20target%3D%22_blank%22%3E%40JimmyTheExploder%3C%2FA%3E%26nbsp%3B%3A%3C%2FP%3E%3CP%3Esetup.exe%22%20--uninstall%20--system-level%20--verbose-logging%20--force-uninstall%20it%20worked%20for%20me%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1183324%22%20slang%3D%22en-US%22%3ERe%3A%20Silent%20and%20Unattended%20Uninstall%20for%20Edge%20Insider%20Browser%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1183324%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F315569%22%20target%3D%22_blank%22%3E%40balimidi%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat%20does%20not%20work%20for%20me.%26nbsp%3B%20If%20I%20run%20that%20script%20%3CSTRONG%3E%22C%3A%5CProgram%20Files%20(x86)%5CMicrosoft%5CEdge%20Beta%5CApplication%5C80.0.361.53%5CInstaller%5Csetup.exe%22%20--uninstall%20--system-level%26nbsp%3B%3CSPAN%3E--verbose-logging%3C%2FSPAN%3E%3C%2FSTRONG%3E%2C%20nothing%20happens%20that%20I%20can%20see.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20I%20run%26nbsp%3B%3CSTRONG%3E%22C%3A%5CProgram%20Files%20(x86)%5CMicrosoft%5CEdge%20Beta%5CApplication%5C80.0.361.53%5CInstaller%5Csetup.exe%22%20--uninstall%20--msedge-dev%20--system-level%26nbsp%3B%3CSPAN%3E--verbose-logging%3C%2FSPAN%3E%3C%2FSTRONG%3E%20users%20are%20prompted%20about%20keeping%20data.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThoughts%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20need%20to%20silently%20uninstall%20DEV%20and%20BETA%20versions%20of%20EDGE%20from%20all%20our%20Win10%2064bit%20Enterprise%20machines%20before%20I%20deploy%20Chromium%20Edge%20production.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1270388%22%20slang%3D%22en-US%22%3ERe%3A%20Silent%20and%20Unattended%20Uninstall%20for%20Edge%20Insider%20Browser%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1270388%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F22603%22%20target%3D%22_blank%22%3E%40Ian%20Matthews%3C%2FA%3E%26nbsp%3B%20What%20would%20work%20are%20these%20argument%3A%26nbsp%3B--uninstall%20--msedge-beta%20--system-level%20--force-uninstall%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnyway%3A%20Is%20there%20any%20generic%20uninstall%20command%20to%20uninstall%20any%20version%20of%20Edge%20Beta%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1272195%22%20slang%3D%22en-US%22%3ERe%3A%20Silent%20and%20Unattended%20Uninstall%20for%20Edge%20Insider%20Browser%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1272195%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F355230%22%20target%3D%22_blank%22%3E%40stesch79%3C%2FA%3E%26nbsp%3B%20%26nbsp%3BI%20gave%20up%20and%20uninstalled%20Edge%20Beta%20from%2070%20PC's%20manually...%20desk%20by%20desk...%20not%20cool%20but%20I%20could%20not%20get%20an%20answer%20via%20the%20forum%20and%20I%20failed%20to%20figure%20it%20out%20through%20trial%20and%20error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20all%20the%20same.%26nbsp%3B%20Hopefully%20your%20string%20will%20help%20others%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EStay%20safe!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Senior Member

Hi

 

Looking for a command line to silently and unattended uninstall for the new Microsoft Edge Insider Browser as I need to create an SCCM uninstall command.

 

The 'UninstallString' in the registry is:

 

"C:\Program Files (x86)\Microsoft\Edge Dev\Application\77.0.218.4\Installer\setup.exe" --uninstall --msedge-dev --system-level --verbose-logging

 

But when run it prompts to clear your browsing data

 

Is there a way to make this silent and unattended?

 

When you run setup.exe /? it gives no info on command line options  

 

TIA

 

 

7 Replies

@Simon Kennerley you should be able to achieve silent uninstall by using the --force-uninstall flag. Hope that helps!

@Steve Rugh Hi, I'm also trying to figure out a silent uninstall for Edge (actually Edge Dev in this case).

The --force-uninstall parameter doesn't seem to work. Setup.exe appears to launch as I watch task manager, but then it immediately stops running. I don't get any prompts or error messages.'

Here's the command line I'm using, which with the exception of the suggested --force-uninstall parameter, I've taken straight from the Uninstall key in the registry:

"C:\Program Files (x86)\Microsoft\Edge Dev\Application\81.0.403.1\Installer\setup.exe" --force-uninstall --msedge-dev --system-level --verbose-logging
 
Any ideas? I've also tried --silent-uninstall and --quiet-uninstall, but those didn't work, either.

@JimmyTheExploder :

setup.exe" --uninstall --system-level --verbose-logging --force-uninstall it worked for me

@balimidi 

 

That does not work for me.  If I run that script "C:\Program Files (x86)\Microsoft\Edge Beta\Application\80.0.361.53\Installer\setup.exe" --uninstall --system-level --verbose-logging, nothing happens that I can see. 

 

If I run "C:\Program Files (x86)\Microsoft\Edge Beta\Application\80.0.361.53\Installer\setup.exe" --uninstall --msedge-dev --system-level --verbose-logging users are prompted about keeping data.

 

Thoughts?

 

I need to silently uninstall DEV and BETA versions of EDGE from all our Win10 64bit Enterprise machines before I deploy Chromium Edge production.

 

@Ian Matthews  What would work are these argument: --uninstall --msedge-beta --system-level --force-uninstall

 

Anyway: Is there any generic uninstall command to uninstall any version of Edge Beta? 

@stesch79   I gave up and uninstalled Edge Beta from 70 PC's manually... desk by desk... not cool but I could not get an answer via the forum and I failed to figure it out through trial and error.

 

Thanks all the same.  Hopefully your string will help others :)

 

Stay safe!

@echo off
reg.exe query "HKU\S-1-5-19" 1>nul 2>nul || (echo Run the script as administrator&pause&exit)

set "u_path=%LocalAppData%\Microsoft"
set "s_path=%ProgramFiles(x86)%\Microsoft"
if /i %PROCESSOR_ARCHITECTURE%==x86 (if not defined PROCESSOR_ARCHITEW6432 (
  set "s_path=%ProgramFiles%\Microsoft"
  )
)

for /D %%i in ("%u_path%\Edge SxS\Application\*") do if exist "%%i\installer\setup.exe" (
start "" /w "%%i\installer\setup.exe" --uninstall --msedge-sxs --verbose-logging --force-uninstall --delete-profile
)
for /D %%i in ("%u_path%\Edge Dev\Application\*") do if exist "%%i\installer\setup.exe" (
start "" /w "%%i\installer\setup.exe" --uninstall --msedge-dev --verbose-logging --force-uninstall --delete-profile
)
for /D %%i in ("%u_path%\Edge Beta\Application\*") do if exist "%%i\installer\setup.exe" (
start "" /w "%%i\installer\setup.exe" --uninstall --msedge-beta --verbose-logging --force-uninstall --delete-profile
)
for /D %%i in ("%s_path%\Edge Beta\Application\*") do if exist "%%i\installer\setup.exe" (
start "" /w "%%i\installer\setup.exe" --uninstall --msedge-beta --system-level --verbose-logging --force-uninstall --delete-profile
)
for /D %%i in ("%s_path%\Edge Dev\Application\*") do if exist "%%i\installer\setup.exe" (
start "" /w "%%i\installer\setup.exe" --uninstall --msedge-dev --system-level --verbose-logging --force-uninstall --delete-profile
)
pause