How to Launch Microsoft Edge via Command Prompt in Windows 10/11

If you’re looking to open the Microsoft Edge browser using the Command Prompt on Windows 11 or Windows 10, you’re in the right place. This guide will walk you through the steps and introduce several useful command-line switches that enhance your browsing experience.


Step-by-Step: Opening Microsoft Edge through Command Prompt

To successfully launch Microsoft Edge using the Command Prompt, follow these straightforward steps:

  1. Right-click on the Start button.
  2. Select Windows Terminal (Admin) or Command Prompt (Administrator) from the menu.
  3. In the console window, type the command: start msedge and press Enter.

Executing these commands will promptly open Microsoft Edge.


Launching Edge in InPrivate Browsing Mode

To start Microsoft Edge in InPrivate mode, which is ideal for private browsing sessions, simply use the following command:

start msedge --inprivate

This command ensures your browsing session does not save history or cookies, providing an anonymous surfing experience.


Open a Specific Website using Edge

If you want to access a particular webpage directly from the Command Prompt, you can specify the URL with this simple command:

start msedge www.example.com

Replace "www.example.com" with your desired website to navigate directly there.


Restoring Your Last Browsing Session in Edge

Should you accidentally close Microsoft Edge and wish to restore your previous tabs, the following command will help:

start msedge --restore-last-session

This command proves invaluable for users who often juggle multiple tabs and need to quickly regain access to their last browsing session.


How to Launch Other Browsers Using Command Prompt

To open other web browsers from the Command Prompt, simply follow similar steps. For Google Chrome, enter:

start chrome

To open Microsoft Edge, use:

start msedge

Each browser can be navigated to directly via the Command Prompt, making it a versatile tool for tech-savvy users.


If you have additional command-line parameters you’d like to share, feel free to leave your comments below!


Related Articles

With these command-line instructions, you can maximize your productivity and streamline your browser usage on Windows systems.

By Alex Reynolds

Tech journalist and digital trends analyst, Alex Reynolds has a passion for emerging technologies, AI, and cybersecurity. With years of experience in the industry, he delivers in-depth insights and engaging articles for tech enthusiasts and professionals alike.