Link to home
Start Free TrialLog in
Avatar of johnbowden
johnbowdenFlag for Canada

asked on

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?
ASKER CERTIFIED SOLUTION
Avatar of merowinger
merowinger
Flag of Germany image

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
Avatar of johnbowden

ASKER

the icons do come and go depending on the registry entry
so it works or? Could you please explain more detailed?
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?