Show / Hide Desktop Items Windows 2008 R2 / Windows 7 by means of registry and Microsoft Group Policy Preferences

Update: Corrected the typos, images, registry keys.

Creating a new Citrix XenApp 6 / Windows Server 2008 R2 environment for a customer, stumbled on the problem that I still need to perform some registry tweaks to get the desktop icons to be shown or not. Seems that it is very hard for Microsoft to get this done in Group Policies. I usually save this kind of information in my archive, I thought it might be of use for a broader audience.

Here are the registry locations for hiding the Microsoft Windows Desktop Items:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\
HideDesktopIcons\ClassicStartMenu]

"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000      (<= Computer)
"{59031a47-3f72-44a7-89c5-5595fe6b30ee}"=dword:00000000            (<= User Files)
"{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}"=dword:00000000   (<= Control Panel)
”{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}"=dword:00000000     (<= Network)
"{645FF040-5081-101B-9F08-00AA002F954E}"=dword:00000001         (<= Recycle Bin)

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\
HideDesktopIcons\NewStartPanel]

"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000      (<= Computer)
"{59031a47-3f72-44a7-89c5-5595fe6b30ee}"=dword:00000000            (<= User Files)
"{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}"=dword:00000000   (<= Control Panel)
”{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}"=dword:00000000     (<= Network)
"{645FF040-5081-101B-9F08-00AA002F954E}"=dword:00000001         (<= Recycle Bin)

In the above example everything is shown on the Desktop except for Recycle Bin which you will notice has a value of 1 (Hide=Enabled). I, off course am aware that Recycle Bin does not have to be controlled by means of a registry tweak because it can be removed by Group Policies. It’s just in there for the total picture.

The easiest way to tailor these items into Microsoft Group Policy Client Side Preferences is to log on a Windows Server 2008 or Windows 7 reference machine which has the Group Policy Management tool installed.

Off course you do not have to use Microsoft Group Policy Client Side Preferences, this can also be KIX scripted or any other tool you prefer like AppSense Environment Manager of RES Workspace Manager.

Step 1. Enable all the Desktop items in Personalization (right click desktop, Personalization) so that they are shown on the desktop.

image
Step 2. Open Microsoft Group Policy Management, open the Group Policy you want to use for this purpose;

Step 3. Go to User Configuration, Preferences, Windows Settings, Registry, Right Click and Click New Registry Wizard;

http://hlouwers.files.wordpress.com/2010/07/zw0004.png?w=630 
Step 4. Browse to the item (Computer, Control Panel, User Files and/or Recycle Bin) you wish to Show (or explicitly Hide), remember to mark the item twice, once under ClassicStartMenu and once under NewStartPanel;

http://hlouwers.files.wordpress.com/2010/07/zw0005.png?w=400&h=310

http://hlouwers.files.wordpress.com/2010/07/zw0006.png?w=400&h=310

Step 5. Enable or disable the item you wish to show or hide. See the image below, when the Value Data reads 0, it is displayed, if it is 1 then the object will be hidden.

http://hlouwers.files.wordpress.com/2010/07/zw0008.png?w=600&h=459

Step 6. I know Recycle Bin can be controlled using Group Policies, so this item is really not needed. As the image below show I have disabled this item. With this particular customer I disabled hiding Computer (Value=0) and enabled hiding Control Panel and User Files (Value=1).

http://hlouwers.files.wordpress.com/2010/07/zw0000.png?w=600&h=421

Microsoft Beta Exam 71-685 Pro: Windows® 7, Enterprise Desktop Support Technician

Ok, so I attended this exam yesterday and think I did all right. I do not want to violate Microsoft’s Non Disclosure Agreement so if I’m telling you guys too much you will let me know right? :-)

The exam consisted of 70 questions in which I think I had to guess about 22 of them. I like the number of questions on a Microsoft Beta exams. With Citrix Beta Exams can take up to 250 (!) questions. As if anyone knows what he/she is answering after question number 120. If there are that many questions on a beta exam, that means you can toss the last 150 questions out the window for sure.

Anyway, for this exam know all the new features of Microsoft Windows 7 like BitLocker, BranchCache, DirectAccess, AppLocker, Internet Explorer 8. This information and more on this exam can be found here.

I have scheduled Microsoft Beta Exam 71-686 Pro: Windows® 7, Enterprise Desktop Administrator on October 14th.

Henny Louwers

Subscribe to Beta Exams RSS Feed

Voor degene die er altijd te laat achter komen dat er Beta examens zijn/waren kunnen zich nu abboneren op deze RSS feed. Wanneer er een nieuwe (public) beta examen komt wordt deze hier gepost.

http://blogs.technet.com/betaexams/rss.xml

http://blogs.technet.com/betaexams/

Henny Louwers

Follow

Get every new post delivered to your Inbox.

Join 198 other followers