Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

Why does the GPO setting for "Disable Developer Tools = disabled" not take effect when mozilla.cfg "devtools.policy.disabled = true"?

  • 1 svar
  • 1 har detta problem
  • 17 visningar
  • Senaste svar av Mike Kaply

more options

Our organization currently runs FirefoxESR versions and uses mozilla.cfg to control some lock down that are not available using the GPO. Below is the setting in question:

     - mozilla.cfg 
            lockPref("devtools.policy.disabled", true);
     - GPO deviation setting
            Computer > Policies > Admin Templates > Mozilla > Firefox
                    Disable Developer Tools = Disabled

When the computer updates the policies and users launch Firefox, Developer Tools is missing as an option. Below are the results after gpupdate /force:

    - about:config
            devtools.policy.disabled > locked > true
    - Registry (regedit) 
            HKLM\Software\Policies\Mozilla\Firefox
                  DisableDeveloperTools = 0

THANKS Everyone!

Our organization currently runs FirefoxESR versions and uses mozilla.cfg to control some lock down that are not available using the GPO. Below is the setting in question: - mozilla.cfg lockPref("devtools.policy.disabled", true); - GPO deviation setting Computer > Policies > Admin Templates > Mozilla > Firefox Disable Developer Tools = Disabled When the computer updates the policies and users launch Firefox, Developer Tools is missing as an option. Below are the results after gpupdate /force: - about:config devtools.policy.disabled > locked > true - Registry (regedit) HKLM\Software\Policies\Mozilla\Firefox DisableDeveloperTools = 0 THANKS Everyone!

Alla svar (1)

more options

I'm a little confused by what you are trying to accomplish.

Are you trying to disable developer tools via Autoconfig and enable them via policies?

Because you have DisableDeveloperTools set to 0.