Link to home
Start Free TrialLog in
Avatar of JReam
JReamFlag for United States of America

asked on

What's wrong with this simple ADM file? Group Policy Administration.

500 Points

CLASS USER
 CATEGORY "MyCustom"
   POLICY "Desktop Icons View Small"
    KEYNAME "Control Panel\Desktop\WindowMetrics"
    VALUENAME "Shell Icon Size"
    VALUEON NUMERIC 32
    VALUEOFF NUMERIC 64
   END POLICY
END CATEGORY

In GPO editing, when I "Add" the above ADM file, it seems to import just fine and error-free, and after a brief auto refresh GPO Editing does nicely display the new Category "MyCustom", BUT that's it, nothing appears under the new category, it's empty, I'm expecting to see "Desktop Icons View Small" in there.

I'm fairly new to ADM writing, but this one really should work.   I'm starting to think there's something with the [space] in the Keyname....    What's wrong with this simple ADM file?



Registry notes:
HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics
Value Name: Shell Icon Size
Data Type: REG_SZ (String Value)
Value Data: Size in Pixels (Default = 32)

ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial

Try this PDF to make the templet
http://www.frickelsoft.net/blog/downloads/howto_admTemplates.pdf 
Hope it may help you.
Regards
Iftikhar
Avatar of JReam

ASKER

Thanks oBdA, you nailed it perfect.