How to determine which preference file lock a Firefox config option











up vote
0
down vote

favorite












On a Windows 7 computer, My Firefox network.proxy.type is locked so I cannot modify it
When looking at C:Program Files (x86)Mozilla Firefoxdefault/prefs/localsettings.js there are only 2 lines:




pref("general.config.obscure_value", 0);



pref("general.config.filename", "config.cfg");




Then when looking at config.cfg there is no line looking like




lockPref("network.proxy.type", 5);




and when I try to add my own preference with an other value




pref("network.proxy.type", 2);
I see in firefox that the preference is locked and don't take my value in account.




I also looked inside about:support to determine my profile directory and looked in every .cfg and .js files but still no lockPref that could explain why network.proxy.type is locked



Is there a way to know from which configuration file the lock is coming ?
During my web search I found a lot of pages explaining how to lock some options etc but nothing on how to understand why an option is locked



Thanks by advance for your help










share|improve this question


















  • 1




    What do you mean lock? Have you tried rebooting the computer if it's a file write lock?
    – user1306322
    Jul 18 at 13:36










  • I've seen recommendations to back up your profile folder and do a clean install of Firefox, then copy back the settings by hand (import bookmarks, copy over addons, set config values manually)
    – user1306322
    Jul 18 at 13:41










  • @user1306322 when you go on about:config you have the list of all firefox options and for each of them you have a status saying modified, default and this one is locked. Contrary to the others I cannot modify its value.
    – Quicky
    Jul 18 at 13:48










  • @user1306322 yes I have try to reboot my PC but not yet try to backup my profil and installation
    – Quicky
    Jul 18 at 13:49















up vote
0
down vote

favorite












On a Windows 7 computer, My Firefox network.proxy.type is locked so I cannot modify it
When looking at C:Program Files (x86)Mozilla Firefoxdefault/prefs/localsettings.js there are only 2 lines:




pref("general.config.obscure_value", 0);



pref("general.config.filename", "config.cfg");




Then when looking at config.cfg there is no line looking like




lockPref("network.proxy.type", 5);




and when I try to add my own preference with an other value




pref("network.proxy.type", 2);
I see in firefox that the preference is locked and don't take my value in account.




I also looked inside about:support to determine my profile directory and looked in every .cfg and .js files but still no lockPref that could explain why network.proxy.type is locked



Is there a way to know from which configuration file the lock is coming ?
During my web search I found a lot of pages explaining how to lock some options etc but nothing on how to understand why an option is locked



Thanks by advance for your help










share|improve this question


















  • 1




    What do you mean lock? Have you tried rebooting the computer if it's a file write lock?
    – user1306322
    Jul 18 at 13:36










  • I've seen recommendations to back up your profile folder and do a clean install of Firefox, then copy back the settings by hand (import bookmarks, copy over addons, set config values manually)
    – user1306322
    Jul 18 at 13:41










  • @user1306322 when you go on about:config you have the list of all firefox options and for each of them you have a status saying modified, default and this one is locked. Contrary to the others I cannot modify its value.
    – Quicky
    Jul 18 at 13:48










  • @user1306322 yes I have try to reboot my PC but not yet try to backup my profil and installation
    – Quicky
    Jul 18 at 13:49













up vote
0
down vote

favorite









up vote
0
down vote

favorite











On a Windows 7 computer, My Firefox network.proxy.type is locked so I cannot modify it
When looking at C:Program Files (x86)Mozilla Firefoxdefault/prefs/localsettings.js there are only 2 lines:




pref("general.config.obscure_value", 0);



pref("general.config.filename", "config.cfg");




Then when looking at config.cfg there is no line looking like




lockPref("network.proxy.type", 5);




and when I try to add my own preference with an other value




pref("network.proxy.type", 2);
I see in firefox that the preference is locked and don't take my value in account.




I also looked inside about:support to determine my profile directory and looked in every .cfg and .js files but still no lockPref that could explain why network.proxy.type is locked



Is there a way to know from which configuration file the lock is coming ?
During my web search I found a lot of pages explaining how to lock some options etc but nothing on how to understand why an option is locked



Thanks by advance for your help










share|improve this question













On a Windows 7 computer, My Firefox network.proxy.type is locked so I cannot modify it
When looking at C:Program Files (x86)Mozilla Firefoxdefault/prefs/localsettings.js there are only 2 lines:




pref("general.config.obscure_value", 0);



pref("general.config.filename", "config.cfg");




Then when looking at config.cfg there is no line looking like




lockPref("network.proxy.type", 5);




and when I try to add my own preference with an other value




pref("network.proxy.type", 2);
I see in firefox that the preference is locked and don't take my value in account.




I also looked inside about:support to determine my profile directory and looked in every .cfg and .js files but still no lockPref that could explain why network.proxy.type is locked



Is there a way to know from which configuration file the lock is coming ?
During my web search I found a lot of pages explaining how to lock some options etc but nothing on how to understand why an option is locked



Thanks by advance for your help







firefox proxy about-config






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 18 at 13:34









Quicky

11




