Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Windows GPO Help with JSON configs

  • 3 відповіді
  • 0 мають цю проблему
  • 4 перегляди
  • Остання відповідь від Mike Kaply

more options

Environment: Windows 10 22h2 clients, latest ESR build, Domain servers Windows 2016 or better.

So I followed the guide https://github.com/mozilla/policy-templates/blob/master/README.md#extensionsettings and tried to set up the config. We are using the latest ESR build but after the settings is applied I still dont have working extensions.

Here is the code

{
     "*": {
           "blocked_install_message": "Addon or Extension is not approved. Please submit a ticket to Help Desk if you need access to this extension.",
           "install_sources": ["https://addons.mozilla.org/"],
           "installation_mode": "blocked"
     },
     "{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}": {
           "installation_mode": "allowed",
           "install_url": "https://addons.mozilla.org/firefox/downloads/latest/adblock-plus/latest.xpi"
           },
     "ciscowebexstart1@cisco.com": {
           "installation_mode": "allowed",
           "install_url": "https://addons.mozilla.org/firefox/downloads/latest/cisco-webex-extension/latest.xpi"
     },
     "{d0210f13-a970-4f1e-8322-0f76ec80adde}": {
           "installation_mode": "allowed",
           "install_url": "https://addons.mozilla.org/firefox/downloads/latest/instapaper-official/latest.xpi"
           },
     "appstore-mini@feedly.com": {
           "installation_mode": "allowed",
           "install_url": "https://addons.mozilla.org/firefox/downloads/latest/feedly_mini/latest.xpi"
           },
     "extension@one-tab.com": {
           "installation_mode": "allowed",
           "install_url": "https://addons.mozilla.org/firefox/downloads/latest/onetab/latest.xpi"
           },
     "support@lastpass.com": {
           "installation_mode": "allowed",
           "install_url": "https://addons.mozilla.org/firefox/downloads/latest/lastpass-password-manager/latest.xpi"
           },
     "sweb2pdfextension.4@kofax.com": {
           "installation_mode": "allowed",
           "install_url": "https://addons.mozilla.org/firefox/downloads/latest/kofax-pdf-create-4-0/latest.xpi"
           },
     "Aternity-WebExt-12.1.4@aternity.com": {
           "installation_mode": "allowed",
           },
     "its_addons_wrap@onelog.com": {
           "installation_mode": "allowed",
           "install_url": "https://extensions.onelog.com/extension/onelog.xpi"
     }

}

I have placed the settings in HKCU but also tried in HKLM and there has been no difference. in each case I get Unable to parse JSON for Extensionsettings when checking the about:policies section and when I look at the registry I see the REG_MULTI_SZ value but when i click on it to read it I get another error message. Cannot edit ExtensionSettings: Error reading the values contents.

I tried re-entering the code and tried not listing the install URLs and even tried only listing 1 item. I haven't been able to get past this error so any help would be greatly appreciated.

Environment: Windows 10 22h2 clients, latest ESR build, Domain servers Windows 2016 or better. So I followed the guide https://github.com/mozilla/policy-templates/blob/master/README.md#extensionsettings and tried to set up the config. We are using the latest ESR build but after the settings is applied I still dont have working extensions. Here is the code { "*": { "blocked_install_message": "Addon or Extension is not approved. Please submit a ticket to Help Desk if you need access to this extension.", "install_sources": ["https://addons.mozilla.org/"], "installation_mode": "blocked" }, "{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/adblock-plus/latest.xpi" }, "ciscowebexstart1@cisco.com": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/cisco-webex-extension/latest.xpi" }, "{d0210f13-a970-4f1e-8322-0f76ec80adde}": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/instapaper-official/latest.xpi" }, "appstore-mini@feedly.com": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/feedly_mini/latest.xpi" }, "extension@one-tab.com": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/onetab/latest.xpi" }, "support@lastpass.com": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/lastpass-password-manager/latest.xpi" }, "sweb2pdfextension.4@kofax.com": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/kofax-pdf-create-4-0/latest.xpi" }, "Aternity-WebExt-12.1.4@aternity.com": { "installation_mode": "allowed", }, "its_addons_wrap@onelog.com": { "installation_mode": "allowed", "install_url": "https://extensions.onelog.com/extension/onelog.xpi" } } I have placed the settings in HKCU but also tried in HKLM and there has been no difference. in each case I get Unable to parse JSON for Extensionsettings when checking the about:policies section and when I look at the registry I see the REG_MULTI_SZ value but when i click on it to read it I get another error message. Cannot edit ExtensionSettings: Error reading the values contents. I tried re-entering the code and tried not listing the install URLs and even tried only listing 1 item. I haven't been able to get past this error so any help would be greatly appreciated.

Обране рішення

extra comma here

```

 "Aternity-WebExt-12.1.4@aternity.com": {
          "installation_mode": "allowed",
          },

```

I use jsonlint.com to check things like this

Читати цю відповідь у контексті 👍 0

Усі відповіді (3)

more options

Вибране рішення

extra comma here

```

 "Aternity-WebExt-12.1.4@aternity.com": {
          "installation_mode": "allowed",
          },

```

I use jsonlint.com to check things like this

more options

Thanks for the help here. I am not used to JSON and the error I got in Windows wasn't clear that is was a simple format error. thanks also for the web link, I'll be sure to use that in the future.

more options

I'm going to see if I can make the error better.