How to: Resolve Microsoft Edge Opening Then Closing Issues


How to Resolve Microsoft Edge Opening Then Closing Issues

Here we can see, “How to Resolve Microsoft Edge Opening Then Closing Issues”

Without a doubt, the Windows Edge browser is a significant upgrade over Microsoft’s previous browser, Internet Explorer. However, Windows Edge is far from ideal and contains a few glitches. Crashing is one of the issues you may encounter when using Microsoft Edge. Microsoft Edge will close itself as soon as you open it. It remains open for some people for a second or two before swiftly closing for others. This issue clearly, stops users from using Microsoft Edge, which can be inconvenient, particularly if Microsoft Edge as your primary browser. However, keep in mind that this mistake only affects Microsoft Edge; other browsers are unaffected. So, if you’re having issues with Microsoft Edge, you can use Mozilla Firefox or Google Chrome instead.

The issue is caused by a Windows bug currently being investigated by Microsoft. As a result, if you’ve just installed a Windows Update, you’re more likely to encounter this issue. The good news is that issue will be addressed in future versions. However, until then, you can resolve the problem by using the solutions listed below.

Take a look at the general troubleshooting. If that doesn’t solve your problem, proceed to the detailed techniques.

Troubleshooting in General

Before digging into the intricacies of remedy approaches, you should go over some general troubleshooting stages. These generic solutions will only work if Edge opens; if it doesn’t open at all, skip forward to Method 1.

Delete Cache

  1. Open the Microsoft Edge browser.
  2. Then pick Settings from the More (3 dots) menu.
  3. Under Clear browsing data, click Choose what to clear.
  4. Cache data only is selected, and Clear is clicked.

Browser Reset

  1. Press R while holding down the Windows key.
  2. Press Enter after typing control.
  3. Go to the Network and Internet tab.
  4. Select Internet Options from the dropdown menu.
  5. Select the Advanced tab.
  6. Press the Reset button.
  7. Start your computer again.

Run Troubleshooter

Go to this page and select Run Troubleshooter. To run the troubleshooter, follow the on-screen instructions.

Method 1: Remove and reinstall the Microsoft Edge browser.

Note: This procedure will delete your Favourites and other Microsoft Edge browser settings. As a result, use this procedure at your own risk. It’s also a good idea to create a restore point if you wish to undo your changes.

For practically everyone, uninstalling and then reinstalling Microsoft Edge resolves the issue. You must either rename or delete a specific Microsoft Edge folder to uninstall the programme. However, because that folder is hidden by default, you must ensure that you can see hidden files and directories. Follow the steps outlined below to accomplish this.

  1. Press E while holding down the Windows key.
  2. Select View.
  3. Select the option “hidden items” from the drop-down menu.

Microsoft Edge is being uninstalled

To uninstall Microsoft Edge, follow the steps below.

  1. Please restart your computer to ensure that no files related to Microsoft Edge are open, as they will obstruct the uninstallation process.
  2. Once, press the Windows key.
  3. In the Start Search box, type cmd.
  4. Select Run as administrator from the context menu of the cmd that shows in the search results.
  5. Press Enter after typing the command listed below.
RD /S /Q %appdata%..LocalPackagesMicrosoft.MicrosoftEdge_8wekyb3d8bbweRoamingState

6. Press Enter after typing the command listed below.

REN C:UsersusernameAppDataLocalPackagesMicrosoft.MicrosoftEdge_8wekyb3d8bbwe edge.old

7. Step 6 should be repeated to ensure that the folder has been renamed. If the folder is renamed, you should receive an error message stating that Windows cannot locate the given file.

Double-check that the folder name and paths are accurate if you’re having problems. (You can manually obtain these by heading to Packages.)

You have two choices if you receive an Access Denied or another error. Rename the folders in Windows Explorer or switch to a different account (administrator) and rename the folder from there. The procedures for both are outlined below.

Explorer in Windows

  1. Start your computer again.
  2. Press R while holding down the Windows key.
  3. Fill in the blanks with the following information and press Enter:
C:Users%username%AppDataLocalPackagesMicrosoft.MicrosoftEdge_8wekyb3d8bbwe

4. Click Delete on the RoamingState folder by right-clicking it.

5. Check to see if the computer requests permission.

6. Press R while holding down the Windows key.

7. Press Enter after typing C:Users%username%AppDataLocalPackagess.

8. Locate and right-click the MicrosoftEdge_8wekyb3d8bbwe folder, then choose Rename. Replace Microsoft.MicrosoftEdge_8wekyb3d8bbwe.OLD and click Enter.