11








  • 1




    What do you mean lock? Have you tried rebooting the computer if it's a file write lock?
    – user1306322
    Jul 18 at 13:36










  • I've seen recommendations to back up your profile folder and do a clean install of Firefox, then copy back the settings by hand (import bookmarks, copy over addons, set config values manually)
    – user1306322
    Jul 18 at 13:41










  • @user1306322 when you go on about:config you have the list of all firefox options and for each of them you have a status saying modified, default and this one is locked. Contrary to the others I cannot modify its value.
    – Quicky
    Jul 18 at 13:48










  • @user1306322 yes I have try to reboot my PC but not yet try to backup my profil and installation
    – Quicky
    Jul 18 at 13:49














  • 1




    What do you mean lock? Have you tried rebooting the computer if it's a file write lock?
    – user1306322
    Jul 18 at 13:36










  • I've seen recommendations to back up your profile folder and do a clean install of Firefox, then copy back the settings by hand (import bookmarks, copy over addons, set config values manually)
    – user1306322
    Jul 18 at 13:41










  • @user1306322 when you go on about:config you have the list of all firefox options and for each of them you have a status saying modified, default and this one is locked. Contrary to the others I cannot modify its value.
    – Quicky
    Jul 18 at 13:48










  • @user1306322 yes I have try to reboot my PC but not yet try to backup my profil and installation
    – Quicky
    Jul 18 at 13:49








1




1




What do you mean lock? Have you tried rebooting the computer if it's a file write lock?
– user1306322
Jul 18 at 13:36




What do you mean lock? Have you tried rebooting the computer if it's a file write lock?
– user1306322
Jul 18 at 13:36












I've seen recommendations to back up your profile folder and do a clean install of Firefox, then copy back the settings by hand (import bookmarks, copy over addons, set config values manually)
– user1306322
Jul 18 at 13:41




I've seen recommendations to back up your profile folder and do a clean install of Firefox, then copy back the settings by hand (import bookmarks, copy over addons, set config values manually)
– user1306322
Jul 18 at 13:41












@user1306322 when you go on about:config you have the list of all firefox options and for each of them you have a status saying modified, default and this one is locked. Contrary to the others I cannot modify its value.
– Quicky
Jul 18 at 13:48




@user1306322 when you go on about:config you have the list of all firefox options and for each of them you have a status saying modified, default and this one is locked. Contrary to the others I cannot modify its value.
– Quicky
Jul 18 at 13:48












@user1306322 yes I have try to reboot my PC but not yet try to backup my profil and installation
– Quicky
Jul 18 at 13:49




@user1306322 yes I have try to reboot my PC but not yet try to backup my profil and installation
– Quicky
Jul 18 at 13:49










1 Answer
1






active

oldest

votes

















up vote
0
down vote














  1. Close Firefox

  2. Navigate to C:Program Files (x86)Mozilla Firefox

  3. Modify the mozilla.cfg file.

  4. Remove any LockPref you no longer want.

  5. Save As to Desktop.

  6. Replace old mozilla.cfg with your new mozilla.cfg file

  7. Restart Firefox






share|improve this answer





















  • Hi, thanks for your answer but I don't have any mozilla.cfg file in folder C:Program Files (x86)Mozilla Firefox
    – Quicky
    Nov 28 at 9:08











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1341202%2fhow-to-determine-which-preference-file-lock-a-firefox-config-option%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote














  1. Close Firefox

  2. Navigate to C:Program Files (x86)Mozilla Firefox

  3. Modify the mozilla.cfg file.

  4. Remove any LockPref you no longer want.

  5. Save As to Desktop.

  6. Replace old mozilla.cfg with your new mozilla.cfg file

  7. Restart Firefox






share|improve this answer





















  • Hi, thanks for your answer but I don't have any mozilla.cfg file in folder C:Program Files (x86)Mozilla Firefox
    – Quicky
    Nov 28 at 9:08















up vote
0
down vote














  1. Close Firefox

  2. Navigate to C:Program Files (x86)Mozilla Firefox

  3. Modify the mozilla.cfg file.

  4. Remove any LockPref you no longer want.

  5. Save As to Desktop.

  6. Replace old mozilla.cfg with your new mozilla.cfg file

  7. Restart Firefox






share|improve this answer





















  • Hi, thanks for your answer but I don't have any mozilla.cfg file in folder C:Program Files (x86)Mozilla Firefox
    – Quicky
    Nov 28 at 9:08













up vote
0
down vote










up vote
0
down vote










  1. Close Firefox

  2. Navigate to C:Program Files (x86)Mozilla Firefox

  3. Modify the mozilla.cfg file.

  4. Remove any LockPref you no longer want.

  5. Save As to Desktop.

  6. Replace old mozilla.cfg with your new mozilla.cfg file

  7. Restart Firefox






share|improve this answer













  1. Close Firefox

  2. Navigate to C:Program Files (x86)Mozilla Firefox

  3. Modify the mozilla.cfg file.

  4. Remove any LockPref you no longer want.

  5. Save As to Desktop.

  6. Replace old mozilla.cfg with your new mozilla.cfg file

  7. Restart Firefox







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 27 at 0:28









Brian C. K

1




1












  • Hi, thanks for your answer but I don't have any mozilla.cfg file in folder C:Program Files (x86)Mozilla Firefox
    – Quicky
    Nov 28 at 9:08


















  • Hi, thanks for your answer but I don't have any mozilla.cfg file in folder C:Program Files (x86)Mozilla Firefox
    – Quicky
    Nov 28 at 9:08
















Hi, thanks for your answer but I don't have any mozilla.cfg file in folder C:Program Files (x86)Mozilla Firefox
– Quicky
Nov 28 at 9:08




Hi, thanks for your answer but I don't have any mozilla.cfg file in folder C:Program Files (x86)Mozilla Firefox
– Quicky
Nov 28 at 9:08


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1341202%2fhow-to-determine-which-preference-file-lock-a-firefox-config-option%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Probability when a professor distributes a quiz and homework assignment to a class of n students.

Aardman Animations

Are they similar matrix