Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

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

Deploy default profile with userChrome.css to new users

  • 1 reply
  • 0 have this problem
  • 18 views
  • Last reply by Mike Kaply

more options

Hello, Mozilla community.

I am trying to configure a Firefox ESR installation so that every new user on a computer automatically receives a visual customization (a logo change on about:home) through userChrome.css and userContent.css files.

My goal is to do this without using Group Policy (GPO) or logon scripts, by only modifying the files in the Firefox installation folder.

Environment:

Firefox Version: Firefox ESR 140.3.0esr

Operating System: Windows 11 Pro

Context: Standalone machine, managed without Active Directory.


My Question:

Is this method of deploying a default profile via installation files (defaults/profile or distribution.ini) still supported in recent versions of Firefox ESR?

Is there an additional step or configuration I am missing for Firefox to recognize and use the bundled profile when creating a user's first profile?

Is there any policy in policies.json that could be interfering or that is required to enable this behavior?

Thank you very much for your help and your time.

Hello, Mozilla community. I am trying to configure a Firefox ESR installation so that every new user on a computer automatically receives a visual customization (a logo change on about:home) through userChrome.css and userContent.css files. My goal is to do this without using Group Policy (GPO) or logon scripts, by only modifying the files in the Firefox installation folder. Environment: Firefox Version: Firefox ESR 140.3.0esr Operating System: Windows 11 Pro Context: Standalone machine, managed without Active Directory. My Question: Is this method of deploying a default profile via installation files (defaults/profile or distribution.ini) still supported in recent versions of Firefox ESR? Is there an additional step or configuration I am missing for Firefox to recognize and use the bundled profile when creating a user's first profile? Is there any policy in policies.json that could be interfering or that is required to enable this behavior? Thank you very much for your help and your time.

Chosen solution

Unfortunately the copying of files from defaults/profile was removed.

I had written some custom code for the CCK2 back in the day that emulated it:

https://github.com/mkaply/cck2wizard/blob/0d8af5d71a91b1027b3ee0ee0fb05d45b7a21db2/cck2/modules/CCK2.jsm#L109

If you were willing to use Autoconfig, you could probably write something simple that copied a few files over.

Read this answer in context 👍 1

All Replies (1)

more options

Chosen Solution

Unfortunately the copying of files from defaults/profile was removed.

I had written some custom code for the CCK2 back in the day that emulated it:

https://github.com/mkaply/cck2wizard/blob/0d8af5d71a91b1027b3ee0ee0fb05d45b7a21db2/cck2/modules/CCK2.jsm#L109

If you were willing to use Autoconfig, you could probably write something simple that copied a few files over.

Helpful?

Ask a question

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