This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Disable Create New Profile

more options

Can you add a configuration setting to Mozilla Firefox to disable Create New Profile, configurable in the policies.json file? (A second option but a much uglier one would be to disable being able to select a file location for a new profile. Then you could make the default profile directory write only, which would also accomplish the same thing.) (A third option would be to able to configure extensions by default upon installation in the ExtensionSettings policy.)

To explain, I use LeechblockNG on Firefox on Ubuntu. Very helpful. By placing a policies.json file (see at bottom) in /etc/firefox/policies/ directory, I can create a system wide policy. I can make the LeechblockNG extension mandatory and to be installed upon every new profile creation. That all works very well. HOWEVER, there is NO way to be able to set those options in the new profile. So LeechblockNG is installed with default options (which are no blocking at all), which effectively bypasses the addon.

I am also writing the author of the leechblock extension to see if there is any way to set the options for leechblock upon installation (the third option above).

But I know other people have this same question, and at present, if I am correct, there is no way to block new profile creation, or the Profile Manager window in Firefox.

So could you please add that option to the Firefox policies.json configuration? Something like "DisableNewProfiles": true would do it.

Thanks!

My current policies.json file in /etc/firefox/policies/ directory: { "policies": { "BlockAboutConfig": true, "BlockAboutProfiles": true, "PrivateBrowsingModeAvailability": 1, "DisableSafeMode": true, "ExtensionSettings":{ "*": { "installation_mode": "blocked", "blocked_install_message": "Prohibited install more extensions." }, "leechblockng@proginosko.com": { "installation_mode": "force_installed", "install_url": "https://addons.mozilla.org/firefox/downloads/file/4374316/leechblock_ng-1.6.6.xpi" } } } }

Can you add a configuration setting to Mozilla Firefox to disable Create New Profile, configurable in the policies.json file? (A second option but a much uglier one would be to disable being able to select a file location for a new profile. Then you could make the default profile directory write only, which would also accomplish the same thing.) (A third option would be to able to configure extensions by default upon installation in the ExtensionSettings policy.) To explain, I use LeechblockNG on Firefox on Ubuntu. Very helpful. By placing a policies.json file (see at bottom) in /etc/firefox/policies/ directory, I can create a system wide policy. I can make the LeechblockNG extension mandatory and to be installed upon every new profile creation. That all works very well. HOWEVER, there is NO way to be able to set those options in the new profile. So LeechblockNG is installed with default options (which are no blocking at all), which effectively bypasses the addon. I am also writing the author of the leechblock extension to see if there is any way to set the options for leechblock upon installation (the third option above). But I know other people have this same question, and at present, if I am correct, there is no way to block new profile creation, or the Profile Manager window in Firefox. So could you please add that option to the Firefox policies.json configuration? Something like "DisableNewProfiles": true would do it. Thanks! My current policies.json file in /etc/firefox/policies/ directory: { "policies": { "BlockAboutConfig": true, "BlockAboutProfiles": true, "PrivateBrowsingModeAvailability": 1, "DisableSafeMode": true, "ExtensionSettings":{ "*": { "installation_mode": "blocked", "blocked_install_message": "Prohibited install more extensions." }, "leechblockng@proginosko.com": { "installation_mode": "force_installed", "install_url": "https://addons.mozilla.org/firefox/downloads/file/4374316/leechblock_ng-1.6.6.xpi" } } } }

All Replies (2)

more options

Note that you normally do not specify a specific extension version, but use a link the get the latest version, you need the ID of the extension. See install_url:

Helpful?

more options

Thanks for the note. But that still doesn't solve my problem. I note that Google Chrome does have such an option, but Firefox does not. On Google Chrome, the policy option is called: BrowserAddPersonEnabled There are also other helpful policies on Google Chrome like: BrowserGuestModeEnabled. But the BrowserAddPersonEnabled would be the one I would love to see on Firefox.

Helpful?

Sual ver

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.