TechBuzzPro

Fix Please Close All Microsoft Edge Windows and Try Again

· 7 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To fix the "please close all Microsoft Edge windows and try again" error, you must force-close all active and background Edge processes using the Windows Task Manager. This error typically occurs during a browser update or a system repair when a hidden process is still running in the background, preventing the installer from modifying the application files. To resolve this immediately, press Ctrl + Shift + Esc, find all instances of Microsoft Edge in the Processes tab, right-click them, and select End Task.

This issue is common because modern browsers often use a feature called "Startup Boost" or background extensions that keep the browser partially active even after you have clicked the X button on the main window. When the system attempts to update the browser or run a diagnostic tool, it detects these active processes and triggers this warning to prevent data corruption. By manually terminating these processes, you clear the path for the update or repair to complete successfully.

What You'll Need

  • A computer running Windows 10 or Windows 11.
  • Administrative privileges on the PC to end system processes.
  • A keyboard for accessing shortcuts.

Step-by-Step

  1. Close all visible Edge windows: Before moving to system tools, manually close every open Microsoft Edge window by clicking the X in the top-right corner. While this is usually not enough to fix the error, it is the first step in ensuring no unsaved work is lost.
  2. Open the Task Manager: Press the keyboard shortcut Ctrl + Shift + Esc. This opens the Task Manager directly. Alternatively, you can right-click the Taskbar and select Task Manager from the menu.
  3. Switch to the Processes tab: If your Task Manager is in the simplified view (a small window with just a list of apps), click "More details" at the bottom to expand the full view. Ensure you are on the Processes tab.
  4. Locate Microsoft Edge processes: Scroll through the list of apps. Look for "Microsoft Edge" under the Apps section. Note that you may see multiple entries for Edge because the browser creates a separate process for every open tab and extension to improve stability.
  5. End all Edge tasks: Right-click on the first Microsoft Edge entry and select End task. Repeat this for every single instance of Microsoft Edge listed in the window until no Edge icons remain in the list. Note that labels may differ slightly depending on your version of Windows or region.
  6. Check the Background Processes section: Scroll further down the Task Manager list to the "Background processes" section. Sometimes, Edge components like the "Microsoft Edge Update" or "WebView2" processes remain active here. If you see any process with the Edge icon or name, right-click it and select End task.
  7. Retry the action: Now that all processes are terminated, return to the update window or the installer that gave you the error. Click the "Try Again" button or restart the installation process. It should now proceed without the error message.
  8. Disable Startup Boost (Preventative Step): To prevent this from happening in the future, open Microsoft Edge, click the three dots (...) in the top-right corner, go to Settings > System and performance. Locate the "Startup boost" toggle and turn it off. This prevents Edge from running hidden processes in the background when the browser is closed.

Common Mistakes

One of the most frequent mistakes users make is assuming that clicking the X button on the browser window is sufficient. Because of the way Chromium-based browsers function, the user interface may disappear while the core engine continues to run in the background to facilitate faster restarts. Simply closing the window does not terminate the process.

Another common error is ending only one instance of Edge in the Task Manager. Because Edge uses a multi-process architecture, there are often ten or twenty different processes running simultaneously. If you leave even one "Helper" or "GPU process" active, the system will still detect that Edge is "open," and the error message will persist.

Some users attempt to restart the computer to solve the problem. While a restart generally works, it is often unnecessary and time-consuming. Furthermore, if Edge is set to launch automatically upon startup, the browser might open again immediately after the reboot, bringing the error back if an update is pending.

Tips

If you frequently encounter this issue during updates, check if you have third-party extensions that are designed to run in the background (such as specialized ad-blockers or productivity tools). These extensions can sometimes hang and refuse to close even when the browser is shut down.

For users who prefer keyboard shortcuts, you can use the "Alt + F4" command to close the active window quickly, but remember that this still does not kill the background processes. The Task Manager remains the only definitive way to ensure the browser is completely dormant.

Keep your Windows OS updated. Sometimes this error is caused by a conflict between the Windows Update service and the Microsoft Edge update mechanism. Ensuring that your entire system is current can reduce the frequency of these process conflicts.

Troubleshooting

If you have ended all tasks in the Task Manager and the error still appears, try the following steps in order:

Check for "Zombie" Processes: Occasionally, a process becomes unresponsive and cannot be killed via the standard "End Task" command. In this case, open the Command Prompt as an administrator (search for "cmd" in the Start menu, right-click it, and select Run as administrator). Type the command taskkill /F /IM msedge.exe /T and press Enter. This command forcefully terminates all processes associated with the Edge executable and any child processes they started.

Boot in Safe Mode: If the error persists, a third-party application might be restarting Edge automatically. Restart your computer in Safe Mode with Networking. In this environment, only essential drivers and services are loaded. Attempt to run the update or repair tool here. If it works, a background app in your normal boot sequence is likely the culprit.

Run the Edge Repair Tool: If the browser refuses to update or close, you can use the built-in Windows repair feature. Go to Settings > Apps > Installed Apps. Find Microsoft Edge in the list, click the three dots next to it, select Modify, and then click Repair. This will download a fresh copy of the browser and reinstall it without deleting your bookmarks or history.

Check for System File Corruption: If no amount of process killing works, there may be a corruption in the system files. Open the Command Prompt as an administrator and type sfc /scannow. This will scan all protected system files and replace corrupted versions with correct Microsoft versions. This may take several minutes to complete.

Frequently Asked Questions

Does closing Edge delete my open tabs?

No, closing Edge or ending the process in Task Manager does not delete your bookmarks or history. If you have "Continue where you left off" enabled in Settings > Start, home, and new tabs, your tabs will restore when you reopen the browser.

Why does Edge keep running in the background?

This is primarily due to a feature called Startup Boost, which pre-loads a portion of the browser into your RAM to make it open faster. Some extensions also request permission to run in the background to send notifications.

Is it safe to use the taskkill command?

Yes, using taskkill /F /IM msedge.exe /T is a standard administrative action. It simply tells Windows to stop the program immediately. The only risk is losing unsaved data in a web form you were currently filling out.

Can this error happen on a Mac?

While this specific wording is common on Windows, similar issues occur on macOS. On a Mac, you would use the "Force Quit" menu (Command + Option + Esc) to terminate the browser instead of the Task Manager.

Will disabling Startup Boost slow down my browser?

You may notice a slight increase in the time it takes for the browser to launch from a cold start (usually a fraction of a second), but it will not affect the browsing speed or performance once the browser is open.

What if the Repair option is greyed out?

If the Modify/Repair option is unavailable, it usually means you do not have administrative rights on the computer. You will need to log in as an administrator or contact your system provider to perform the repair.