Skip to main content
NetworkAdminKB Logo

Knowledge Base

Go Search
NetworkAdminKB.com
Knowledge Base
VBScript Library
Utilities
  
NetworkAdminKB.com > Knowledge Base > Knowledge Base > Windows2003 > An error has occurred while collecting data for Administrative Templates  

An error has occurred while collecting data for Administrative Templates

Author Details
Author: NetworkAdminKB.com
Created: 2009-12-17
Modified: 2010-02-06
Article Content

Issue:

After creating a custom Administrative Template (ADM) file you receive the following error when viewing configured settings in the Group Policy Management Setting tab

 

An error has occurred while collecting data for Administrative Templates.

 

The following errors were encountered:

The .adm file "\\dc01.domain.com\sysvol\domain.com\Policies\{123A30AA-1233-1230-123A-12376B6DBB2E}\adm\Custom.adm" is not in a valid format and must be replaced. Details: A string is expected at line 29.

  

  

Cause:

Certain VALUES must have static strings assigned to them and not use the [stings] substitution values like !!Name.

 

Solution:

Convert all string substitutions for VALUES to static strings.

 

Example:

The string after the key word “VALUE” must be a static string a not a substitution string (i.e.: !!Name01)

 

CLASS USER

CATEGORY "Test”

    POLICY "Test"

      KEYNAME "Software\Test"

      PART Default DROPDOWNLIST NOSORT

        VALUENAME ""

        ITEMLIST

          NAME !!Name01 VALUE “Value 1”

          NAME !!Name02 VALUE “Value 2”

          NAME !!Name03 VALUE “Value 3”

        END ITEMLIST

      END PART

    END POLICY

END CATEGORY

[strings]

Name01="Name 1"

Name02="Name 1"

Name03="Name 1"

 

 

More Information:

This does not affect how the policy is processed, only how GPMC reports.

Related Articles
 
Last modified at 2/6/2010 10:03 PM  by TEMPLATE\kbadmin 
 
 NetworkAdminKB.com
 Copyright © 2008 NetworkAdminKB.com, All rights reserved. Terms of Use | Contact US