為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

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

  • 6 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 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.