2 Replies Latest reply on Mar 2, 2010 3:38 AM by GaryMcleanUk

    Adobe Reader & Acrobat 6~9 Group Policy ADM file (only applied once?)

    Bran3

      Hi folks. I created the below ADM template last month based on some of the ones I have seen elsewhere. I import the ADM file to use with Group Policy and make the necessary settings (need to uncheck "Only show policy settings that can be fully managed" to see it in GPO Editor).

       

      Anyway, when the user logs on it stamps them with the desired registry setting (bEnableJS value 0). Yay! But I notice that if a user re-enables JavaScript in Adobe Reader/Acrobat and then logs off and back on again (reboot or logoff/on) the registry setting does not get re-applied. All other pre-existing Group Policies get applied and doing a gpresult or rsop.msc has everything looking as though it did get applied.

       

      I notice that if I manually do a "gpupdate /force" to a logged on system the setting appears to be reapplied (need to reconfirm this though). Has anyone expierienced similar with their ADM templates for this? Perhaps I am missing something? Appreciate any help/advice.

       

       

      ; Administrative Template to enable/disable Javascript of Adobe Acrobat/Reader 6.x~9.x
      ; Version 1.0
      ; 2010/1/22

      CLASS USER
      CATEGORY !!Adobe_Acrobat_Reader_6-9
          POLICY !!JavaScript_Reader_9.x
          EXPLAIN !!JavaScript_Reader_9.x_help   
              KEYNAME "Software\Adobe\Acrobat Reader\9.0\JSPrefs"
              PART "Enable/Disable JavaScript:" DROPDOWNLIST
                  VALUENAME "bEnableJS"
              ITEMLIST
                  NAME !!JavaScript_Enabled VALUE NUMERIC 1
                  NAME !!JavaScript_Disabled VALUE NUMERIC 0 DEFAULT
              END ITEMLIST
              REQUIRED
              END PART
          END POLICY

          POLICY !!JavaScript_Acrobat_9.x
          EXPLAIN !!JavaScript_Acrobat_9.x_help
              KEYNAME "Software\Adobe\Adobe Acrobat\9.0\JSPrefs"
              PART "Enable/Disable JavaScript:" DROPDOWNLIST
                  VALUENAME "bEnableJS"
              ITEMLIST
                  NAME !!JavaScript_Enabled VALUE NUMERIC 1
                  NAME !!JavaScript_Disabled VALUE NUMERIC 0 DEFAULT
              END ITEMLIST
              REQUIRED
              END PART
          END POLICY

          POLICY !!JavaScript_Reader_8.x
          EXPLAIN !!JavaScript_Reader_8.x_help
              KEYNAME "Software\Adobe\Acrobat Reader\8.0\JSPrefs"
              PART "Enable/Disable JavaScript:" DROPDOWNLIST
                  VALUENAME "bEnableJS"
              ITEMLIST
                  NAME !!JavaScript_Enabled VALUE NUMERIC 1
                  NAME !!JavaScript_Disabled VALUE NUMERIC 0 DEFAULT
              END ITEMLIST
              REQUIRED
              END PART
          END POLICY

          POLICY !!JavaScript_Acrobat_8.x
          EXPLAIN !!JavaScript_Acrobat_8.x_help
              KEYNAME "Software\Adobe\Adobe Acrobat\8.0\JSPrefs"
              PART "Enable/Disable JavaScript:" DROPDOWNLIST
                  VALUENAME "bEnableJS"
              ITEMLIST
                  NAME !!JavaScript_Enabled VALUE NUMERIC 1
                  NAME !!JavaScript_Disabled VALUE NUMERIC 0 DEFAULT
              END ITEMLIST
              REQUIRED
              END PART
          END POLICY

          POLICY !!JavaScript_Reader_7.x
          EXPLAIN !!JavaScript_Reader_7.x_help
              KEYNAME "Software\Adobe\Acrobat Reader\7.0\JSPrefs"
              PART "Enable/Disable JavaScript:" DROPDOWNLIST
                  VALUENAME "bEnableJS"
              ITEMLIST
                  NAME !!JavaScript_Enabled VALUE NUMERIC 1
                  NAME !!JavaScript_Disabled VALUE NUMERIC 0 DEFAULT
              END ITEMLIST
              REQUIRED
              END PART
          END POLICY

          POLICY !!JavaScript_Acrobat_7.x
          EXPLAIN !!JavaScript_Acrobat_7.x_help
              KEYNAME "Software\Adobe\Adobe Acrobat\7.0\JSPrefs"
              PART "Enable/Disable JavaScript:" DROPDOWNLIST
                  VALUENAME "bEnableJS"
              ITEMLIST
                  NAME !!JavaScript_Enabled VALUE NUMERIC 1
                  NAME !!JavaScript_Disabled VALUE NUMERIC 0 DEFAULT
              END ITEMLIST
              REQUIRED
              END PART
          END POLICY

          POLICY !!JavaScript_Reader_6.x
          EXPLAIN !!JavaScript_Reader_6.x_help
              KEYNAME "Software\Adobe\Acrobat Reader\6.0\JSPrefs"
              PART "Enable/Disable JavaScript:" DROPDOWNLIST
                  VALUENAME "bEnableJS"
              ITEMLIST
                  NAME !!JavaScript_Enabled VALUE NUMERIC 1
                  NAME !!JavaScript_Disabled VALUE NUMERIC 0 DEFAULT
              END ITEMLIST
              REQUIRED
              END PART
          END POLICY

          POLICY !!JavaScript_Acrobat_6.x
          EXPLAIN !!JavaScript_Acrobat_6.x_help
              KEYNAME "Software\Adobe\Adobe Acrobat\6.0\JSPrefs"
              PART "Enable/Disable JavaScript:" DROPDOWNLIST
                  VALUENAME "bEnableJS"
              ITEMLIST
                  NAME !!JavaScript_Enabled VALUE NUMERIC 1
                  NAME !!JavaScript_Disabled VALUE NUMERIC 0 DEFAULT
              END ITEMLIST
              REQUIRED
              END PART
          END POLICY

      END CATEGORY

      [strings]
      Adobe_Acrobat_Reader_6-9="Adobe Acrobat and Reader 6 to 9"
      JavaScript_Reader_9.x="JavaScript Adobe Reader 9.x"
      JavaScript_Reader_9.x_help="Enable/Disable JavaScript in Adobe Reader 9.x"
      JavaScript_Acrobat_9.x="JavaScript Adobe Acrobat 9.x"
      JavaScript_Acrobat_9.x_help="Enable/Disable JavaScript in Acrobat Acrobat 9.x"
      JavaScript_Reader_8.x="JavaScript Adobe Reader 8.x"
      JavaScript_Reader_8.x_help="Enable/Disable JavaScript in Adobe Reader 8.x"
      JavaScript_Acrobat_8.x="JavaScript Adobe Acrobat 8.x"
      JavaScript_Acrobat_8.x_help="Enable/Disable JavaScript in Acrobat Acrobat 8.x"
      JavaScript_Reader_7.x="JavaScript Adobe Reader 7.x"
      JavaScript_Reader_7.x_help="Enable/Disable JavaScript in Adobe Reader 7.x"
      JavaScript_Acrobat_7.x="JavaScript Adobe Acrobat 7.x"
      JavaScript_Acrobat_7.x_help="Enable/Disable JavaScript in Acrobat Acrobat 7.x"
      JavaScript_Reader_6.x="JavaScript Adobe Reader 6.x"
      JavaScript_Reader_6.x_help="Enable/Disable JavaScript in Adobe Reader 6.x"
      JavaScript_Acrobat_6.x="JavaScript Adobe Acrobat 6.x"
      JavaScript_Acrobat_6.x_help="Enable/Disable JavaScript in Acrobat Acrobat 6.x"
      JavaScript_Enabled="JavaScript Enabled"
      JavaScript_Disabled="JavaScript Disabled"