搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

How do I create a default profile for all users of a computer in Windows 7/Vista for Firefox versions above 8? I'd like all new users on a computer to get the same defaults, bookmarks, homepage, etc...

  • 4 回覆
  • 2 有這個問題
  • 35075 次檢視
  • 最近回覆由 cor-el

more options

I have found help for this on older versions of Firefox, but I can't seem to find anything for the latest versions above 8. There must be someway to accomplish this for imaging on a large scale.

被選擇的解決方法

Did you create a defaults\profile in the Firefox program folder (C:\Program Files\Mozilla Firefox\)?

All files in that folder will be moved to each newly created profile folder.

For giving prefs a default value it is better to do that via a mozilla.cfg file.


Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify default values.
Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0); // use this to disable the byte-shift

See:

You can use these functions in mozilla.cfg:

defaultPref();  // set new default value
pref();         // set pref, but allow changes in current session
lockPref();     // lock pref, disallow changes
從原來的回覆中察看解決方案 👍 1

所有回覆 (4)

more options

You can create a defaults\profile template folder in the Firefox program folder for new profiles the same way as in older versions. That folder only isn't there anymore because all files have been moved to the omni.ja(r) archive, so you need to create it yourself.

more options
more options

Thank you very much, all, for taking the time to respond. However, even the multiple profiles instructions from dad8832 doesn't help. The thing is, it works fine if you want to use mulitple profiles while signed on the same single user that you start out with. If you want the profile to be used by every new user of the computer, however, this doesn't seem to work. Even when I place the profile in a common folder and set a shortcut to it, it doesn't work. I get that error that firefox is already running.

Thanks for your time, I'll keep looking, I suppose!

more options

選擇的解決方法

Did you create a defaults\profile in the Firefox program folder (C:\Program Files\Mozilla Firefox\)?

All files in that folder will be moved to each newly created profile folder.

For giving prefs a default value it is better to do that via a mozilla.cfg file.


Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify default values.
Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0); // use this to disable the byte-shift

See:

You can use these functions in mozilla.cfg:

defaultPref();  // set new default value
pref();         // set pref, but allow changes in current session
lockPref();     // lock pref, disallow changes