[Repair Guide] Microsoft Edge Shuts Down Randomly

[Repair Guide] Microsoft Edge Shuts Down Randomly

/ Andrew Holdeman

Although the Windows Edge browser is undoubtedly an improvement over Microsoft’s previous browser, Internet Explorer, it still has some bugs that need fixing. One of the issues that users may encounter when using Microsoft Edge is crashing. The browser may close immediately upon opening or stay open briefly before quickly closing. This error can be frustrating, especially if Microsoft Edge is your primary browser.

Fortunately, this problem only affects Microsoft Edge, and other browsers such as Mozilla Firefox and Google Chrome are unaffected. The reason for this problem is a bug in Windows, which Windows officials are currently addressing. If you have recently updated your Windows, you will likely experience this problem. However, the good news is that this issue will be resolved in the next update. In the meantime, you can resolve the problem by following the methods outlined below.

Clear Microsoft Edge Browser’s Cache

1. Open Microsoft Edge.

2. Click the three dots icon button, then select Settings.

edge settings

3. Go to the Privacy, search, and Services tab.

4. Click Choose what to clear under Clear browsing data.

choose what to clear in edge

5. Select Cached images and files and click the Clear Now button.

cached images and files

Clear Browsing Data

1. Open Microsoft Edge.

2. Click the three dots icon button, then select Settings.

3. Go to the Privacy, search, and Services tab.

4. Click Choose what to clear under Clear browsing data.

5. Select Browsing history and Cookies and other site data.

remove cookies and browsing history in edge

6. Click the Clear Now button.

Disable Edge Extensions

1. Open the Microsoft Edge browser on your Windows computer.

2. Click on the three-dot menu icon in the upper-right corner of the browser window.

3. Select Extensions from the drop-down menu.

edge extension option

4. Find the browser extensions you want to disable and click on the toggle switch next to it to turn it off.

5. Alternatively, you can also click on the gear icon of the extension you want to disable and then select “Remove” from the options.

Execute System Update Readiness Command

Running the system update readiness command on your Windows PC can resolve the error code issue where Microsoft Edge closes immediately.

1. Go to the Start menu.

2. Open the Command Prompt by searching for it or directly opening it.

3. Type the following command: DISM.exe /Online /Cleanup-image /Scanhealth

dism scanhealth command line

4. Press Enter.

5. Type the following command: DISM.exe /Online /Cleanup-image /Restorehealth

dism restorehealth windows 10

6. Press Enter.

7. Wait for the process to complete and close the Command Prompt tab once the process is finished.

Run SFC Command

By running the sfc command, you can check for and repair any corrupt system files that may be causing the Microsoft Edge crashes error.

1. Open the Command Prompt as an administrator.

2. In the Command Prompt window, type the following command: sfc /scannow

3. Press Enter to run the command.

sfc scannow

4. The system will begin scanning and verifying the integrity of all protected system files. This may take some time, so be patient and wait for the process to complete.

5. The Command Prompt will display the results once the scan is complete. If any corrupt files were found and fixed, you would see a message saying Windows Resource Protection found corrupt files and successfully repaired them.

6. Restart your computer and check if the Microsoft Edge crashes error has been resolved.

Run Powershell Command

1. Open the search bar and type PowerShell.

2. Right-click on PowerShell and select Run as administrator.

3. Copy and paste the following command into PowerShell:

Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

4. Press Enter to execute the command.

5. Wait for the command to complete, then restart your computer.

6. After restarting your computer, check if the Microsoft Edge opening and closing issue has been resolved.

Update Edge Browser

1. Open Microsoft Edge on your computer.

2. Click the three dots in the browser window’s top-right corner.

3. From the drop-down menu, click on Settings.

4. Click About Microsoft Edge on the left sidebar in the Settings menu.

edge manual update

5. Edge will now check for any available updates. If an update is available, it will begin downloading automatically.

6. Once the update is downloaded, click the Restart button to apply the update.

7. After the browser restarts, you can verify that the update was successful by returning to the About Microsoft Edge page. It should now display the current version number.

Repair Microsoft Edge

1. Press Win + I to open the Windows Settings app.

2. Click on Apps > Apps & Features.

3. Locate the Microsoft Edge browser and click on Modify.

4. Click Yes in the following prompt, then the Repair button.

repair microsoft edge

Close Background Apps

1. Press Win + X and select Task Manager.

2. Click on the Processes tab.

microsoft edge end task

3. Scroll down the list of processes, select the background app you want to close, and click the End task button at the window’s bottom-right corner.

Set a Custom Startup Page on Your Microsoft Edge Browser

1. Open Microsoft Edge and click the three dots icon in the top right corner to access the More Options menu.

2. Select Settings from the menu.

