User profiles store user data and information about the desktop settings of the user. User profiles can either be roaming or local. The migration process is different for local and for roaming profiles.
Profile translation is one type of security translation, and profiles are translated during the migration process. If you perform security translation in add mode, the SIDs in the target and the source domains both have access to the profile. Therefore, if you have to roll back to the source environment, the SID in the source domain can use the profile. If you perform security translation in replace mode, you must retranslate the profile by using a SID mapping file (undoing the security translation) to roll back to the source environment.
Some organizations might choose not to migrate user profiles. Other organizations might choose to replace users’ workstations during the user account migration process, and use a tool such as the User State Migration Tool (USMT) to migrate user data and settings to the users' new computers. The following table summarizes the migration requirements for user profiles.
A roaming profile location is configured for a domain user account, and specified in the following way:
\\host.name.fqdn\ProfileShare\<profilename>
Typically <profilename> is replaced with %username%. Thus the actual location of a roaming profile for user RoamUserX is:
\\host.name.fqdn\ProfileShare\RoamUserX
The roaming profile folder (in this example, RoamUserX) is created at the time of first logon for RoamUserX, and the actual profile data is stored within that folder.
In Windows Vista, a change was made to profiles that made them incompatible with previous versions of Windows. To differentiate the new profiles, a .V2 extension was added to all roaming profiles for users on computers running Windows Vista and later.
The location of a roaming profile for the same user RoamUserX for a computer that runs Windows Vista or Windows 7 is:
\\host.name.fqdn\ProfileShare\RoamUserX.V2
This version can co-exist with a roaming profile for an earlier version of Windows.
Only ADMT v3.2 distinguishes the two different profile folder names. Earlier versions of ADMT only look for the folder called <profilename> and do not try to locate a V2 profile if it exists. Therefore, earlier versions of ADMT do not migrate roaming profiles for computers running Windows Vista and Windows 7.
In order to migrate a roaming profile folder using ADMT v3.2, the default access control list of the folder needs to be modified. By default, when a user logs on and the roaming profile folder and contents are created, the <profilename> or <profilename>.V2 folders are given the following ACLs:
-
SYSTEM – Full Control
-
user_name - Full Control
-
Owner = user_name
Therefore, only the owner of the profile, and the local system on which the share resides, are able to access the <profilename> or <profilename>.V2 folder. When the folder is assigned those default permissions, ADMT cannot access the folder for security translation.
To configure the folder permissions in order to allow ADMT v3.2 to migrate the roaming profile, you can enable a Group Policy setting for the domain. In Windows Server 2008 R2, the setting is:
Computer Configuration\Policies\Administrative Templates\System\User Profiles\Add the Administrators security group to the roaming user profiles
If this setting enabled and propagated before the first logon of the user (before the roaming profile is created), then the roaming profile directory will have an added permission that grants Full Control to members of the Administrators group of the share host (host.name.fqdn in this example).
After this setting is enabled, migrations can be performed as long as the user who runs ADMT v3.2 is included in the Administrators group of the share.
The user who runs ADMT user needs Full Control access on the roaming profile folders. To achieve that, you can try one of the following options:
-
-
As a user with administrative access on the share computer (host.name.fqdn in this example), take ownership of the profile directories. This will give the ability to adjust ACLs as necessary.
-
Add the user who runs ADMT to the ACL with Full Control and have the permission inherited to all subfolders and files.
-
Perform the migrations.
-
After the migration, restore the migrated as the owner of their own profile directory.
-
Create a script (for example, using Windows PowerShell) that performs that following:
-
Executes as SYSTEM on the share computer (host.name.fqdn in the example)
-
Adds the Administrators security group to the ACL set of the profile folders – propagating to all subfolders and files
-
Adds the Administrators security group with Full Control to the ACL set of the profile folders and have the permission inherited to all subfolders and files.
-
Create a script (for example, using Windows PowerShell) that performs that following:
-
Runs in the context of each roaming user (for example, as a logon task).
-
Adds the Administrators security group with Full Control to the ACL set of the profile folders and have the permission inherited to all subfolders and files.