We have a working unattend.xml file that does all we want it to. It even will join the domain for use. The issue I have is that when we login to the domain for the first time after imaging I get a bunch of icons that were not in the default profile. I get Network, Control Panel, Libraries and My Documents icons put on the the desktop. I don't want them here. Is there a way to stop that in the unattend.xml file or by some other means? I don't want a GPO that will not let the user add them if the want then, I just do want them up ther from the get go.

Any responses are appreciated.
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Hi Damianb,

The icons you've mentioned are default icons that Windows shows for all users when a new profile is created. You can simply turn off all desktop icons by right clicking the desktop, click view then uncheck "show desktop icons". But this is a manual process and will remove all icons from the users desktop.

An option that would be more customizable on a per user basis would be to use registry files to remove the specific icons that you don't want to be visible.
Here's a link to a site that has already done the leg work for you http://www.sevenforums.com/tutorials/919-desktop-icons-add-remove.html

I haven't tried this myself and it might take a little trial and error to get it just right, but you could possibly add the remove icon registry hack to the "run once" registry key. Then when a user logs in the first time, those icons will be removed from the desktop yet any icons that are shown via group policy would still be displayed. Since these icons will only be removed from the desktop once, the user could add them back without fear of them disappearing again.

Hope this helps,
Answered 11/23/2011 by: dmaximoff
Orange Senior Belt

Please log in to comment
Hi DamianB,
All of these icons can also be customised via group policy, either through admin templates or as reg entries deployed centrally from central GPO.

Answered 11/24/2011 by: rich0864
Orange Belt

Please log in to comment
Another solution is to use your local administrator account to be used as a defualt profile. While sysprep erases the old defualt profile, your unattend file can copy the local admin (you mostly likely have sysprep auto log into this account) onto the default profile. This is how I setup all my windows 7 images. Default profile is great for other things not just desktop icons.

This is the line you need in your file.

<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" .....
Answered 11/30/2011 by: Tentacle Master
Fourth Degree Black Belt

Please log in to comment


Answered 03/02/2012 by: haefenpaine
Yellow Belt

Please log in to comment
What method are you using for deploying Windows 7? That could be useful in offering more suggestions.

I use a batch file that makes changes to the registry which allows you to tailor your configuration exactly the way you want it. You can turn those shortcuts on/off in the Start Menu and there is an area in the registry that corresponds.
Answered 03/22/2012 by: robmo
Senior Yellow Belt

Please log in to comment

Another option is to create a custom WIM file that you are using as your base image to deploy Windows 7.  Remove these icons for user profiles.  Make further tweaks to the OS.  Capture a WIM of the computer.  Regardless of your deployment method.  You can use this WIM for your deployments.

Answered 04/11/2012 by: Trinity
Brown Belt

Please log in to comment