2

I need to update the Chrome policy 'ExtensionInstallBlacklist' from a desktop application on windows. Im already able to modify the policy through the registry by adding values to HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\ExtensionInstallBlacklist.

However, to have an effect in chrome, I need to manually visit chrome://policy/ within Chrome and hit the "refresh policies"-button.

What I already tried:

  • According to this other question on SO, one can use gpupdate /force to trigger a reaload of Chrome policies. I tried gpupdate and gpupdate /force, both inside an admin cmd and inside a normal user cmd - no effect.

Is there another way to programatically tell Chrome to reload the policies or did I miss something with the gpupdate-solution?

EDIT:

These are the changes I've made:

  • Adding the key value pair 1:cfhdojbkjhnklbpkdaibdccddilifddb to HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\ExtensionInstallBlacklist(it's the id of Adblock Plus)
5
  • can you provide a sample of your actual registry changes?
    – shawn
    Mar 13, 2020 at 19:35
  • @shawn I've added my changes to the initial question. Mar 23, 2020 at 20:01
  • are you using an Enterprise build of Chrome?
    – shawn
    Jul 10, 2020 at 19:40
  • no, is it only possible with an enterprise build? Jul 11, 2020 at 21:25
  • Yes. While some policies do not require an Enterprise build, I'm pretty sure most do. Download it here.
    – shawn
    Jul 11, 2020 at 22:44

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.