Step 2: In the Registry Editor, go to the left pane and navigate to the following location: HKEY_CURRENT_USER\Software\Classes\LocalSettings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe Step 1: Press Win + R keys, then type regedit in the Run box that will open and click on the Ok button. Here is a Permission change that you can make in Registry Editor of your Windows PC to fix Microsoft Edge opens and closes immediately issue. Run the freshly installed Microsoft Edge and see if the issue persists. Step 5: In the PowerShell window, copy and paste the command mentioned below and press the Enter key: Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach Īs soon as the above command is executed successfully, exit the PowerShell window and restart your PC. Here, type powershell, then go to the search results, make a right click on the Windows PowerShell option and select the Run as administrator option. Step 4: Open the Windows Search panel by pressing the Win + S keys. Step 3: In the Packages folder, select the folder named Microsoft.MicrosoftEdge_8wekyb3d8bbwe and delete it. Step 2: A new File Explorer window will open.