Mozilla Destek’te Ara

Destek dolandırıcılığından kaçının. Mozilla sizden asla bir telefon numarasını aramanızı, mesaj göndermenizi veya kişisel bilgilerinizi paylaşmanızı istemez. Şüpheli durumları “Kötüye kullanım bildir” seçeneğini kullanarak bildirebilirsiniz.

Daha Fazlasını Öğren

Windows GPO Help with JSON configs

  • 3 yanıt
  • 0 kişi bu sorunu yaşıyor
  • 1 gösterim
  • Son yanıtı yazan: 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.

Seçilen çözüm

extra comma here

```

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

```

I use jsonlint.com to check things like this

Bu yanıtı konu içinde okuyun 👍 0

Tüm Yanıtlar (3)

more options

Seçilen çözüm

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.