Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Læs mere

Unable to open a specific URL in private mode from the command line

  • 2 svar
  • 2 har dette problem
  • 214 visninger
  • Seneste svar af tomhonour

I'm having trouble opening urls in a private window from the command line on Windows 11.

Firefox version: 144.0.2

Starting a new private window works fine with "C:\Program Files\Mozilla Firefox\firefox.exe" -private-window

But doing: "C:\Program Files\Mozilla Firefox\firefox.exe" -private-window "https://www.google.com"

just opens the link in the last selected window if the last window selected is non private it just opens the link there instead of a new or existing private window

I have also tried with no success: "C:\Program Files\Mozilla Firefox\firefox.exe" -private "https://www.google.com"

I'm having trouble opening urls in a private window from the command line on Windows 11. Firefox version: 144.0.2 Starting a new private window works fine with "C:\Program Files\Mozilla Firefox\firefox.exe" -private-window But doing: "C:\Program Files\Mozilla Firefox\firefox.exe" -private-window "https://www.google.com" just opens the link in the last selected window if the last window selected is non private it just opens the link there instead of a new or existing private window I have also tried with no success: "C:\Program Files\Mozilla Firefox\firefox.exe" -private "https://www.google.com"

Valgt løsning

See if this works.

   firefox --private-window "https://example.com"
Læs dette svar i sammenhæng 👍 1

Alle svar (2)

Valgt løsning

See if this works.

   firefox --private-window "https://example.com"

I'm also experiencing this issue and quoting the URL doesn't solve it.

Looks like it's a known bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1977140

Ændret af tomhonour den

Stil et spørgsmål

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.