Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Windows GPO Help with JSON configs

  • 3 tontu
  • 0 am na jafe-jafe bii
  • 1 view
  • i mujjee tontu mooy 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"
           },
     "[email protected]": {
           "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"
           },
     "[email protected]": {
           "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"
           },
     "[email protected]": {
           "installation_mode": "allowed",
           "install_url": "https://addons.mozilla.org/firefox/downloads/latest/lastpass-password-manager/latest.xpi"
           },
     "[email protected]": {
           "installation_mode": "allowed",
           "install_url": "https://addons.mozilla.org/firefox/downloads/latest/kofax-pdf-create-4-0/latest.xpi"
           },
     "[email protected]": {
           "installation_mode": "allowed",
           },
     "[email protected]": {
           "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" }, "[email protected]": { "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" }, "[email protected]": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/feedly_mini/latest.xpi" }, "[email protected]": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/onetab/latest.xpi" }, "[email protected]": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/lastpass-password-manager/latest.xpi" }, "[email protected]": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/kofax-pdf-create-4-0/latest.xpi" }, "[email protected]": { "installation_mode": "allowed", }, "[email protected]": { "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.

Saafara biñ tànn

extra comma here

```

 "[email protected]": {
          "installation_mode": "allowed",
          },

```

I use jsonlint.com to check things like this

Jàng tontu lii ci fi mu bokk 👍 0

All Replies (3)

more options

Saafara yiñ Tànn

extra comma here

```

 "[email protected]": {
          "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.