JReam
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\WindowMetric s"
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\WindowMetric s
Value Name: Shell Icon Size
Data Type: REG_SZ (String Value)
Value Data: Size in Pixels (Default = 32)
CLASS USER
CATEGORY "MyCustom"
POLICY "Desktop Icons View Small"
KEYNAME "Control Panel\Desktop\WindowMetric
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\WindowMetric
Value Name: Shell Icon Size
Data Type: REG_SZ (String Value)
Value Data: Size in Pixels (Default = 32)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks oBdA, you nailed it perfect.
Try this PDF to make the templet
http://www.frickelsoft.net/blog/downloads/howto_admTemplates.pdf
Hope it may help you.
Regards
Iftikhar