Microsoft Edge opens and then closes immediately.

Who I am
Philippe Gloaguen

Author and references

Microsoft Edge's features are somewhat similar to popular browsers like Chrome and Firefox, leading many Windows 10 users to switch to it. While Edge is much better than Internet Explorer and offers a great browsing experience, it does have its problems. One of the problems that has long been bothering many users is that Microsoft Edge opens and then closes immediately.

If you're not a regular Microsoft Edge user, this might not be a big deal. But for those with their credentials and history saved in Edge, getting rid of this problem would be a priority. Whatever the situation you are in, here we take a look at the solutions to fix the Microsoft Edge immediate opening and closing problem.

The best solution to eliminate this problem is to use another browser. If you really don't have something important to access in Edge, it's always a good idea to switch to browsers like Chrome, Firefox, Opera, etc. However, if you want to keep using Microsoft Edge, check out the solutions provided below.

Solution 1: reinstall Edge

If none of the above methods worked for you, you may want to reinstall Edge on your PC to fix the Microsoft Edge crashing problem. You would need to first remove Edge from your PC by deleting the associated application data package and then reinstall it using the PowerShell tool.

Follow these steps:

Step 1: Open the Run box by pressing Win + R keys. In the Run box, type %localappdata% and press the button Log in key.

Step 2: A new File Explorer window will open. Here, open the folder called packages.

3 pass: In the Packages folder, select the folder named Microsoft.MicrosoftEdge_8wekyb3d8bbwe and delete it.

4 pass: Open the Windows search panel by pressing the key Win + WILL keys. Here, type shell power, then go to search results, right click Windows PowerShell e seleziona l'opzione Run as administrator option.

5 pass: In the PowerShell window, copy and paste the command given below and press the key Log in key:

Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$ ($ _. InstallLocation) AppXManifest.xml" -Verbose}

As soon as the above command runs successfully, exit the PowerShell window and restart your PC. Run Microsoft Edge as soon as it is installed and see if the problem persists.

Solution 2: Make changes to the registry

Here is a permission change you can make in your Windows PC's Registry Editor to fix Microsoft Edge opening and closing immediately.

Step 1: Press Win + R keys, then type regedit in the Run box that will open and click ok button.

Step 2: In the Registry Editor, go to the left pane and navigate to the following path:


3 pass: Right-click on microsoft.microsoftedge_8wekyb3d8bbwe and select the file Permissions option.

4 pass: In the Permissions window, go to Group or user names section and select the file Unknown account (S-1-15-3-3624051433…) option. Now go to the Permissions section and check the box to allow front option button Total control option. Click on ok to apply the settings and exit the registry editor.

Make sure to restart your PC after applying the above changes, then check if Edge is working fine or not.

Solution 3: Create a new user account

By creating a new user account in Windows 10, you can fix Microsoft Edge crashing for your problem. Many users have reported that this method is really useful. These are the steps:

Step 1: Press Win + me keys on the PC to open the file settings application. Here, click on the file Accounts option.

Step 2: In the new window that will open, go to the left panel and be sure to select the file Family and other users option. Now go to the right pane and click on the call option Add someone else to this PC.

3 pass: Again, a new window will appear. Here, click on the file I don't have the login information for this person option.

4 pass: The Create an account for this PC the window will open. Here, enter a new username of your choice in the file Who will use this PC? section. TO Make it safe , enter the password of your choice, then enter the password again. When finished, press the button The next button.

This will create a new user profile in Windows. Make sure you write down your new user ID and password. Now, log out of your current user account and log in with the newly created account. Now try starting Microsoft Edge and see if it works.

If you don't want to try this method or it didn't work for you, try the solutions below. But make sure you log in again with your original user ID.

Solution 4: Run the SFC scan

SFC Scan is a command line utility that can scan system files on your PC for problems and damage. If problems with system files are found, the utility fixes them automatically. Running the SFC scan will ensure that said file is not preventing Edge from running on your PC. That's how:

Step 1: Opens the command prompt in administrator mode. For this, press the button Win + X together with the keys, then, in the menu that opens, click Command Prompt (Admin) option.

Step 2: In the Command Prompt window, type the command given below and press the key Log in key:

sfc / scannow

Wait for the scan to complete. When done, exit Command Prompt, restart your PC and launch Microsoft Edge.

Solution 5: clean your PC

It is quite possible that Microsoft Edge will open and then close immediately due to all the unwanted junk files on your PC. According to several users, they were able to use Edge without any problems after cleaning the junk files from their PC.

To remove junk files from your PC, you can download and install the PC Cleaner software. One of the most used cleaners is CCleaner. You can also try one of these CCleaner alternatives to clean up your PC.

After you have installed the junk email cleanup software on your PC, go ahead and run a cleanup to remove junk email, temporary files, and any unnecessary files from your PC. You can also try the additional features that come with this software to free your PC from various problems.

After cleaning, restart your PC and then launch Microsoft Edge. The problem is solved?

Solution 6: Make sure your firewall is on

Microsoft Edge may not work properly when the firewall on your Windows 10 PC is turned off or disabled. You will need to make sure that the firewall is active. These are the steps to do it:

Step 1: Press Win + WILL to open the Windows search panel. Here, type firewall, after the result, double click Windows Firewall.

Step 2: The Firewall window will open. Here, check if the Windows Firewall status è In. If not, go to the left panel and select the file Enable or disable Windows Firewall option and turn it on.

If the Firewall was turned off and you needed to enable it, try running Edge after making the changes.

Solution 7: Sign in with a local account

According to many users, they were able to use Microsoft Edge without any problems after logging in with a local account. Here's how to log in with a local account:

Step 1: Press Win + me buttons together to open the Settings app. There, select the file Accounts option.

Step 2: In the new window that opens, go to the left panel and make sure Your information is selected. Now go to the right pane and select the file Instead, log in with a local account option.

3 pass: A new window will open. Here you will need to enter the password for your Microsoft account.

4 pass: Then enter the desired username and password and save the settings.

When done, you can log out of your current user account and then log in with the local account. Now try starting Microsoft Edge and see if it works.

Solution 8: update Windows 10

If Windows 10 on your PC is out of date, Microsoft Edge may open and then close immediately. Make sure Windows on your PC is up to date to avoid this and other problems. These are the steps:

Step 1: Open the Settings app by pressing Win + me keys. Here, select the file Update and security option.

Step 2: In the new window, go to the left panel and select Windows update. In the right pane, click Look for updates option.

Once the update process has started, Windows will check if an update is available. If so, accept the message and follow the onscreen instructions. Your PC will restart when the update is complete. Try starting Edge once the update is complete.

Closing words

We hope we've been able to help you fix Microsoft Edge startup problems on your PC. If so, let us know in the comments which one worked for you. Also let us know if you failed to resolve this issue; We will try to help you.

Audio Video Microsoft Edge opens and then closes immediately.
add a comment of Microsoft Edge opens and then closes immediately.
Comment sent successfully! We will review it in the next few hours.