User Agents

Web browsers and everyday web tech, explained

Microsoft Edge Private Tab Shortcut: How to Create One

· 5 min read · Browsers

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

Creating a shortcut to a private tab (InPrivate browsing) in Microsoft Edge allows you to launch a secure, history-free session directly from your desktop or taskbar without having to open the browser first and navigate through the menu. This is achieved by modifying the shortcut target path to include a specific command-line switch that tells the browser to start in InPrivate mode immediately upon launch.

What You'll Need

  • A computer running Windows 10 or Windows 11.
  • Microsoft Edge installed as a browser.
  • Administrator permissions (usually required to create or modify shortcuts on the desktop).

Step-by-Step

  1. Locate the Edge Shortcut: Find the existing Microsoft Edge shortcut on your desktop. If you do not have one on your desktop, find Microsoft Edge in the Start menu, right-click it, select More, then Open file location. Once the folder opens, right-click the Edge icon and select Send to > Desktop (create shortcut).
  2. Duplicate the Shortcut: It is recommended to keep your standard Edge shortcut for normal browsing. Right-click the Edge shortcut on your desktop and select Copy, then right-click on an empty space on your desktop and select Paste.
  3. Rename the Shortcut: Right-click the newly pasted shortcut and select Rename. Change the name to something clear, such as Edge Private or InPrivate Browser, so you can distinguish it from the standard shortcut.
  4. Open Properties: Right-click the renamed shortcut and select Properties from the context menu. This will open a window with several tabs; ensure you are on the Shortcut tab.
  5. Modify the Target Field: Look for the Target text box. This box contains the file path to the Edge executable (usually ending in msedge.exe"). Click inside the box and move your cursor to the very end of the text.
  6. Add the InPrivate Command: Press the spacebar once after the closing quotation mark, then type -inprivate. The full path should now look similar to: "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" -inprivate.
  7. Save Changes: Click Apply and then click OK. If a prompt appears asking for administrator permission to change the shortcut, click Continue.
  8. Test the Shortcut: Double-click your new Edge Private shortcut. The browser should launch directly into a dark-themed InPrivate window, confirming that the shortcut is working correctly.
  9. Optional: Pin to Taskbar: If you want even faster access, right-click your new InPrivate shortcut and select Pin to taskbar. This places the private launch icon at the bottom of your screen for one-click access.

Common Mistakes

  • Missing the Space: The most common error is forgetting to put a space between the closing quotation mark of the file path and the -inprivate command. Without the space, Windows will not recognize the command and will likely give an error saying the path is invalid.
  • Typing Inside the Quotes: Some users accidentally type -inprivate inside the quotation marks. The command must be outside the quotes because it is an argument passed to the application, not part of the application's file name.
  • Incorrect Spelling: Ensure there is a hyphen before the word inprivate and that it is written as one word. Typing -in private (with a space) will not work.

Tips

  • Change the Icon: To make the shortcut visually distinct, right-click it, go to Properties > Shortcut, and click Change Icon.... You can select a different icon from the list or browse for a custom .ico file to make the private shortcut stand out.
  • Keyboard Shortcut: In the Properties window, you can click in the Shortcut key box and press a key combination (like Ctrl + Shift + P). This allows you to launch the InPrivate window using only your keyboard.
  • Multiple Profiles: If you use multiple Edge profiles, you can create specific InPrivate shortcuts for different profiles by adding the --profile-directory="Profile 1" argument alongside the -inprivate switch.

Troubleshooting

If the shortcut opens a standard browser window instead of a private one, double-check the Target field in Properties. Ensure there are no extra spaces at the end and that the hyphen is present. If you receive an "Invalid Shortcut" error, it is almost always due to the -inprivate command being placed inside the quotation marks or the lack of a space before the hyphen.

If the shortcut fails to launch entirely, verify that Microsoft Edge has not been moved or updated to a different folder path. You can verify the correct path by right-clicking the original, working Edge shortcut and comparing the Target paths.

Frequently Asked Questions

Does this shortcut hide my browsing from my ISP?

No. InPrivate mode prevents your browser from saving history, cookies, and site data on your local device, but your internet service provider (ISP), employer, or the websites you visit can still see your activity.

Can I create this shortcut on a Mac?

The process described here is specific to Windows. On macOS, you would typically use an AppleScript or a third-party automation tool to create a similar application launcher for InPrivate mode.

Will this shortcut automatically clear my passwords?

InPrivate mode does not save new passwords you enter during the session, and it does not use passwords saved in your main profile for auto-fill unless you have specifically configured the browser to allow it.

Does this affect the standard Edge shortcut?

No, as long as you duplicated the shortcut first. The standard shortcut remains unchanged and will continue to open your normal browsing session with your history and cookies intact.

Can I add a specific URL to the InPrivate shortcut?

Yes. You can add a URL after the -inprivate command. For example: "...msedge.exe" -inprivate https://www.google.com. This will launch the browser in private mode and navigate directly to that website.