FIX: Microsoft Edge closes immediately after opening

Milan Stanojevic
by Milan Stanojevic
Deputy Editor
2 Comments
Download PDF
Affiliate Disclosure

  • Users have reported that their Edge browser closes after launch.
  • If you too have experienced this issue, continue reading the step-by-step guide from below.
  • For more guides on this topic, head over to our Microsoft Edge Issues Hub.
  • If you want to read more about the browser itself, visit our Microsoft Edge page.
Microsoft Edge closes immediately after opening

Microsoft brought many changes with Windows 10, and one of the biggest changes is a new browser called Edge. Even though Microsoft Edge is a great browser, some users reported that Microsoft Edge closes immediately after opening.

Here are some more examples of this problem:

  • Microsoft Edge opens and closes immediately -Even though crashes are usually followed by some error message, it’s possible that your browser closes immediately after opening, without any warning or error message.
  • Microsoft Edge keeps crashing – When Microsoft Edge crashes, the system will likely notify you about that. Use that error message to determine what to do next, or apply the solutions from this article one by one.
  • Microsoft Edge keeps freezing – The freezing problem will actually keep your browser running, but you basically won’t be able to do anything. Sometimes, you might not be even able to close it.
  • Microsoft Edge crashes after opening a tab – Even though we’re talking about the situation where Edge closes immediately after opening, you can apply the same solutions if the browser crashes after opening a tab.

How do I fix Edge if it closes immediately after launch?

Table of contents:

  1. Consider using a  different browser
  2. Set a custom start page
  3. Turn on Windows Firewall
  4. Delete your browsing history
  5. Edit the registry
  6. Create a new user account
  7. Use PowerShell
  8. Switch to a local account
  9. Change the security permissions
  10. Use CCleaner
  11. Reset the Nvidia Optimus Control Panel
  12. Install the latest updates

1. Consider using a different browser

Opera browser

Before committing to the multitude of solutions mentioned below, you should ask yourself whether or not it would be easier to just simply switch to a different browser.

If you love Microsoft Edge because of its Chromium-based build, then we will recommend you try yet another Chromium-based browser: Opera.

Opera is extremely sleek and modern and packs an entire arsenal of tools under its belt that make it an ideal browser, such as an add-blocker, or a VPN.

However, all those tools do not make the browser slow at all. In fact, you’ll be amazed by just how low of an impact it has, even with multiple tabs opened at once.

Opera

Opera

Enjoy lightning-fast browsing with none of the system overload with the help of this amazing Chromium-based browser.
Get it free Visit Website

2. Set a custom start page

  1. Start Microsoft Edge.
  2. Click the Menu button in the top right corner and choose Settings.
    microsoft-edge-closes-immediately-opening-settings
  3. Under Open with section select A specific page or pages, select Custom from the menu and enter the web address of your new start page.
    microsoft-edge-closes-immediately-opening-custom
  4. After you do that, close Edge, turn on your Internet connection and check if the problem is resolved.

According to users, you can fix problems with Microsoft Edge simply by changing the start page. To do that, you might have to disable your Internet connection first, or unplug your Ethernet cable.


3. Turn on Windows Firewall

  1. Press Windows Key + S and enter firewall.
  2. Select Windows Firewall from the list of results.
    microsoft-edge-closes-immediately-opening-firewall
  3. When Windows Firewall window opens, click on Turn Windows Firewall on or off.
    microsoft-edge-closes-immediately-opening-tunr-off
  4. Select Turn On Windows Firewall for both Private network settings and Public network settings.
    microsoft-edge-closes-immediately-opening-turn-on
  5. Click OK to save changes.

Using a firewall is important for your online safety, especially if you want to prevent unauthorized software from accessing the Internet.

Speaking of firewall, users claim that Windows Firewall might be the cause for this problem, and in order to fix it, you need to turn the Windows Firewall back on.


4. Delete your browsing history

  1. Click More button in the top right corner and choose Settings from the menu.
  2. Now go to the Clear browsing data section and click the Choose what to clear button.
    microsoft-edge-closes-immediately-opening-clear
  3. Select Browsing history, Cookies and saved website data, Cached data and files and click the Clear button.
    microsoft-edge-closes-immediately-opening-clear-2
  4. After you clear your browsing history and cache, restart Edge and check if the issue is resolved.

Few users claim that you can fix the problem with Microsoft Edge simply by deleting your browser history.


5. Edit the registry

  1. Press Windows Key + R and enter regedit.
    microsoft-edge-closes-immediately-opening-regedit
  2. When Registry Editor opens, in the left pane navigate to this key:
    • HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe
  3. Right-click this key and choose Permissions.
    microsoft-edge-closes-immediately-opening-permissions
  4. In Group or user names select Account Unknown (S-1-15-3-3624051433…) and check Full Control in Allow column.
    microsoft-edge-closes-immediately-opening-full-control
  5. Click Apply and OK to save changes.

