How to Fix Microsoft Edge Opens and Then Closes

Last update: 04/10/2024

How to Fix Microsoft Edge Opens and Then Closes
How to repair Microsoft Edge It Opens And Then It Closes

Microsoft Edge is the default browser of Windows, and many people still prefer to use it because it comes pre-installed on Windows. Recently, many users have encountered the following situation: Microsoft Edge opens and immediately closes, without having to close it.

This prevents the browser from performing its functions and renders it completely useless. In this article, we have compiled some fixes and solutions that users can apply to completely eliminate this problem on their computers.

Make sure you apply the right solutions for you in order to eliminate this problem completely. Also, make sure to check the reasons why this error occurs in the first place to get a better understanding of the nature of this problem.

You can also read: Fix Error The Page Has A Problem In Edge

What causes the “Microsoft Edge keeps opening and closing” issue on Windows?

After studying several troubleshooting guides and collecting solutions, we have come to the conclusion that you should know some of the reasons why this problem occurs in the first place.

  • Cache/Cookies: If your browser's cache or cookies are corrupted, it may be due to a sudden crash. Therefore, we recommend the following solution to completely clear the cache and cookies.
  • Browser issue: The browser itself may be corrupted due to a memory error or missing files. So we recommend trying to fix the browser files first and if that doesn't help, reinstall the browser completely to resolve Edge opening and closing issue.
  • User account error: Another common cause of Edge opening and then closing is a user account configuration error, when the user account being used is not configured correctly.
  • Damaged files: The browser files stored on your computer may be corrupted, causing this problem. The best solution to this problem is to run SFC and DISM scans using the following two methods.
  • Outdated Windows: If Windows is outdated and you haven’t installed any updates for a while, the “Edge keeps opening and closing” issue may occur as Windows requires regular updates to run other applications on your computer.
  • Faulty extensions: If your Microsoft Edge browser has an extension installed that is not working properly or is not configured correctly, you may experience the “Edge keeps opening and closing” issue.

Now that you know the reasons why Microsoft Edge keeps opening and then closing, we can move on to implementing fixes to resolve this issue.

How to Fix Microsoft Edge Opens and Then Closes

Solution 1: Clear cache and temporary files

  • Open the Microsoft Edge browser, type “Edge:/Settings/Data Protection” and then press “Enter” to open Settings.
  • Then click on the following options “Clear browsing data now -> Select what you want to delete.”
  • Check the boxes for “Cookies and other data” and “Saved images and files.”
  • Lastly, Select “Delete Now” and restart your browser.

Solution 2: Restart the browser

  • Press the “Windows + R” keys simultaneously to open the window commands "Run".
  • Enter "Control" in the symbol of the system y press "Enter" to open the control panel.
  • Then Click on “Network and Internet->Internet Options”.
  • Click on the “Extras” tab.
  • On the “Advanced” tab, click the “Reset” button.
  • Lastly, click "OK" and restart the browser to see if the problem is resolved.

Solution 3: Reinstall Edge

  • Press «Windows + X» on the keyboard and select “Apps & features” from the list.
  • Select “Microsoft Edge” from the list of applications and press the “Uninstall” button.
  • Once the uninstallation is complete, press “Windows + R” on your keyboard to launch the Start window.
  • Then Enter the following command at the command line: C:User%UserName%AppDataLocalPackagesMicrosoft.MicrosoftEdge_8wekyb3d8bbwe
  • Delete the “RoamingState” folder there.
  • Press "Windows + R" again to open the command line, enter the following address and press «Enter»: C:\User\%Username\%AppData\LocalPackages
  • Now find the folder “MicrosoftEdge_8wekyb3d8bbwe” and delete it.
  • Press «Windows + R» and type “PowerShell”.
  • Press “Shift + Ctrl + Enter” to run it with administrator rights.
  • Then copy the following command, stick it on the window of PowerShell and press "Enter" to run it: Get-AppXPackage -AllUsers | Foreach {Add-AppXPackage -DisableDevelopmentMode -Register «$($_.InstallLocation)-AppXManifest.xml»}
  • After successfully executing the command, Try to open the Microsoft Edge browser that you just installed and see if the problem persists.

Solution 4: Change the account

  • Press the Windows key on the keyboard or click the start icon.
  • Next, click on the user account screen and Select “Change account settings.”
  • Next, click on the “Sign in with local account” option.
  • Then, enter your access information and click “Next”.
  • Restart your computer and check if your Microsoft Edge browser is working.
  • If this method does not work, go to the official Microsoft website and create a new account.
  • Next, sign in to the device with the newly created account and check if the issue with opening and closing Microsoft Edge persists.

Solution 5: Restore files

  • Press the “Windows” + “R” keys on your keyboard to open the start window.
  • Type “cmd” in the start window and press «Shift» + «Ctrl» + «Enter» to obtain administrator privileges.
  • Now Type the following command in the command prompt and press «Enter» to run it: sfc /scannow
  • After running this command, Windows will find invalid files and will automatically correct them.
  • Lastly, Open the Microsoft Edge browser and check if the “Microsoft Edge keeps opening and closing” issue is resolved.

Solution 6: Run DISM scan

  • Press «Windows» + «R» on the keyboard to launch the command line.
  • Type "cmd" in the output window and press «Shift» + «Ctrl» + «Enter» to obtain administrator privileges.
  • After running the above command, enter the following command and press “Enter”: DISM.exe /Online /Cleanup-image /Scanhealth
  • After the scan is finished, Check if the problem has been resolved from “Microsoft Edge keeps opening and closing.”

