-SOLVED- How Delete Chromium Edge on 20H2 Offline Image?

Discussion in 'Windows 10' started by ORZpasserAtw, Nov 9, 2020.

  1. ORZpasserAtw

    ORZpasserAtw MDL Novice

    Sep 8, 2020
    18
    4
    0
    In 20H2 offical M$ Images, Chromium Edge is installed by default.

    NTLite: It is paid feature.
    MSMG & WinToolkit & Dism++: Seems no such feature.
    Manually Delete from Mount\Program Files (x86)\Microsoft\: It creates dead link on desktop & start menu
     
  2. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    2,304
    1,533
    90
    https://forums.mydigitallife.net/threads/quick-hack-20h2-enablement-without-edge.82154/#post-1611420

    in the new 20H2 EP kb4562830, they added NoRemove registry value to prevent uninstallation
    so run this before the script
    Code:
    reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge" /v NoRemove /f 2>nul
    reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge" /v NoRemove /f 2>nul
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,315
    340
    Code:
    set MntDir=C:\Mount
    del /f /q "%MntDir%\Windows\System32\config\systemprofile\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\Microsoft Edge*.lnk" 2>nul
    del /f /q "%MntDir%\Windows\System32\Tasks\MicrosoftEdgeUpdate*" 2>nul
    del /f /q "%MntDir%\Users\Public\Desktop\Microsoft Edge*.lnk" 2>nul
    del /f /q "%MntDir%\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Edge*.lnk" 2>nul
    attrib -I +R "%MntDir%\Users\Public\Desktop"
    attrib -I +R "%MntDir%\ProgramData\Microsoft\Windows\Start Menu\Programs"
    rd /s /q "%MntDir%\ProgramData\Microsoft\EdgeUpdate" 2>nul
    rd /s /q "%MntDir%\Program Files\Microsoft\Edge" 2>nul
    rd /s /q "%MntDir%\Program Files\Microsoft\EdgeUpdate" 2>nul
    rd /s /q "%MntDir%\Program Files (x86)\Microsoft\Edge" 2>nul
    rd /s /q "%MntDir%\Program Files (x86)\Microsoft\EdgeUpdate" 2>nul
    or get 19041 ISO and add updates using W10UI, with SkipEdge=1
     
  4. ORZpasserAtw

    ORZpasserAtw MDL Novice

    Sep 8, 2020
    18
    4
    0
    Thx, it works
     
  5. AveYo

    AveYo MDL Expert

    Feb 10, 2009
    1,836
    5,685
    60
    #5 AveYo, Nov 9, 2020
    Last edited: Nov 9, 2020
    19042 ISOs and ESDs are way too bloated, so most definitely or
    We should resist the Microsoft plus Google difecta for as long as we can.
    Old Edge should go away as well:
    Code:
    $AveYo='Paste in a PowerShell (Admin) window to uninstall Edge'
    $edges= (get-appxpackage -allusers *MicrosoftEdge*).PackageFullName
    $ursid= ([wmi]"win32_userAccount.Domain='$env:userdomain',Name='$env:username'").SID
    foreach ($e in $edges) {
      $null = new-item -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\EndOfLife -Name "$ursid\$e" –Force
      remove-appxpackage -allusers $e
    }
    del ([Environment]::GetFolderPath('Desktop')+'\Microsoft Edge.lnk') -Force -ea 0
    del ([Environment]::GetFolderPath('ApplicationData')+'\..\Local\IconCache.db') -Force -ea 0
    rp HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Taskband Favorites* -Force -ea 0
    $AveYo='And to open start menu search in default browser'
    reg delete HKCR\microsoft-edge /f
    reg add HKCR\microsoft-edge /f /ve /d "microsoft-edge:"
    reg add HKCR\microsoft-edge /f /v "URL Protocol"
    reg add HKCR\microsoft-edge\DefaultIcon /f /ve /d "url.dll,5"
    reg add HKCR\microsoft-edge\shell\open\command /f /ve /d "powershell.exe -nop -win 1 -c [diagnostics.process]::start([uri]::unescapedatastring('%1'.split('=',3)[-1]))"
    taskkill /im sihost.exe /f
    $AveYo='Press_Enter_to_uninstall_Edge'
    
    This will also fix start menu web search results to open in default browser (ie if no other installed, or firefox, chrome etc)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. geepnozeex

    geepnozeex MDL Junior Member

    Oct 21, 2014
    69
    61
    0
    #6 geepnozeex, Jun 18, 2022
    Last edited: Jun 18, 2022
    Hi.
    after removing edge chromium in the mounted image,
    the edge legacy is registered in the list of programs for removal.
    how can this be prevented.
    If remove the package edge legacy, then windows updates will not be installed.
     

    Attached Files:

  7. atgpud2003

    atgpud2003 MDL Addicted

    Apr 30, 2015
    520
    85
    30
    Note: IE Browser is End of life and been retired.. IE 11 Browser will stop working. SO you have to use Google Chrome browser, or FireFox Browser, or MS Edge Browser.. !
    ATGPUD2003
     
  8. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,897
    10,733
    240
    ^
    hmm I think you're not correct buddy...
    ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. atgpud2003

    atgpud2003 MDL Addicted

    Apr 30, 2015
    520
    85
    30
    Microsoft had said mostly on Windows 10 (Lastest Edition including LTSC ), Windows Server 2012 thru Windows Server 2016 (All Editions..) SO, Windows Server 2022 is use Microsoft Edge here for now on.. I personally you lad and gent can use your favor browser such Google Chrome, Mozilla Firefox, Microsoft Edge and others..

    ATGPUD2013