Window 7 desktop short cuts - how to add and remove through kixtart

I am having a problem pushing down a registry entry from a kixscript down to a windows 7 workstation. We have a Windows 2003 domain and no 2008 server...yet.
I want to have the user's library folder on the desktop and no other icons
In the kixscript I have the following line
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu","{59031a47-3f72-44a7-89c5-5595fe6b30ee}","1","REG_DWORD")
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu","{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}","0","REG_DWORD")
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu","{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}","0","REG_DWORD")
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu","{20D04FE0-3AEA-1069-A2D8-08002B30309D}","0","REG_DWORD")

I can go into the registry and set them on the workstation but when I run the login script it won't run them - or at least I don't see the change.  Maybe there is a better way?
johnbowdenAsked:
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.

merowingerCommented:
- What happens if you logoff and logon again after doing the changes?
- Use the tool Regshot to do a registry capture of your manual changes to determine the correct keys
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
johnbowdenAuthor Commented:
the icons do come and go depending on the registry entry
0
merowingerCommented:
so it works or? Could you please explain more detailed?
0
johnbowdenAuthor Commented:
if I set these registry entries manually, log off and back on again, the changes take place. I'm hoping to find a solution so that when the users log in, those desktop icons will be there initially. In this office, there are a number (about 20) of users that share 6 pc's. They are all part time so when I look at the Windows XP machines, I will see that most of them have logged into the workstation on most of them.

So I have their Desktops and My Docs remapped to the server, so maybe all I need to do is to make sure that those icons are always on the desktop. How is that done?
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
Windows 7

From novice to tech pro — start learning today.