Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

All Customizations to Default User Profile Lost


Symptoms

You set the CopyProfile property to TRUE in an unattended .XML answer file and run sysprep.exe using the steps in Microsoft Knowledge base article KB973289 to copy the customizations in the current user profile to the Default User profile for a computer running Windows Vista or later. However, you find that the customizations (e.g background desktop, desktop shortcuts, screensaver, etc.) do not appear when you log on as a new user after running sysprep.

↑ Back to the top


Cause

This behavior may occur when multiple user profile accounts exist in Windows.


↑ Back to the top


Resolution

Delete all the user account profiles except the Administrator built-in account using the User Accounts control panel and make the customizations using the local Administrator built-in user account.

↑ Back to the top


More Information

During the 'Specialize phase' of Sysprep, Sysprep.exe looks at the Last Modified Date of the ntuser.dat file for each user profile to determine which user profile to copy to the default user profile. However, the earlier cleanup functions of sysprep.exe loads each Ntuser.dat file to make security ID (SID)generalizations. You cannot predetermine which user profile will be copied if more than one user profile exists.

You can confirm which user profile was copied to the Default user profile by opening the file %systemroot%\panther\unattendgc\setupact.log and searching for lines similar to the following (in the 'specialize' pass):
 
   [shell unattend] CopyProfileDirectory from c:\Users\Administrator succeeded.
   [shell unattend] CopyProfile succeeded.

In this example, the built-in local Administrator account was copied to the default user profile.


See the following Knowledge Base article for more information about customizing the Default User Profile:

973289 How to customize default user profiles in Windows 7 and in Windows Server 2008 R2
http://support.microsoft.com/default.aspx?scid=kb;EN-US;973289




↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2101557
Revision : 1
Created on : 1/7/2017
Published on : 5/28/2010
Exists online : False
Views : 143