Changing Accounts

To rename the Microsoft Edge folder, you may need to switch to a local account (from your Microsoft Account). This will always allow you to rename the folder, but it will take longer.

  1. Once, press the Windows Key.
  2. Choose your options.
  3. Select Accounts from the drop-down menu.
  4. Instead, select Sign in with a local account.
  5. Enter your current Microsoft account’s password.
  6. Put your login and password in the boxes provided.
  7. Click Next

You’ll now log out of your Microsoft Account and into your local account. After you’ve signed in, follow the instructions above to rename the Microsoft Edge folder. You can use either the Command Prompt or Windows Explorer to accomplish this.

Microsoft Edge is being reinstalled

Microsoft Edge should be uninstalled from your computer using the instructions outlined above. You can now reinstall the browser by following the steps below.

  1. Once, press the Windows key.
  2. In the Start Search box, type Powershell.
  3. Run as administrator by right-clicking on the PowerShell in the search results.
  4. Press Enter after typing cd c:users[username. Replace “[username]” with the username of your computer. Also, if your username contains more than one word, put it in quote marks. users”John boy” are an example.
  5. Press Enter after typing the following:
Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml" -Verbose}

6. Wait for the processing to complete.

7. Once the operation is complete, type exit and hit Enter.

Now that you’ve reinstalled Microsoft Edge, everything should be good.

In the event of a mistake

If you notice any errors, take the following steps:

  1. Press R while holding down the Windows key.
  2. Type %SYSTEMROOT%SystemApps and press Enter
  3. Locate and right-click the MicrosoftEdge_8wekyb3d8bbwe folder, then choose Rename. Press Enter to rename this folder to Microsoft.MicrosoftEdge_8wekyb3d8bbwe.OLD.
  4. Press the Windows key once more.
  5. In the Start Search box, type cmd.
  6. Select Run as administrator from the context menu of the cmd that shows in the search results.
  7. Press Enter after typing sfc /scannow.
  8. Close the Command Prompt after it’s finished.
  9. Once, press the Windows key.
  10. In the Start Search box, type Powershell.
  11. Run as administrator by right-clicking on the PowerShell in the search results.
  12. Press Enter after typing the following:
Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)AppXManifest.xml” -Verbose}

You should be fine to go after it’s finished.

Method 2: Switching Accounts

Because it doesn’t fix the problem, this is more of a workaround than a solution. Switching to a different account will solve the problem. When you sign in using your Microsoft Account, the problem is more likely to occur.

Microsoft Edge should operate properly if you aren’t signed in with your Microsoft Account. Follow the steps below to switch to a local account.

  1. Once, press the Windows Key.
  2. Choose your options.
  3. Select Accounts from the drop-down menu.
  4. Instead, select Sign in with a local account.
  5. Enter your current Microsoft account’s password.
  6. Put your login and password in the boxes provided.
  7. Click Next

You’ll now log out of your Microsoft Account and into your local account.

Conclusion

I hope you found this information helpful. Please fill out the form below if you have any questions or comments.

User Questions:

Why does Microsoft Edge start up and then shut down?

When you try to launch Microsoft Edge, it may open and close in a matter of seconds. This usually indicates that the browser has crashed. As soon as you open the browser, it could be a page with an open script, a faulty Edge file, an extension, or an out-of-date file.

Why is Microsoft Edge constantly closing?

What’s Causing Microsoft Edge to Crashe? Browser addons generating incompatibility with the browser are the most common cause of Microsoft Edge crashing. Corrupted Windows files, a corrupted Microsoft Edge field, or a corrupted browser cache can also cause crashes.

What should I do if Microsoft Edge unexpectedly closes?

If you want to reset new Edge, go to Edge Settings > Reset Settings; if you want to reset old Edge, go to Settings > Apps > Apps and Features, scroll down to Microsoft Edge, highlight it, pick Advanced Options, then Repair, or Reset if that doesn’t work. You may be able to return to the old Edge.

When I open software, does it close right away?

It’s possible that a poor Windows update caused programmes to shut instantly after opening. One of the quickest ways to resolve this issue is to uninstall the faulty update from your computer. Alternatively, see if a clash with third-party software causes the issue.

Is Microsoft Edge not functioning properly?

Ensure you have administrative permissions to your device and that your browser is closed. If your device has numerous users logged in, ensure sure Microsoft Edge is closed for all of them. To access Apps & Features, go to Start > Settings > Apps > Apps & Features. Select Microsoft Edge from the applications list, then Modify.



Source link