Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Dette websted vil have begrænset funktionalitet, mens vi gennemgår vedligeholdelse for at forbedre din oplevelse. Hvis en artikel ikke løser dit problem, og du vil stille et spørgsmål, har vi vores supportfællesskab, der venter på at hjælpe dig på @FirefoxSupport på Twitter og/r/firefox på Reddit.

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

How to force Private browsing using Registry?

more options

Hello. I manage about 1000 PCs that need to have Private Browsing forced to protect end user Information. I can't use MS GPOs because these PCs log in with a local user account. Is there a way to force Private browsing on the PCs by adding a registry string to all of the PCs that could be deployed (SCCM) by running a .CMD file? Please advise. Thanks for your time.

Hello. I manage about 1000 PCs that need to have Private Browsing forced to protect end user Information. I can't use MS GPOs because these PCs log in with a local user account. Is there a way to force Private browsing on the PCs by adding a registry string to all of the PCs that could be deployed (SCCM) by running a .CMD file? Please advise. Thanks for your time.

Alle svar (1)

more options

You could do this with an AutoConfig file. See Customize Firefox using AutoConfig.

It would need to have the following code:

// IMPORTANT: Start your code on the 2nd line
lockPref("privacy.history.custom", true);
lockPref("browser.privatebrowsing.autostart", true);

What will lock the history preference in the settings to custom and automatically enable private browsing mode (although the purple icon will not appear like in normal private browsing mode).

The only thing is that I don't believe it's possible to prevent the user from selecting history drop-down setting in the Firefox options. So, the user can still go in and select Remember my history. However, because Always use private browsing mode is locked, it will prompt the user to restart Firefox. When Firefox opens, their changes are overwritten and it will be back to the custom setting with private browsing mode locked.

This configuration would be packaged into a customized Windows installer and then could be deployed on Windows via SCCM.

Hope this helps.