Solution 7: Update Windows

  • For that, Press the “Windows + I” keys from your keyboard to open settings.
  • Next, in Settings, click on the “Update & Security” option.
  • then Click on “Check for updates” to request a check for available updates.
  • If an update is available, click “Download” to automatically install it on your computer.

Solution 8: Modify the registry

  • Press “Windows + R” to open a command prompt, type «Regedit» and press "Enter".
  • Next, browse the folder below until you find a folder associated with Microsoft Edge that looks like the “microsoftedge_8wekyb3d8bbwekey” folder. (It could be something else.)
    • Computer\HKEY_CURRENT_USER\SOFTWARE\Classes\LocalSettings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Packages
  • Once found, right click and select “Permissions”.
  • Next, select “unknown account (S-1-15-3624051433…)” under Usernames.
  • Now Go to the “Permissions” column and check “Full Control.”
  • Finally, save all changes by clicking the “Apply” button.

Now launch Edge and check if it closes immediately after opening it.

  6 Best Programs to Make Power Point for Free and in Spanish

Solution 9: Check your firewall

  • Press «Windows + R» on your keyboard to open the start window.
  • Enter «Firewall.cpl» and Click on “Turn Windows Firewall on or off” In the left side.
  • Then Make sure you enable “Turn on Windows Firewall” for both configurations.
  • Then click "OK" and close the window.

Check if the “Microsoft Edge keeps opening and closing” issue is resolved.

Solution 10: Use a custom home page

  • To do this, launch Microsoft Edge by clicking the icon on the taskbar.
  • Then Click on the 3 dots in the top corner right of the screen.
  • Next, select “Settings” from the menu.
  • Now click on the “On startup” option on the left and select “Open specific page(s) -> Add new page”.
  • Finally, enter the address of the search engine you want to open when you start the browser.
  • Click "OK" and save the changes.
  • Restart your Microsoft Edge browser and check if the “Microsoft Edge keeps opening and closing” issue persists.

Solution 11: Remove or disable extensions

  • Launch the Microsoft Edge browser by clicking its icon on the taskbar.
  • Click on the “three dots” in the top right corner and select “Extensions” from the list.
  • Disable the sliders for all extensions in the list by turning them off.
  • Check if disabling extensions the problem is solved.

Solution 12: Troubleshooting

  • Press «Windows + I» to open Windows settings.
  • Next, go through the “Update & Security->Error Recovery->Advanced Error Recovery” options.
  • Then click on “Windows Store Apps” and select “Run the troubleshooter.”
  • Once the troubleshooter is finished, start Edge and check if the “Microsoft Edge keeps opening and closing” issue persists.

Solution 13: Improve connectivity

  • Open a browser other than Edge and hover over the search bar.
  • Type something in the search bar and Press Enter to check it.
  • If you don't see results or don't get results for a while, you may have a slow connection or packet loss.
  • Move the device closer to the modem or router to improve the connection strength.

Solution 14: Restart the NVIDIA Control Panel

Users report that with There Microsoft Edge stops working correctly with Control Panel Nvidia, and every time they try to open it, Microsoft Edge opens and then closes.

  How to Uninstall Apache from Ubuntu: 2 Options

The best solution to this problem is to make sure that Microsoft Edge is allowed to use the built-in graphics card in the Nvidia Control Panel. To do this:

  • Right click anywhere on your computer and Select “Nvidia Control Panel.”
  • Select “Manage 3D settings” on the left.
  • Next, select the “Programs” tab on the right and search for Microsoft Edge.
  • Once you find the application, make sure it has permission to use your computer's integrated graphics card.
  • After adjusting this setting, save the changes and check if the issue is resolved.

Solution 15: Uninstall Trusteer Raptor

  • Press «Windows + R» On your keyboard, type “appwiz.cpl” in the command line and press Enter.
  • In the “Programs and Features” window, look for Trusteer Raptor in the list.
  • Next, right-click on the “Trusteer Raptor” entry in the list.
  • Select the “Uninstall” button and follow the on-screen instructions to completely remove the program from your computer.
  • Then run Microsoft Edge and check if the problem persists.

Solution 16: Create a new administrator account

  • Press «Windows + I» on your keyboard to open settings.
  • Next, click on the “Accounts” option, Select the “Family & other users” button in the left panel and select “Add someone to this PC.”
  • Next, click on “I don’t have a login for this person” and Select the option “Add a user without a Microsoft account” in the next page.
  • Next, set the PIN, password, profile picture, etc. and select “Next”.
  • Now that the new local account has been created, let's make it an administrator account.
  • For that, Return to the “Family & other users” option and select the name of the account owner or the account you just created.
  • Click here on “Change account type” and select "Administrator" in Account Type.
  • Lastly, click "OK" and log in with this new administrative account.
  • Run Edge to see if the “Microsoft Edge keeps opening and closing” issue is resolved.

If you still can't resolve the issue, please contact us so we can fix it for you.

  The 7 Best Programs for Transcribing Podcast Audio.

Conclusion

So, these are simple tips and sophisticated instructions to get rid of this Microsoft Edge opens and then closes right after opening Windows 10 PC error code problem with your Windows PC forever.

We hope these tips and instructions are helpful. help you get rid of this error Microsoft Edge opens and then closes right after opening.

If you are facing or stuck in this type of Microsoft Edge opens and then closes immediately after opening Windows PC error problem or any type of issue then comment the error here in the comment section below.

You can also read: How to Reinstall Microsoft Edge on Windows 10

Leave a comment