Set Google as Default Browser and Remove Edge
In this article
To set Google Chrome as your default browser and remove Microsoft Edge from Windows, you first need to install Chrome (if not already installed), then change the default browser setting in Windows, and finally uninstall Edge using a PowerShell command. This guide walks you through each step on Windows 10 or Windows 11. Note that Edge is deeply integrated into Windows, so removing it completely requires a command-line method—there is no standard uninstall button.
What You'll Need
- A Windows 10 or Windows 11 PC with administrator access (you'll need to confirm a UAC prompt).
- Google Chrome installed. If you don't have it, download it from the official Google Chrome website.
- An internet connection for downloading Chrome and running the removal command.
Step-by-Step
Part 1: Install Google Chrome (if needed)
- Open your current browser (Edge, if you haven't changed it) and go to google.com/chrome.
- Click the Download Chrome button and then click Accept and Install.
- Run the downloaded installer file. Follow the prompts—Chrome installs automatically and opens once done.
Part 2: Set Chrome as the Default Browser
- Open Chrome. If you see a prompt asking "Set as default browser?" click Set as default—this takes you to the Windows settings.
- If no prompt appears, click the three-dot menu (⋮) in the top-right corner, then select Settings.
- In the left sidebar, click Default browser.
- Click the button that says Make default (or Set as default). Windows will open the default apps settings page.
- In Windows Settings, under Web browser, click the current browser (likely Edge) and select Google Chrome from the list.
- Close Settings. Chrome is now your default browser for opening links and web pages.
Part 3: Remove Microsoft Edge Completely
Edge is a system component, so the standard "Uninstall" option in Settings > Apps is not available. You must use a PowerShell command. This method is safe and reversible (you can reinstall Edge later if needed).
- Right-click the Start button and select Terminal (Admin) or Windows PowerShell (Admin). Click Yes when the User Account Control prompt appears.
- In the terminal window, type the following command and press Enter:
cd 'C:\Program Files (x86)\Microsoft\Edge\Application'- Then type this command and press Enter:
.\setup.exe --uninstall --system-level --verbose-logging --force-uninstall- Wait for the command to finish. You may see a brief flash or a message—this is normal. The command removes Edge from your system.
- Close the terminal. Restart your PC to complete the removal.
Common Mistakes
- Running PowerShell without admin rights: The removal command fails with an error if you don't open the terminal as administrator. Always right-click and choose the admin option.
- Typing the path incorrectly: The Edge installation path is usually
C:\Program Files (x86)\Microsoft\Edge\Application. If you have a 32-bit system (rare), it might beC:\Program Files\Microsoft\Edge\Application. Check the folder exists before running the command. - Skipping the restart: Edge may still appear in the Start menu or taskbar until you restart. Always restart after running the removal command.
- Assuming Edge is gone from all users: The command removes Edge for the current user only. If you have multiple user accounts on the PC, repeat the steps for each account or use a system-wide removal tool (not recommended).
Tips
- Before removing Edge, make sure you have another browser (Chrome) fully working. Once Edge is gone, you won't have a fallback if Chrome has issues.
- If you ever need Edge back, you can download it from Microsoft's official website. The removal is not permanent.
- After setting Chrome as default, also check that file types like .html and .pdf open in Chrome. Go to Settings > Apps > Default apps, scroll down to the file types, and change them if needed.
- If you use Windows 11, the default browser setting may be more granular—you might need to set Chrome as default for each link type (HTTP, HTTPS, etc.). Windows 11 shows a list of protocols; click each one and select Chrome.
Troubleshooting
If the removal command says "setup.exe not found"
Check the exact path. Open File Explorer and navigate to C:\Program Files (x86)\Microsoft\Edge\Application. If you see a folder like 131.0.2903.63 (version number), the setup.exe is inside that folder. Use the full path with the version number, e.g., cd 'C:\Program Files (x86)\Microsoft\Edge\Application\131.0.2903.63', then run the uninstall command again.
If Edge still appears after restart
Run the removal command again. Sometimes Windows re-registers Edge during the first restart. After the second run, restart again. If it persists, check if there are any Edge updates pending—run Windows Update first, then repeat the removal.
If Chrome doesn't become the default even after setting it
Go to Windows Settings > Apps > Default apps. Scroll down to Web browser and click the current default (Edge). Select Chrome. If Edge is already removed, the list may show "Choose an app"—select Chrome. Also check under Protocols for HTTP and HTTPS—set Chrome for both.
If the PowerShell command is blocked by policy
In rare cases, an organization or security software blocks PowerShell commands. Try using Command Prompt (Admin) instead—right-click Start, select Command Prompt (Admin), and run the same commands. If that fails, you may need to temporarily disable third-party antivirus, but only do so if you trust the source.
Frequently Asked Questions
Is it safe to remove Microsoft Edge?
Yes, Edge is not required for Windows to function. However, some Windows features like PDF viewer in certain apps may rely on Edge components. You can always reinstall Edge later from Microsoft's website.
Will removing Edge break Windows updates?
No. Windows updates do not depend on Edge being installed. The removal command only uninstalls the Edge app; the underlying system components remain intact.
Can I remove Edge without using PowerShell?
No, not completely. The standard uninstall option is hidden. The PowerShell method is the only official way to remove it. Third-party uninstallers may work but are not recommended due to potential system instability.
Does removing Edge also remove the Edge WebView2 runtime?
No. WebView2 is a separate component used by many apps (like Office, widgets). The uninstall command only removes the Edge browser itself. WebView2 stays, which is fine.
Will my bookmarks in Edge be lost?
Yes, if you don't export them before removal. If you have bookmarks you want to keep, export them from Edge (Settings > Profiles > Export bookmarks) and import them into Chrome (Chrome Settings > Bookmarks > Import).
What if I change my mind and want Edge back?
Simply go to microsoft.com/edge and download the installer. It will install Edge as a regular app, and you can set it as default again if you wish.