Link to home
Start Free TrialLog in
Avatar of TPBPIT
TPBPIT

asked on

Can you stop desktop icons form appearing using Unattend.xml answer file

We have created an unattend.xml file for Windows 7 32 bit.  Everything works fine, but I have one issue that just irritates me.  The answer file joins the computer to the domain and when the computer reboots it comes to the login screen for the domain.  When you login you get all the settings from the default profile and you get a bunch of icons on the desktop that weren't part of the Default Profile.  I get Network, Control Panel, LIbraries and My Documents.  It aggrivates me.  Is there a way to stop this behavior in the unattend.xml file or some other way?  I don't want to do it with a GPO because I want people to be able to add them if they like.  I just don't want them populated from the start.
Avatar of footech
footech
Flag of United States of America image

Sorry to question this right off, but are you SURE they're not part of the default profile?

Are you using local profiles or roaming profiles?
Avatar of TPBPIT
TPBPIT

ASKER

We're using local profiles at this point.  And I'm pretty sure.  While building the image in Audit Mode I checked to make sure they were not turn on in the Desktop Icons settings.  I used an unattend.xml file and it copies the local admin profile to the default.  Yet, when the machine gets on the domain and a user logs in, the icons are there.  Also, there is no GPO causing this behavior.
ASKER CERTIFIED SOLUTION
Avatar of footech
footech
Flag of United States of America 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 TPBPIT

ASKER

I'm going to give you the points for even responding.  We actually found the solution.  We found all the registry values and created a reg key for it.  In the HKCU\software\microsoft\windows\currentcontrolset\runonce we put an entry that points at a batch file on out network.  The batch file imports that reg key and turns off the icons.  As that key is part of the default profile, any new user will get it.  While I don't like audit mode, it does help to make the default profile do what you want it to.