logo logo

The next-generation blog, news, and magazine theme for you to start sharing your stories today!

The Blogzine

Save on Premium Membership

Get the insights report trusted by experts around the globe. Become a Member Today!

View pricing plans

New York, USA (HQ)

750 Sing Sing Rd, Horseheads, NY, 14845

Call: 469-537-2410 (Toll-free)

hello@blogzine.com

Starting Microsoft Edge in Incognito Mode via Command Line

avatar
Louis Ferguson

An editor at Blogzine


  • 🕑 2 minutes read
  • 6 Views
Starting Microsoft Edge in Incognito Mode via Command Line

If you’re a developer or an experienced user, you might find it useful to launch Edge Incognito mode via the command line, allowing you to integrate it into your scripts. This process is straightforward, and in this article, we will outline several methods to accomplish this task effortlessly.

How can I initiate Edge in Private Mode via the command line?

1. Command Prompt Method

  1. Begin by pressing the Windows key + S , then type cmd. Click on Command Prompt to open it.run as administrator
  2. To launch a new InPrivate window, execute the following command: start msedge.exe -inprivate msedge inprivate cmd
  3. If you wish to open a particular website, you can use: start msedge.exe www.windowsreport.com -inprivatemsedge url inprivate cmd

Additionally, if you want to open a website in a new window, use the command: start msedge.exe www.windowsreport.com -inprivate –new-window

2. PowerShell Method

  1. Press Windows key + S , then enter powershell. Select PowerShell from the options provided.open powershell as administrator
  2. To open a blank InPrivate page, use this command: Start-Process msedge.exe -ArgumentList "-inprivate" start-process msedge powershell
  3. For a specific page, input: Start-Process msedge.exe -ArgumentList "-inprivate", "windowsreport.com"start-process msedge url

Of course, to initiate a new instance with a particular page open, you can run: Start-Process msedge.exe -ArgumentList "-inprivate", "-new-window" , "windowsreport.com"

How can I open Edge using CMD?

You can follow the same steps outlined in the first method, making sure to omit the -inprivate flag from your commands.

As demonstrated, launching Edge Incognito through the command line is quite simple, and you can do this efficiently using either PowerShell or Command Prompt.

Source

Image Credits: Windowsreport.com



Leave a Reply

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