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)

LVL 1
JReamAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

oBdACommented:
Right-click "Administrative Templates", choose "View > Filtering", and uncheck "Only show policies that can be fully managed".
You're writing outside of the Policies key, so this is not a real policy, it's "tattooing" the registry. Note that if you delete the GPO or set it back to "not configured", the changes will not simply be undone (as they would with a real policy), the last setting applied will be kept just as if you'd applied the registry change with a script or through regedit.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
iimtiazCommented:

Try this PDF to make the templet
http://www.frickelsoft.net/blog/downloads/howto_admTemplates.pdf 
Hope it may help you.
Regards
Iftikhar
0
JReamAuthor Commented:
Thanks oBdA, you nailed it perfect.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.