How to remove/disable Microsoft Edge on Windows Server 2012 R2

Bojan Zivkovic 461 Reputation points
2023-03-03T10:51:22.39+00:00

Hi, we have a few Windows Server 2012 R2 systems left - their in-place upgrade to Windows Server 2019 is planned but in the meantime I would like to remove/disable Microsoft Edge since newer versions of it can not be installed on Windows Server 2012 R2 and that is detected as security vulnerability. Is there any way of doing so?

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,325 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,102 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Michael Rowlands 30 Reputation points
    2023-03-18T01:38:32.5666667+00:00

    Hi

    I had the same issue. I removed Edge via the command line (your build might be different)

    C:\Program Files (x86)\Microsoft\Edge\Application\109.0.1518.78\Installer\

    setup.exe --uninstall --system-level --force-uninstall

    I found that EdgeWebView was not installed, but if it is for you, it will be here

    C:\Program Files (x86)\Microsoft\EdgeWebView\

    setup.exe --uninstall --msedgewebview --system-level --force-uninstall

    After removing, a restart is required.

    Regards

    Michael

    6 people found this answer helpful.

  2. Yu Zhou-MSFT 13,411 Reputation points Microsoft Vendor
    2023-03-06T02:55:40.71+00:00

    Hi @Bojan Zivkovic

    I think you can remove Edge by clicking Control Panel-> Microsoft Edge-> Uninstall on Windows Server 2012 R2. I've tested and it works on my machine.

    User's image


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Regards,

    Yu Zhou


  3. Bojan Zivkovic 461 Reputation points
    2023-03-06T16:30:32.5633333+00:00

    No, I do not see it in Control Panel - having tried with Get-CIMInstance I had better luck but removing it using Invoke-CIMMethod did not help, still see Edge icon on the desktop and it gets open as it used to before.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.