How to block un-installation of extensions in Chrome/Chromium, using ExtensionInstallForcelist?












0















In order to prevent de-installation of the chrome extension "stayfocusd" In a windows 10 pc with both Chrome
Version 67.0.3396.62 (Official Build) (64-bit) and chromium Version 67.0.3396.62 (Official Build) (64-bit) installed, I took the following steps:




  1. Downloaded the synced version of Chromium from: https://chromium.woolyss.com/


  2. Went to: https://chrome.google.com/webstore/search/ and installed stayfocusd


  3. Pressed start, typed> "regedit">enter

  4. In the registry browsed to:
    ComputerHKEY_LOCAL_MACHINESOFTWAREPolicies

  5. Right mouse Button (RMB) clicked on "Policies"

  6. Clicked: New>Key>

  7. Named the new Key "Google"

  8. repeated the process untill I created the following path in the registry:
    ComputerHKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChromeExtensionInstallForcelist


  9. Then in the white field next to it RMB>New>string value


  10. Named the string 1

  11. Gave the string the following value:
    laankejkbhbdhmipfmgcngdelahlfoji
    (That is the 32 character-ID of the stayfocusd extension)

  12. repeated the process for the following folder in the registry:
    ComputerHKEY_CURRENT_USERSoftwarePoliciesChromeExtensionInstallForcelist

  13. Yielding:


This picture but then for both folders to illustrate the process.




  1. Closed Chromium

  2. Rebooted the pc.


Then I opened Chromium again, but I was still able to uninstall stayfocusd without any problems.



Does anyone have any suggestions on what I did wrong, or what I forgot, or another way to prevent de-installation of the stayfocusd extension?



Problem analysis:



0.
Currently I think the problem might be that I do not add a reference to the location where the stayfocusd extension is hosted as in some of the examples of the documentation is done here:




Windows (Windows clients):
SoftwarePoliciesGoogleChromeExtensionInstallForcelist1 =
"gbchcmhmhahfdphkhkmpfmihenigjmpp;https://clients2.google.com/service/update2/crx"



SoftwarePoliciesGoogleChromeExtensionInstallForcelist2 =
"abcdefghijklmnopabcdefghijklmnop"




However I do not understand/cannot find how to supply that equivalent link for the stayfocusd extension. And I would think that its source to perform a re-installation should not be a determining factor in whether it would be able to prevent de-installation, but that is an assumption, which I am currently not able to test because I did not find that equivalent hosting link yet.




  1. Another cause of the problem might be that I had to manually create the policy folders for google, which could be an indication that the chromium browser does not look at that location for its policies at a different registry location.


To test this I have searched for the "ExtensionInstallForcelist" but was unable to locate the folder in the registry before I had manually created them. Now that I have created them I do not know how to continue searching after it finds the first instance that I have created, so I cannot check if there is an additional location where the "ExtensionInstallForcelist" folder existst which I did not create.



Any suggestions are much appreciated!