3. Click the Start, home, and New tabs and click Open these pages under the When Edges starts section.

add a new page in edge

4. Keep the default homepage or enter a custom URL in the Enter a web address field.

5. Close the Microsoft Edge browser.

6. Restart your PC and open the Microsoft Edge web browser again.

7. The specified homepage should now open automatically.

Check the Read All Permissions on Your Windows PC

1. Press the Windows + R keys to open the Run box, type Regedit, and press Enter to open the Registry Editor.

2. Navigate to the following folder: HKEY_CURRENT_USER\Software\Classes\LocalSettings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe

3. Right-click on the Microsoft.microsoftedge_8wekyb3d8bbwe folder and click the Permissions option.

edge regedit permissions

4. Select the third unknown account named (S-1-15-3-3624051433).

5. Check the All Permissions option and click OK to save the changes. Close all tabs and exit the Registry Editor.

Turn Off or Disable Windows Firewall Settings on Your PC

1. Open the Control Panel and click on Windows Defender Firewall.

2. Click on Turn Windows Firewall on or off feature.

3. Tick on Turn off Windows Firewall (not recommended).

turn off windows firewall option

4. Click on the OK button.

Install the Windows Updates

1. Press Win + I to open Settings and click on Update & Security.

2. Go to Windows update and click on Check for updates.

check updates

3. Download and install the latest version of the Windows operating system.

4. Check if Microsoft Edge keeps crashing problem is solved.

Change the Security Permissions on Your PC

1. Open the File Explorer, go to this path C:\Users\username\AppData\Local, and open the Microsoft Edge folder.

2. Find and open the WER folder, right-click on the WER folder, and select Properties

3. Go to the Security tab and Click on Edit. Select Application Packages user. Check the Read, List folder contents, and Read and Execute options in the Allow section

change permissions for microsoft edge

4. Click Apply. Select OK to save the changes. Close all tabs.

Switch to the Local Account on Your PC

1. Open the Settings app. Click on Accounts > Your Info.

2. Click on Sign in with a local account instead > enter your current Microsoft Account password.

sign in with a local account instead

3. Click Next, then enter the desired username and password for the local account. Click on Next, then Sign out and click Finish.

Reset Edge Browser

This will reset the Edge browser’s default settings, including removing your browsing history, cookies, and settings. However, your bookmarks and saved passwords will not be deleted.

1. Open the Edge browser. Click on the three dots (…) in the window’s top-right corner. Click on Settings from the dropdown menu and scroll down to the Reset settings section.

2. Click on the Restore settings to their default values option, then click the Reset button to confirm.

reset edge settings

Causes of Microsoft Edge Opens Then Closes Immediately Error Issue

The Microsoft Edge Opens then Closes Immediately Error Issue can be caused by various factors, including:

  1. Corrupted system files or application files
  2. Incorrectly configured Windows Firewall settings
  3. Outdated or corrupted device drivers
  4. Malware or virus infection
  5. Conflict with third-party applications
  6. Corrupted user profile
  7. Incompatible Edge extensions
  8. Insufficient system resources, such as RAM or hard disk space.

Troubleshooting and Fixing Microsoft Edge Random Shutdowns – Complete Repair Guide

Whether you’re facing sudden Edge browser shutdowns or encountering frustrating error messages, this repair guide offers a range of solutions. From clearing cache and updating the browser to troubleshooting permissions and disabling extensions, follow these steps to regain stability and enjoy a seamless browsing experience with Microsoft Edge.

Frequently Asked Questions About Microsoft Edge Shutting Down

How Do I Fix Microsoft Edge?

Fortunately, there are several troubleshooting steps that you can take to fix Microsoft Edge. These include clearing the cache and cookies, resetting the browser settings, disabling browser extensions, reinstalling Microsoft Edge, and running the Windows Troubleshooter. To clear the cache and cookies, click on the three dots in the top right corner of Microsoft Edge, followed by Settings.

Can I Make Microsoft Edge My Default Web Browser?

Yes, you can make Microsoft Edge your default web browser. This can be done by accessing the Settings menu within Edge, then selecting the “View Advanced Settings” option under Open With. Once there, select “Microsoft Edge” as your preferred app for opening links and web pages.

Why Does Edge Freeze When I Press Windows Start?

When you press the Windows Start button, your computer may freeze or become unresponsive. This is usually due to one of two things: either an outdated Operating System (OS) or a corrupted user profile. If you have not updated your OS recently, there may be compatibility issues between the version on your device and the current version of Windows.

Andrew Holdeman
Meet the author

Andrew has extensive experience with a wide range of writing platforms and automation systems. He has spent over 6 years creating content and troubleshooting for various companies. He also enjoys spending time with his family and his fiancé, while staying active and healthy.