Search 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.

Learn More

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

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.

All Replies (1)

more options

You could do this with an AutoConfig file. See Customizing 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.