How to Open Microsoft Edge Using Command Prompt on Windows 10

Microsoft Edge logo

You can launch applications and programs using the command prompt—And Microsoft Edge is no exception. You can also use the Command Prompt to launch Edge in InPrivate browsing mode, open a specific website, or restore the previous session. Here’s how.

To launch Microsoft Edge using Command Prompt, you must already have Edge downloaded and installed. These steps work for both Legacy Edge and Chrome-based edge.

RELATED: How to open Google Chrome using Command Prompt on Windows 10

Launch Edge using the command prompt

Open Command Prompt by typing “cmd” into the Windows search bar and selecting “Command Prompt” from the search results.

Command Prompt application in Windows Search

In the command prompt, run this command:

start msedge

Command to start Edge normally

Microsoft Edge will now open normally.

Open a specific site in Edge using the command prompt

Instead of launching Edge and then entering a URL in the web browser to visit a site, you can do both at the same time using the command prompt.

Open Command Prompt (type “cmd” in Windows Search and select “Command Prompt”) and run this command:

start msedge

Replace with the URL of the site you want to visit. For example:

start msedge www.howtogeek.com

Command to open a site in Edge

Edge will launch and open the specified site.

Launch Edge with previous session restored using Command Prompt

If you accidentally closed Edge and want to relaunch it with all the tabs on the previous session restored, you can do it with the command prompt.

Open Command Prompt (type “cmd” in Windows Search and select “Command Prompt”) and run this command:

start msedge –restore-last-session

Start the edge with the previous session restore command

Edge will launch with all tabs from the previous session restored.

Launch Edge in InPrivate browsing mode using the command prompt

Using Microsoft Edge in InPrivate browsing mode deletes your browsing information when you end the session, does not save your download history, and prevents Bing search from being associated with you.

To launch Edge in InPrivate browse mode, open Command Prompt (type “cmd” in Windows Search and select “Command Prompt”) and run this command:

start msedge -inprivate

Edge start command in InPrivate mode

Edge will now launch in InPrivate browsing mode.

RELATED: How to Find and Open Files Using Command Prompt

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.