In a Windows AD environment with Windows 7 clients I am looking for ways of providing departmental admins with means to maintain mandatory profiles for their respective users. As settings required within the mandatory profile are going to change with every new client application installation, I need to find a mode where mandatory profiles could be changed effortlessly on demand.
On from Windows Vista, the procedure of creating a mandatory profile has changed substantially. The official documentation mandates the creation of a default user profile, which in turn requires a run of
sysprep /oobe /reboot /generalize /unattend: unattend.xml
to create the default user profile. It also states
Other methods of creating default user profiles exist. [...] However, the steps that this section describes are the only steps that Microsoft supports for customizing a default user profile. These steps clean the source user profile so that it supports multiple users.
As I cannot burden the mentioned admins with running sysprep
on every profile change, I would need the details about the "cleaning" of the source user profile done by the WAIK's CopyProfile
so I could mimic this procedure through scripting.
Another approach might be to create the profile with the sysprep
method once and export settings changes from another template profile on demand by scripting. For this to work reliably, I would need to know which keys in the mandatory profile must not be overwritten.
In the past, I have done something similar with Windows XP workstations by simply exporting the registry of a (special) user logged on with the mandatory profile using a reg export
call directly to the respective .MAN file. With the latest changes in profile handling, I am all but sure that this still would be a sane way to handle it.
Insight and references much appreciated.