share|improve this question





























    0















    In order to prevent de-installation of the chrome extension "stayfocusd" In a windows 10 pc with both Chrome
    Version 67.0.3396.62 (Official Build) (64-bit) and chromium Version 67.0.3396.62 (Official Build) (64-bit) installed, I took the following steps:




    1. Downloaded the synced version of Chromium from: https://chromium.woolyss.com/


    2. Went to: https://chrome.google.com/webstore/search/ and installed stayfocusd


    3. Pressed start, typed> "regedit">enter

    4. In the registry browsed to:
      ComputerHKEY_LOCAL_MACHINESOFTWAREPolicies

    5. Right mouse Button (RMB) clicked on "Policies"

    6. Clicked: New>Key>

    7. Named the new Key "Google"

    8. repeated the process untill I created the following path in the registry:
      ComputerHKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChromeExtensionInstallForcelist


    9. Then in the white field next to it RMB>New>string value


    10. Named the string 1

    11. Gave the string the following value:
      laankejkbhbdhmipfmgcngdelahlfoji
      (That is the 32 character-ID of the stayfocusd extension)

    12. repeated the process for the following folder in the registry:
      ComputerHKEY_CURRENT_USERSoftwarePoliciesChromeExtensionInstallForcelist

    13. Yielding:


    This picture but then for both folders to illustrate the process.




    1. Closed Chromium

    2. Rebooted the pc.


    Then I opened Chromium again, but I was still able to uninstall stayfocusd without any problems.



    Does anyone have any suggestions on what I did wrong, or what I forgot, or another way to prevent de-installation of the stayfocusd extension?



    Problem analysis:



    0.
    Currently I think the problem might be that I do not add a reference to the location where the stayfocusd extension is hosted as in some of the examples of the documentation is done here:




    Windows (Windows clients):
    SoftwarePoliciesGoogleChromeExtensionInstallForcelist1 =
    "gbchcmhmhahfdphkhkmpfmihenigjmpp;https://clients2.google.com/service/update2/crx"



    SoftwarePoliciesGoogleChromeExtensionInstallForcelist2 =
    "abcdefghijklmnopabcdefghijklmnop"




    However I do not understand/cannot find how to supply that equivalent link for the stayfocusd extension. And I would think that its source to perform a re-installation should not be a determining factor in whether it would be able to prevent de-installation, but that is an assumption, which I am currently not able to test because I did not find that equivalent hosting link yet.




    1. Another cause of the problem might be that I had to manually create the policy folders for google, which could be an indication that the chromium browser does not look at that location for its policies at a different registry location.


    To test this I have searched for the "ExtensionInstallForcelist" but was unable to locate the folder in the registry before I had manually created them. Now that I have created them I do not know how to continue searching after it finds the first instance that I have created, so I cannot check if there is an additional location where the "ExtensionInstallForcelist" folder existst which I did not create.



    Any suggestions are much appreciated!










    share|improve this question



























      0












      0








      0


      1






      In order to prevent de-installation of the chrome extension "stayfocusd" In a windows 10 pc with both Chrome
      Version 67.0.3396.62 (Official Build) (64-bit) and chromium Version 67.0.3396.62 (Official Build) (64-bit) installed, I took the following steps:




      1. Downloaded the synced version of Chromium from: https://chromium.woolyss.com/


      2. Went to: https://chrome.google.com/webstore/search/ and installed stayfocusd


      3. Pressed start, typed> "regedit">enter

      4. In the registry browsed to:
        ComputerHKEY_LOCAL_MACHINESOFTWAREPolicies

      5. Right mouse Button (RMB) clicked on "Policies"

      6. Clicked: New>Key>

      7. Named the new Key "Google"

      8. repeated the process untill I created the following path in the registry:
        ComputerHKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChromeExtensionInstallForcelist


      9. Then in the white field next to it RMB>New>string value


      10. Named the string 1

      11. Gave the string the following value:
        laankejkbhbdhmipfmgcngdelahlfoji
        (That is the 32 character-ID of the stayfocusd extension)

      12. repeated the process for the following folder in the registry:
        ComputerHKEY_CURRENT_USERSoftwarePoliciesChromeExtensionInstallForcelist

      13. Yielding:


      This picture but then for both folders to illustrate the process.




      1. Closed Chromium

      2. Rebooted the pc.


      Then I opened Chromium again, but I was still able to uninstall stayfocusd without any problems.



      Does anyone have any suggestions on what I did wrong, or what I forgot, or another way to prevent de-installation of the stayfocusd extension?



      Problem analysis:



      0.
      Currently I think the problem might be that I do not add a reference to the location where the stayfocusd extension is hosted as in some of the examples of the documentation is done here:




      Windows (Windows clients):
      SoftwarePoliciesGoogleChromeExtensionInstallForcelist1 =
      "gbchcmhmhahfdphkhkmpfmihenigjmpp;https://clients2.google.com/service/update2/crx"



      SoftwarePoliciesGoogleChromeExtensionInstallForcelist2 =
      "abcdefghijklmnopabcdefghijklmnop"




      However I do not understand/cannot find how to supply that equivalent link for the stayfocusd extension. And I would think that its source to perform a re-installation should not be a determining factor in whether it would be able to prevent de-installation, but that is an assumption, which I am currently not able to test because I did not find that equivalent hosting link yet.




      1. Another cause of the problem might be that I had to manually create the policy folders for google, which could be an indication that the chromium browser does not look at that location for its policies at a different registry location.


      To test this I have searched for the "ExtensionInstallForcelist" but was unable to locate the folder in the registry before I had manually created them. Now that I have created them I do not know how to continue searching after it finds the first instance that I have created, so I cannot check if there is an additional location where the "ExtensionInstallForcelist" folder existst which I did not create.



      Any suggestions are much appreciated!










      share|improve this question
















      In order to prevent de-installation of the chrome extension "stayfocusd" In a windows 10 pc with both Chrome
      Version 67.0.3396.62 (Official Build) (64-bit) and chromium Version 67.0.3396.62 (Official Build) (64-bit) installed, I took the following steps:




      1. Downloaded the synced version of Chromium from: https://chromium.woolyss.com/


      2. Went to: https://chrome.google.com/webstore/search/ and installed stayfocusd


      3. Pressed start, typed> "regedit">enter

      4. In the registry browsed to:
        ComputerHKEY_LOCAL_MACHINESOFTWAREPolicies

      5. Right mouse Button (RMB) clicked on "Policies"

      6. Clicked: New>Key>

      7. Named the new Key "Google"

      8. repeated the process untill I created the following path in the registry:
        ComputerHKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChromeExtensionInstallForcelist


      9. Then in the white field next to it RMB>New>string value


      10. Named the string 1

      11. Gave the string the following value:
        laankejkbhbdhmipfmgcngdelahlfoji
        (That is the 32 character-ID of the stayfocusd extension)

      12. repeated the process for the following folder in the registry:
        ComputerHKEY_CURRENT_USERSoftwarePoliciesChromeExtensionInstallForcelist

      13. Yielding:


      This picture but then for both folders to illustrate the process.




      1. Closed Chromium

      2. Rebooted the pc.


      Then I opened Chromium again, but I was still able to uninstall stayfocusd without any problems.



      Does anyone have any suggestions on what I did wrong, or what I forgot, or another way to prevent de-installation of the stayfocusd extension?



      Problem analysis:



      0.
      Currently I think the problem might be that I do not add a reference to the location where the stayfocusd extension is hosted as in some of the examples of the documentation is done here:




      Windows (Windows clients):
      SoftwarePoliciesGoogleChromeExtensionInstallForcelist1 =
      "gbchcmhmhahfdphkhkmpfmihenigjmpp;https://clients2.google.com/service/update2/crx"



      SoftwarePoliciesGoogleChromeExtensionInstallForcelist2 =
      "abcdefghijklmnopabcdefghijklmnop"




      However I do not understand/cannot find how to supply that equivalent link for the stayfocusd extension. And I would think that its source to perform a re-installation should not be a determining factor in whether it would be able to prevent de-installation, but that is an assumption, which I am currently not able to test because I did not find that equivalent hosting link yet.




      1. Another cause of the problem might be that I had to manually create the policy folders for google, which could be an indication that the chromium browser does not look at that location for its policies at a different registry location.


      To test this I have searched for the "ExtensionInstallForcelist" but was unable to locate the folder in the registry before I had manually created them. Now that I have created them I do not know how to continue searching after it finds the first instance that I have created, so I cannot check if there is an additional location where the "ExtensionInstallForcelist" folder existst which I did not create.



      Any suggestions are much appreciated!







      windows-registry google-chrome-extensions browser-addons chromium productivity






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 5 '18 at 12:12







      a.t.

















      asked Jun 4 '18 at 10:28









      a.t.a.t.

      1318




      1318






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Preventing un-installation of any webstore extension in Chrome, not Chromium. Using the example of stayfocusd!:
          I am currently not sure if step 1 is needed, you can first try it without step 1 to see if it works. If it does please leave a comment with confirmation or not.




          1. As explained in:
            https://dev.chromium.org/administrators/policy-list-3#ExtensionInstallForcelist


          2. downloaded the following templates from:
            https://www.chromium.org/administrators/policy-templates
            "ZIP file of ADM/ADMX/JSON templates and documentation"=
            https://dl.google.com/dl/edgedl/chrome/policy/policy_templates.zip


          3. copied:



          C:Users<Your username>Downloadspolicy_templateswindowsadmxen-USchrome.adml
          C:Users<Your username>Downloadspolicy_templateswindowsadmxen-USGoogle.adml



          to:



          C:WindowsPolicyDefinitionsen-US



          and



          C:Users<Your username>Downloadspolicy_templateswindowsadmxchrome.admx
          C:Users<Your username>Downloadspolicy_templateswindowsadmxgoogle.admx



          to:



          C:WindowsPolicyDefinitions




          1. Then opened
            Local Group Policy Editor with:


          start>"run">gpedit.msc




          1. Computer Configuration>Administrative tools>add/remove templates>add


          opened:



          C:Users<Your username>Downloadspolicy_templateswindowsadmen-USchrome.adm




          1. That adds the "Google" folder in the subfolder:


          Computer configurationAdministrative Templates



          Yielding



          Computer configurationAdministrative TemplatesGoogle Chrome
          Computer configurationAdministrative TemplatesGoogle Chrome - Default Settings(user can override)




          1. Then opened:


          Computer configurationAdministrative TemplatesGoogle ChromeExtensions



          Example screenshot




          1. in the window on the right (still in Local Group Policy Editor) I double clicked:
            Configure the list of force-installed apps and extensions


          2. Then in the new popped up window I changed:



          Not Configured
          to:



          Enabled



          Example screenshot




          1. In the "Options" Pane, I clicked add, or show:



          2. In the value screen I added the following value(s) (ID(s) of the extension I want to force Install)
            Stayfocusd:
            laankejkbhbdhmipfmgcngdelahlfoji;https://clients2.google.com/service/update2/crx
            requestly
            mdnleldcmiljblolnjhpnblkcekpdkpa;https://clients2.google.com/service/update2/crx
            ad block plus
            cfhdojbkjhnklbpkdaibdccddilifddb;https://clients2.google.com/service/update2/crx



            *Note that just the ID without hosting url: laankejkbhbdhmipfmgcngdelahlfoji does NOT work.
            (Also if you are on a windows computer that is not part of a domain you cannot apply this method to InstallForceList extensions
            that are not in the Chrome Webstore.)




          Example screenshot




          1. then I rebooted the system


          2. The policy can be checked by browsing to:
            chrome://policy



          there you should see the InstallForceList extension.





          Now that you cannot un-install the extensions anymore






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1328465%2fhow-to-block-un-installation-of-extensions-in-chrome-chromium-using-extensionin%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Preventing un-installation of any webstore extension in Chrome, not Chromium. Using the example of stayfocusd!:
            I am currently not sure if step 1 is needed, you can first try it without step 1 to see if it works. If it does please leave a comment with confirmation or not.




            1. As explained in:
              https://dev.chromium.org/administrators/policy-list-3#ExtensionInstallForcelist


            2. downloaded the following templates from:
              https://www.chromium.org/administrators/policy-templates
              "ZIP file of ADM/ADMX/JSON templates and documentation"=
              https://dl.google.com/dl/edgedl/chrome/policy/policy_templates.zip


            3. copied:



            C:Users<Your username>Downloadspolicy_templateswindowsadmxen-USchrome.adml
            C:Users<Your username>Downloadspolicy_templateswindowsadmxen-USGoogle.adml



            to:



            C:WindowsPolicyDefinitionsen-US



            and



            C:Users<Your username>Downloadspolicy_templateswindowsadmxchrome.admx
            C:Users<Your username>Downloadspolicy_templateswindowsadmxgoogle.admx



            to:



            C:WindowsPolicyDefinitions




            1. Then opened
              Local Group Policy Editor with:


            start>"run">gpedit.msc




            1. Computer Configuration>Administrative tools>add/remove templates>add


            opened:



            C:Users<Your username>Downloadspolicy_templateswindowsadmen-USchrome.adm




            1. That adds the "Google" folder in the subfolder:


            Computer configurationAdministrative Templates



            Yielding



            Computer configurationAdministrative TemplatesGoogle Chrome
            Computer configurationAdministrative TemplatesGoogle Chrome - Default Settings(user can override)




            1. Then opened:


            Computer configurationAdministrative TemplatesGoogle ChromeExtensions



            Example screenshot




            1. in the window on the right (still in Local Group Policy Editor) I double clicked:
              Configure the list of force-installed apps and extensions


            2. Then in the new popped up window I changed:



            Not Configured
            to:



            Enabled



            Example screenshot




            1. In the "Options" Pane, I clicked add, or show:



            2. In the value screen I added the following value(s) (ID(s) of the extension I want to force Install)
              Stayfocusd:
              laankejkbhbdhmipfmgcngdelahlfoji;https://clients2.google.com/service/update2/crx
              requestly
              mdnleldcmiljblolnjhpnblkcekpdkpa;https://clients2.google.com/service/update2/crx
              ad block plus
              cfhdojbkjhnklbpkdaibdccddilifddb;https://clients2.google.com/service/update2/crx



              *Note that just the ID without hosting url: laankejkbhbdhmipfmgcngdelahlfoji does NOT work.
              (Also if you are on a windows computer that is not part of a domain you cannot apply this method to InstallForceList extensions
              that are not in the Chrome Webstore.)




            Example screenshot




            1. then I rebooted the system


            2. The policy can be checked by browsing to:
              chrome://policy



            there you should see the InstallForceList extension.





            Now that you cannot un-install the extensions anymore






            share|improve this answer




























              1














              Preventing un-installation of any webstore extension in Chrome, not Chromium. Using the example of stayfocusd!:
              I am currently not sure if step 1 is needed, you can first try it without step 1 to see if it works. If it does please leave a comment with confirmation or not.




              1. As explained in:
                https://dev.chromium.org/administrators/policy-list-3#ExtensionInstallForcelist


              2. downloaded the following templates from:
                https://www.chromium.org/administrators/policy-templates
                "ZIP file of ADM/ADMX/JSON templates and documentation"=
                https://dl.google.com/dl/edgedl/chrome/policy/policy_templates.zip


              3. copied:



              C:Users<Your username>Downloadspolicy_templateswindowsadmxen-USchrome.adml
              C:Users<Your username>Downloadspolicy_templateswindowsadmxen-USGoogle.adml



              to:



              C:WindowsPolicyDefinitionsen-US



              and



              C:Users<Your username>Downloadspolicy_templateswindowsadmxchrome.admx
              C:Users<Your username>Downloadspolicy_templateswindowsadmxgoogle.admx



              to:



              C:WindowsPolicyDefinitions




              1. Then opened
                Local Group Policy Editor with:


              start>"run">gpedit.msc




              1. Computer Configuration>Administrative tools>add/remove templates>add


              opened:



              C:Users<Your username>Downloadspolicy_templateswindowsadmen-USchrome.adm




              1. That adds the "Google" folder in the subfolder:


              Computer configurationAdministrative Templates



              Yielding



              Computer configurationAdministrative TemplatesGoogle Chrome
              Computer configurationAdministrative TemplatesGoogle Chrome - Default Settings(user can override)




              1. Then opened:


              Computer configurationAdministrative TemplatesGoogle ChromeExtensions



              Example screenshot




              1. in the window on the right (still in Local Group Policy Editor) I double clicked:
                Configure the list of force-installed apps and extensions


              2. Then in the new popped up window I changed:



              Not Configured
              to:



              Enabled



              Example screenshot




              1. In the "Options" Pane, I clicked add, or show:



              2. In the value screen I added the following value(s) (ID(s) of the extension I want to force Install)
                Stayfocusd:
                laankejkbhbdhmipfmgcngdelahlfoji;https://clients2.google.com/service/update2/crx
                requestly
                mdnleldcmiljblolnjhpnblkcekpdkpa;https://clients2.google.com/service/update2/crx
                ad block plus
                cfhdojbkjhnklbpkdaibdccddilifddb;https://clients2.google.com/service/update2/crx



                *Note that just the ID without hosting url: laankejkbhbdhmipfmgcngdelahlfoji does NOT work.
                (Also if you are on a windows computer that is not part of a domain you cannot apply this method to InstallForceList extensions
                that are not in the Chrome Webstore.)




              Example screenshot




              1. then I rebooted the system


              2. The policy can be checked by browsing to:
                chrome://policy



              there you should see the InstallForceList extension.





              Now that you cannot un-install the extensions anymore






              share|improve this answer


























                1












                1








                1







                Preventing un-installation of any webstore extension in Chrome, not Chromium. Using the example of stayfocusd!:
                I am currently not sure if step 1 is needed, you can first try it without step 1 to see if it works. If it does please leave a comment with confirmation or not.




                1. As explained in:
                  https://dev.chromium.org/administrators/policy-list-3#ExtensionInstallForcelist


                2. downloaded the following templates from:
                  https://www.chromium.org/administrators/policy-templates
                  "ZIP file of ADM/ADMX/JSON templates and documentation"=
                  https://dl.google.com/dl/edgedl/chrome/policy/policy_templates.zip


                3. copied:



                C:Users<Your username>Downloadspolicy_templateswindowsadmxen-USchrome.adml
                C:Users<Your username>Downloadspolicy_templateswindowsadmxen-USGoogle.adml



                to:



                C:WindowsPolicyDefinitionsen-US



                and



                C:Users<Your username>Downloadspolicy_templateswindowsadmxchrome.admx
                C:Users<Your username>Downloadspolicy_templateswindowsadmxgoogle.admx



                to:



                C:WindowsPolicyDefinitions




                1. Then opened
                  Local Group Policy Editor with:


                start>"run">gpedit.msc




                1. Computer Configuration>Administrative tools>add/remove templates>add


                opened:



                C:Users<Your username>Downloadspolicy_templateswindowsadmen-USchrome.adm




                1. That adds the "Google" folder in the subfolder:


                Computer configurationAdministrative Templates



                Yielding



                Computer configurationAdministrative TemplatesGoogle Chrome
                Computer configurationAdministrative TemplatesGoogle Chrome - Default Settings(user can override)




                1. Then opened:


                Computer configurationAdministrative TemplatesGoogle ChromeExtensions



                Example screenshot




                1. in the window on the right (still in Local Group Policy Editor) I double clicked:
                  Configure the list of force-installed apps and extensions


                2. Then in the new popped up window I changed:



                Not Configured
                to:



                Enabled



                Example screenshot




                1. In the "Options" Pane, I clicked add, or show:



                2. In the value screen I added the following value(s) (ID(s) of the extension I want to force Install)
                  Stayfocusd:
                  laankejkbhbdhmipfmgcngdelahlfoji;https://clients2.google.com/service/update2/crx
                  requestly
                  mdnleldcmiljblolnjhpnblkcekpdkpa;https://clients2.google.com/service/update2/crx
                  ad block plus
                  cfhdojbkjhnklbpkdaibdccddilifddb;https://clients2.google.com/service/update2/crx



                  *Note that just the ID without hosting url: laankejkbhbdhmipfmgcngdelahlfoji does NOT work.
                  (Also if you are on a windows computer that is not part of a domain you cannot apply this method to InstallForceList extensions
                  that are not in the Chrome Webstore.)




                Example screenshot




                1. then I rebooted the system


                2. The policy can be checked by browsing to:
                  chrome://policy



                there you should see the InstallForceList extension.





                Now that you cannot un-install the extensions anymore






                share|improve this answer













                Preventing un-installation of any webstore extension in Chrome, not Chromium. Using the example of stayfocusd!:
                I am currently not sure if step 1 is needed, you can first try it without step 1 to see if it works. If it does please leave a comment with confirmation or not.




                1. As explained in:
                  https://dev.chromium.org/administrators/policy-list-3#ExtensionInstallForcelist


                2. downloaded the following templates from:
                  https://www.chromium.org/administrators/policy-templates
                  "ZIP file of ADM/ADMX/JSON templates and documentation"=
                  https://dl.google.com/dl/edgedl/chrome/policy/policy_templates.zip


                3. copied:



                C:Users<Your username>Downloadspolicy_templateswindowsadmxen-USchrome.adml
                C:Users<Your username>Downloadspolicy_templateswindowsadmxen-USGoogle.adml



                to:



                C:WindowsPolicyDefinitionsen-US



                and



                C:Users<Your username>Downloadspolicy_templateswindowsadmxchrome.admx
                C:Users<Your username>Downloadspolicy_templateswindowsadmxgoogle.admx



                to:



                C:WindowsPolicyDefinitions




                1. Then opened
                  Local Group Policy Editor with:


                start>"run">gpedit.msc




                1. Computer Configuration>Administrative tools>add/remove templates>add


                opened:



                C:Users<Your username>Downloadspolicy_templateswindowsadmen-USchrome.adm




                1. That adds the "Google" folder in the subfolder:


                Computer configurationAdministrative Templates



                Yielding



                Computer configurationAdministrative TemplatesGoogle Chrome
                Computer configurationAdministrative TemplatesGoogle Chrome - Default Settings(user can override)




                1. Then opened:


                Computer configurationAdministrative TemplatesGoogle ChromeExtensions



                Example screenshot




                1. in the window on the right (still in Local Group Policy Editor) I double clicked:
                  Configure the list of force-installed apps and extensions


                2. Then in the new popped up window I changed:



                Not Configured
                to:



                Enabled



                Example screenshot




                1. In the "Options" Pane, I clicked add, or show:



                2. In the value screen I added the following value(s) (ID(s) of the extension I want to force Install)
                  Stayfocusd:
                  laankejkbhbdhmipfmgcngdelahlfoji;https://clients2.google.com/service/update2/crx
                  requestly
                  mdnleldcmiljblolnjhpnblkcekpdkpa;https://clients2.google.com/service/update2/crx
                  ad block plus
                  cfhdojbkjhnklbpkdaibdccddilifddb;https://clients2.google.com/service/update2/crx



                  *Note that just the ID without hosting url: laankejkbhbdhmipfmgcngdelahlfoji does NOT work.
                  (Also if you are on a windows computer that is not part of a domain you cannot apply this method to InstallForceList extensions
                  that are not in the Chrome Webstore.)




                Example screenshot




                1. then I rebooted the system


                2. The policy can be checked by browsing to:
                  chrome://policy



                there you should see the InstallForceList extension.





                Now that you cannot un-install the extensions anymore







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jun 5 '18 at 11:41









                a.t.a.t.

                1318




                1318






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1328465%2fhow-to-block-un-installation-of-extensions-in-chrome-chromium-using-extensionin%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Список кардиналов, возведённых папой римским Каликстом III

                    Deduzione

                    Mysql.sock missing - “Can't connect to local MySQL server through socket”