In this Article we introduce the new method to configure the default user profile using Automated profile copy with sysprep rather than the old ways such as the manual copy of a configured profile to default user profile
Old method is a traditional solution and it’s not recommended and not supported any more, it was to configure windows account with the required setting, and then copy user profile for this this account to default user profile.
However we may have some problem with this procedure, it’s very old solution (From Windows NT), and this process will copy settings that should not copy to the default user profile.
Also Default user profile contains some run actions that occur when user log on for first time, if you overwrite the default user profile, those run actions will not run.
The New approach we show below is the supported and recommended method by Microsoft.
The following steps describe how to customize default user profiles in Windows 7:
1- Log on to Windows 7 machine using local or administrator account (Don’t use domain admin account).
2- Configure Windows setting that you required (Desktop Settings, Favorite and start menu options).
3- Create “Unattend.xml” file that contains the Copy Profile parameter, by using Windows System Image Manager tool:
The Windows System Image Manager tool is included as part of the Windows Automated Installation Kit (Windows AIK).
- Open Windows System Image Manager.
- Click File menu than choose create a new answer file.
- Browse Windows source directory form Windows 7 DVD, the catalog file in Sources folder.
- The new answer file appears in the Answer File pane.
- Add the following component to an answer file in the specialize pass.
- In the settings set Copy profile to true.
- Save unattend.xml file
These settings will copy profile of the user who is currently logged to default user profile, during sysprep
To run Sysprep, please open command prompt and run it as administrator and run the following command:
sysprep.exe /oobe /reboot /generalize /unattend:c:answerfileunattend.xml
Note:Sysprep.exe is located in the %systemdrive%WindowsSystem32sysprep directory.