How do I keep Microsoft edge from reinstalling

Discussion in 'Windows 11' started by jimt-47, Mar 26, 2023.

  1. jimt-47

    jimt-47 MDL Novice

    Dec 3, 2022
    38
    2
    0
    #1 jimt-47, Mar 26, 2023
    Last edited: Mar 26, 2023
    I am running Windows 11 22h2 build 22621.1265 and Microsoft edge keeps reinstalling. It is not listed under task Scheduler. It is not in my Registry and is disabled in services and is not listed on my hard drive

    HELP
     
  2. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,162
    5,977
    150
    from crypticus / abbodi1406
    Code:
    >nul 2>&1 rd "%ProgramFiles%\Microsoft\EdgeCore"
    >nul 2>&1 rd "%ProgramFiles(x86)%\Microsoft\EdgeCore"
    >nul 2>&1 rd "%ProgramFiles%\Microsoft\Edge\Application"
    >nul 2>&1 rd "%ProgramFiles(x86)%\Microsoft\Edge\Application"
    >nul 2>&1 rd "%LocalAppData%\Microsoft\Edge\Application"
    
    >nul 2>&1 md "%ProgramFiles%\Microsoft\EdgeCore"
    >nul 2>&1 md "%ProgramFiles(x86)%\Microsoft\EdgeCore"
    >nul 2>&1 md "%ProgramFiles%\Microsoft\Edge\Application"
    >nul 2>&1 md "%ProgramFiles(x86)%\Microsoft\Edge\Application"
    >nul 2>&1 md "%LocalAppData%\Microsoft\Edge\Application"
    
    >nul 2>&1 icacls "%ProgramFiles%\Microsoft\EdgeCore" /inheritance:r
    >nul 2>&1 icacls "%ProgramFiles(x86)%\Microsoft\EdgeCore" /inheritance:r
    >nul 2>&1 icacls "%ProgramFiles%\Microsoft\Edge\Application" /inheritance:r
    >nul 2>&1 icacls "%ProgramFiles(x86)%\Microsoft\Edge\Application" /inheritance:r
    >nul 2>&1 icacls "%LocalAppData%\Microsoft\Edge\Application" /inheritance:r
    
    >nul 2>&1 reg add "HKLM\SOFTWARE\Microsoft\EdgeUpdate" /f /v DoNotUpdateToEdgeWithChromium /t REG_DWORD /d 1
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jimt-47

    jimt-47 MDL Novice

    Dec 3, 2022
    38
    2
    0
    I tried running that using powershell but all I get is errors
     
  4. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,162
    5,977
    150
    Code:
    cmd /c rd """$($env:ProgramFiles)\Microsoft\EdgeCore""" *>$null
    cmd /c rd """$(${env:ProgramFiles(x86)})\Microsoft\EdgeCore""" *>$null
    cmd /c rd """$($env:ProgramFiles)\Microsoft\Edge\Application""" *>$null
    cmd /c rd """$(${env:ProgramFiles(x86)})\Microsoft\Edge\Application""" *>$null
    cmd /c rd """$($env:LocalAppData)\Microsoft\Edge\Application""" *>$null
    
    cmd /c md """$($env:ProgramFiles)\Microsoft\EdgeCore""" *>$null
    cmd /c md """$(${env:ProgramFiles(x86)})\Microsoft\EdgeCore""" *>$null
    cmd /c md """$($env:ProgramFiles)\Microsoft\Edge\Application""" *>$null
    cmd /c md """$(${env:ProgramFiles(x86)})\Microsoft\Edge\Application""" *>$null
    cmd /c md """$($env:LocalAppData)\Microsoft\Edge\Application""" *>$null
    
    cmd /c icacls """$($env:ProgramFiles)\Microsoft\EdgeCore""" /inheritance:r  *>$null
    cmd /c icacls """$(${env:ProgramFiles(x86)})\Microsoft\EdgeCore""" /inheritance:r *>$null
    cmd /c icacls """$($env:ProgramFiles)\Microsoft\Edge\Application""" /inheritance:r *>$null
    cmd /c icacls """$(${env:ProgramFiles(x86)})\Microsoft\Edge\Application""" /inheritance:r *>$null
    cmd /c icacls """$($env:LocalAppData)\Microsoft\Edge\Application""" /inheritance:r *>$null
    
    cmd /c reg add """HKLM\SOFTWARE\Microsoft\EdgeUpdate""" /f /v DoNotUpdateToEdgeWithChromium /t REG_DWORD /d 1  *>$null
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. xCyBx

    xCyBx MDL Senior Member

    Aug 6, 2018
    356
    718
    10
    Add to hosts file those 3 lines.
    Code:
    127.0.0.1    config.edge.skype.com
    127.0.0.1    msedge.api.cdp.microsoft.com
    127.0.0.1    msedge.sf.dl.delivery.mp.microsoft.com
    
     
  6. jimt-47

    jimt-47 MDL Novice

    Dec 3, 2022
    38
    2
    0
    Okay I did that - not sure if it worked
     
  7. jimt-47

    jimt-47 MDL Novice

    Dec 3, 2022
    38
    2
    0
    I did not get any errors but not sure if it did anything
     
  8. StrangeWorld

    StrangeWorld MDL Novice

    Feb 6, 2022
    17
    3
    0
    Thanks, but I get: Error, because null is not recognised

    Error, because /inheritance:r is not recognised.
     
  9. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    886
    385
    30
    Why the hell Micros**t pushing down the piece of software in users throat who doesn't want it ?

    Glad I never paid for Windows.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. vladnil

    vladnil MDL Senior Member

    Jan 19, 2019
    472
    321
    10
    That's not enough.
    You need to add at least part of the network and under the fascist Microsoft network
    13.64.0.0 - 13.107.255.255
    20.160.0.0 - 20.175.255.255
    20.33.0.0 - 20.128.255.255

    And do not just add the top addresses, but in your country, in your city, and from yourself
    where the packets go and block off the under networks!
    In this way you will partially get rid of the ubiquitous Microsoft!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,162
    5,977
    150
    It's should work ..
    I have another patent
    Create file name of current folders name
    Replace all folders with files
    It will not updating edge anymore
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,162
    5,977
    150
    not work ??
    upload_2023-3-27_16-59-37.png


    upload_2023-3-27_16-59-47.png

    Second method
    upload_2023-3-27_17-2-19.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. MDeaks

    MDeaks MDL Member

    Aug 25, 2017
    154
    74
    10
  14. jimt-47

    jimt-47 MDL Novice

    Dec 3, 2022
    38
    2
    0
    Well It just reinstalled itself again. NOW WHAT?
     
  15. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,162
    5,977
    150
    Best method is create file in the name of the folder
    And block Access to this file
    Never fail me .. ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. scaramonga

    scaramonga MDL Senior Member

    Oct 27, 2012
    426
    262
    10
    Install 10.
     
  17. jimt-47

    jimt-47 MDL Novice

    Dec 3, 2022
    38
    2
    0

    Could you give me the details on how to do that?
     
  18. kaljukass

    kaljukass MDL Guru

    Nov 26, 2012
    3,449
    1,345
    120
    Which link is not working?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...