(script) Internet Explorer

Discussion in 'Windows 10' started by mdl_anon, Jun 5, 2023.

  1. mdl_anon

    mdl_anon MDL Novice

    Mar 18, 2015
    10
    1
    0
    I need. to continue using IE on win10 and lately no matter what I try to do MS edge continues to start every time I try to open IE or IE in admin mode.

    Is there a solution to just disable edge for good and continue using IE in some kind of a script or simple process?

    I have tried ten different things and sometimes some work but sometimes none...

    I am using a particular app that needs IE and I am trying to stop reinstalling the OS.
     
  2. haris_mdlf69

    haris_mdlf69 MDL Addicted

    Oct 23, 2018
    571
    940
    30
  3. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,922
    150

    The first thing you should do after a fresh install is to remove EDGE (and Defender) the second is to not install a giant spyware like Chrome.

    The third one is to get a decent browser for the modern WEB like Vivaldi, then, when needed,use IE6 standalone or via the IEtab extension inside Vivaldi.
     
  4. mdl_anon

    mdl_anon MDL Novice

    Mar 18, 2015
    10
    1
    0
    How do I uninstall edge and get ie6 standalone
     
  5. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,922
    150
    Search for aveyo's uninstaller script here on the forum

    I think you can use SxSv1 or alike to grab the packages from any ISO/LiveOS before February (I mean the same build 1904x or whatever are you using), remove any fake IE package that may be present on your installation, then simply add back the older and functional using dism.
     
  6. mdl_anon

    mdl_anon MDL Novice

    Mar 18, 2015
    10
    1
    0
  7. #8 Deleted member 190847, Jun 10, 2023
    Last edited by a moderator: Jun 10, 2023
    Create file UninstallEdge.cmd with content below and run it.

    Note: It may not work if you have latest (updated) version of Microsoft Edge, because Microsoft recently blocked uninstallation options.

    Code:
    @echo off
    TITLE Microsoft Edge Uninstaller
    CLS
    
    REM Check admin rights
    fsutil dirty query %systemdrive% >nul 2>&1
    if ERRORLEVEL 1 (
     ECHO.
     ECHO =============================================
     ECHO The script needs Administrator permissions!
     ECHO.
     ECHO Please run it as the Administrator.
     ECHO =============================================
     ECHO.
     PAUSE >NUL
     goto end
    )
    
    set "PF=%ProgramFiles%"
    if not "%ProgramFiles(x86)%"=="" set "PF=%ProgramFiles(x86)%"
    set EdgeSetup=
    
    for /f "delims=" %%i in ('dir /b /s /a-d "%PF%\Microsoft\Edge\Application\setup.exe" 2^>nul') do (set "EdgeSetup=%%i")
    
    if not "%EdgeSetup%"=="" goto edgeFound
      ECHO.
      ECHO ================================================================
      ECHO Microsoft Edge Setup program not found!
      ECHO.
      ECHO It looks like Microsoft Edge is not installed.
      ECHO ================================================================
      ECHO.
      PAUSE >NUL
      goto end
    :edgeFound
    
    ECHO.
    ECHO Uninstalling Microsoft Edge, please wait...
    start /w "" "%EdgeSetup%" --uninstall --system-level --force-uninstall
    del /q /f "%USERPROFILE%\Desktop\Microsoft Edge.lnk" >nul 2>&1
    del /q /f "%USERPROFILE%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\Microsoft Edge.lnk" >nul 2>&1
    del /q /f "%USERPROFILE%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Tombstones\Microsoft Edge.lnk" >nul 2>&1
    del /q /f "%windir%\System32\config\systemprofile\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\Microsoft Edge.lnk" >nul 2>&1
    
    
    ECHO.
    ECHO.
    ECHO All done!
    ECHO.
    
    ECHO.
    ECHO Press any key to end the script.
    ECHO.
    
    PAUSE >NUL
    
    :end
     
  8. toto221

    toto221 MDL Member

    Dec 8, 2009
    155
    233
    10
    With the latest KB 5031356, I can't open IE anymore. Disabling IEToEdge doesn't work. Any suggestions? I don't want to uninstall EDGE. I don't know if it is a configuration problem or if some OS component was damaged. Thanks!
     
  9. KillRost

    KillRost MDL Novice

    Mar 11, 2012
    1
    2
    0
    #10 KillRost, Oct 12, 2023
    Last edited by a moderator: Oct 12, 2023
    Code:
    Set IE=CreateObject("InternetExplorer.Application")
    Set Shell=CreateObject("WScript.Shell")
    IE.Visible=1
    Shell.AppActivate IE
    If WScript.Arguments.Count>0 Then
    IE.Navigate WScript.Arguments(0)
    Else IE.GoHome()
    End If
    Shell.Run"taskkill /F /IM ielowutil.exe /T",0,False
    
    Save this script as VBS (like "Internet Explorer.vbs") and thats it. Run it and enjoy. Not my work, I dont remember where I found it. So credit goes to unknown person.
     
  10. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,349
    2,521
    120
    or use internet explorer 11 mode on edge
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,861
    1,521
    60
    I love this answer so simple yet so true...;)
     
  12. toto221

    toto221 MDL Member

    Dec 8, 2009
    155
    233
    10
    How do I permanently enable the mode for a page? I have to enable it every 30 days. Thanks.