为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

What does "Locked=1" in profiles.ini do?

  • 6 个回答
  • 1 人有此问题
  • 888 次查看
  • 最后回复者为 cor-el

more options

I am familiar with the profiles.ini file except for one thing for which I can find no information about. Recently the above mentioned line showed up in both the install.ini and profiles.ini files. This is what is in the files now: Profiles.ini

   [Install308046B0AF4A39CB]
   Default=Profiles/5cmttesr.default
   Locked=1
   [Profile0]
   Name=default
   IsRelative=1
   Path=Profiles/5cmttesr.default
   Default=1
   [General]
   StartWithLastProfile=1
   Version=2

Install.ini

   [308046B0AF4A39CB]
   Default=Profiles/5cmttesr.default
   Locked=1

As can be seen under the default profile listing is the locked=1 line or setting. So does this lock the profile so no changes can be made, or only lock some parts or does the 1 indicate it is unlocked or what? All the profile.ini articles and examples do not show the locked= line at all or even mention it as an optional setting.

I am familiar with the profiles.ini file except for one thing for which I can find no information about. Recently the above mentioned line showed up in both the install.ini and profiles.ini files. This is what is in the files now: Profiles.ini [Install308046B0AF4A39CB] Default=Profiles/5cmttesr.default Locked=1 [Profile0] Name=default IsRelative=1 Path=Profiles/5cmttesr.default Default=1 [General] StartWithLastProfile=1 Version=2 Install.ini [308046B0AF4A39CB] Default=Profiles/5cmttesr.default Locked=1 As can be seen under the default profile listing is the locked=1 line or setting. So does this lock the profile so no changes can be made, or only lock some parts or does the 1 indicate it is unlocked or what? All the profile.ini articles and examples do not show the locked= line at all or even mention it as an optional setting.

被采纳的解决方案

Hi Wolfie0827, Locked=1 is the profile which is selected in the Profile Manager to -

  • Use the selected profile without asking at startup.
定位到答案原位置 👍 1

所有回复 (6)

more options

选择的解决方案

Hi Wolfie0827, Locked=1 is the profile which is selected in the Profile Manager to -

  • Use the selected profile without asking at startup.
more options

Also, 308046B0AF4A39CB identifies a specific build of Firefox (for example, regular release, 64-bit, Windows, U.S. English). The profile locked to that build will not be used by a different installation of Firefox, such as Beta, Developer, ESR, or Nightly. More info: Dedicated profiles per Firefox installation.

more options
more options

cor-el, the link you suggested is a typical example, it really explains nothing about the actual entries/lines in the install.ini or Profiles.ini. And as I said I know most of the rest including what jscher2000 mentioned. But I could not find anywhere that mentioned the locked entry.

more options

My_Cheese_Is_Slippin' said

Hi Wolfie0827, Locked=1 is the profile which is selected in the Profile Manager to -
  • Use the selected profile without asking at startup.

jscher2000 said

Also, 308046B0AF4A39CB identifies a specific build of Firefox (for example, regular release, 64-bit, Windows, U.S. English). The profile locked to that build will not be used by a different installation of Firefox, such as Beta, Developer, ESR, or Nightly. More info: Dedicated profiles per Firefox installation.

Thanks both of you for the answer.

more options

Locked=1 means that this profile is locked to the Firefox installation path referenced by the hash (308046B0AF4A39CB). No other Firefox 67+ installed in another installation path can/will use this profile. Older Firefox versions do not know about dedicated profiles and use a locked profile without warning.