25H2 - Uninstall Edge with command lines

Discussion in 'Windows 11' started by aedthuio, Oct 11, 2025 at 13:25.

  1. aedthuio

    aedthuio MDL Junior Member

    Aug 14, 2009
    62
    18
    0
    #1 aedthuio, Oct 11, 2025 at 13:25
    Last edited by a moderator: Oct 12, 2025 at 13:17
    Hi guys! In the latest Windows 11, 25H2, is it possible to uninstall Edge manually from the Apps list of Windows. Unfortunately, I have not found yet a command to do that with simple command lines (prompt / powershell).



    NOTE:

    I've also seen that in:
    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge
    
    it's present the following string value:
    Code:
    UninstallString = "C:\Program Files (x86)\Microsoft\Edge\Application\140.0.3485.66\Installer\setup.exe" --uninstall --msedge --system-level --verbose-logging
    
    So, I tried to open as admin the command prompt and I've copied that command, but it doesn't do anything.


    Do you know some tricks? :)

    Thanks!!
     
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,895
    95,494
    340
    That will break some things in OS
    why not just disable its updates and ignore?

    Edge is uninstallable only for EEA regions, and IoT (or LTSC?) editions
     
  3. un49iven

    un49iven MDL Novice

    Jul 30, 2009
    21
    8
    0
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. aedthuio

    aedthuio MDL Junior Member

    Aug 14, 2009
    62
    18
    0
    Thank you guys for you replies, I appreciate them! :)
     
  5. aedthuio

    aedthuio MDL Junior Member

    Aug 14, 2009
    62
    18
    0
    #5 aedthuio, Oct 12, 2025 at 13:03
    Last edited by a moderator: Oct 12, 2025 at 13:15
    (OP)
    Hi mate, in your opinion, these reg keys to disable Edge could give problems?

    Code:
    REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v DisallowRun /t REG_DWORD /d 1 /f >NUL
    REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun /v 1 /t REG_SZ /d msedge.exe /f >NUL
    DEL /F /Q "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk"
    DEL /F /Q "%Public%\Desktop\Microsoft Edge.lnk"
    
     
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,895
    95,494
    340
    I don't know, i never used
     
  7. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,704
    2,949
    120
    Disallowrun are safe
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...