Changing the registry is somewhat an advanced procedure, and sometimes editing the registry can cause certain issues with your operating system, therefore be extra cautions while editing registry.

You might even want to create a backup of your registry so you can easily restore it in case anything goes wrong.


6. Create a new user account

  1. Start the Settings app and go to Accounts section.
  2. Go to Family & other users tab and click on Add someone else to this PC.
    microsoft-edge-closes-immediately-opening-add
  3. Click on I don’t have this person’s sign-in information.
    microsoft-edge-closes-immediately-opening-no-sign-in
  4. Click Add a user without a Microsoft account.
    microsoft-edge-closes-immediately-opening-no-ms
  5. Enter the username (and password) of the new account and click Next button.
    microsoft-edge-closes-immediately-opening-next

After creating a new user account, switch to it. If Microsoft Edge is working without any problems on the new account, you might want move your personal files to this new account and use it as your main account.


7. Use PowerShell

According to users, you can fix this problem by removing Microsoft Edge folder from your AppData folder, so let’s see how to do that.

  1. Press Windows Key + R and enter %localappdata%. Press Enter or click OK.
    microsoft-edge-closes-immediately-opening-localappdata
  2. Go to Packages folder and delete the Microsoft.MicrosoftEdge_8wekyb3d8bbwe folder from it.
    microsoft-edge-closes-immediately-opening-microsoftedge
  3. Now start the PowerShell as administrator.
  4. To do that, press Windows Key + S, enter powershell, right click PowerShell from the list of results and select Run as administrator.
    microsoft-edge-closes-immediately-opening-run-as-admin
  5. When PowerShell opens, enter this line and press Enter:
    • Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register
      "$($_.InstallLocation)AppXManifest.xml" -Verbose}

      microsoft-edge-closes-immediately-opening-powershell
  6. Close PowerShell and restart your PC.

After your PC restarts, check if the issue is resolved. We have to mention that PowerShell is a powerful tool that can cause stability issues if you don’t use it properly, therefore you might want to create a System Restore point before trying out this solution.


8.  Switch to a local account

  1. Open the Settings app and go to Accounts section.
  2. Go to Your email and accounts tab and click Sign in with a local account instead.
    microsoft-edge-closes-immediately-opening-local-instead
  3. Enter your current Microsoft account password and click Next.
  4. Now Enter your desired user name and password and click Next.
  5. After you’re done, click Sign out and finish button.

Users claim that you can fix problems with Microsoft Edge simply by using a local Windows 10 account.

Using Microsoft account for logging in has certain advantages, such as syncing your passwords and settings, but in order to fix this problem, you might have to switch to local account.

After switching to local account Microsoft Edge should start working again without any problems. Keep in mind that you can easily switch back to Microsoft account if you wish.


9. Change the security permissions

  1. Open AppDataLocal folder.
    • For more instructions on how to do this check Step 1 from Solution 6.
  2. Go to the MicrosoftWindows folder.
    1. Locate WER folder, right-click it, and choose Properties.
      microsoft-edge-closes-immediately-opening-properties
  3. Go to Security tab and click the Edit button.
  4. Select APPLICATION PACKAGES user and check Read & execute, List folder contents and Read options in Allow column.
  5. Click Apply and OK to save changes.

According to users, Microsoft Edge closes because WER folder doesn’t have the necessary permissions.


10. Use CCleaner

Few users reported that this problem can be caused by cached temp files, and to fix this problem you need to remove those files. One of the fastest ways to do so is to download and run CCleaner, so you might want to try that.

Users reported that after using the CCleaner and removing the temp files the issue with Microsoft Edge was resolved.

Of course, CCleaner isn’t great for fixing the occasional Edge issue, it is a great tool to have in case of any Windows 10 errors.

It takes care of this by replacing and fixing missing or registries and DLLs, making your system react as if it were brand-new.

CCleaner

CCleaner

Fix any corrupted or missing registries and DLLs, free up used disk space, and more with the help of teh world's best PC cleaner.
Free trial Visit website

11. Reset the Nvidia Optimus Control Panel

Users reported that this issue can be caused by your Nvidia Optimus Control Panel settings.

It seems that Edge doesn’t work well with dedicated Nvidia graphic cards, therefore you need to use Optimus Control Center and set Edge to use your integrated graphic card instead.

Alternatively, you can just reset the Optimus Control Panel settings to default.


12. Install the latest updates

Sometimes you can fix problems with many applications simply by installing the latest Windows 10 updates. Many of these updates address both hardware and software issues, so be sure to use Windows Update and download the latest updates regularly.

If Microsoft Edge closes immediately after opening on your PC, that can be a major problem, but hopefully, you managed to fix it after using one of our solutions.


Editor’s Note: This post was originally published in June 2018 and has been since revamped and updated in July 2020 for freshness, accuracy, and comprehensiveness.

  • Thanks for this article. I was having problem with my Edge where it would open and close immediately after. Tried first three steps but did not work. Finally the fourth one worked. Edge now opens and stays open until I close it. 😀