Deploy Roaming User Profiles
Published: September 12, 2012
Updated: September 12, 2012
Applies To: Windows 8, Windows Server 2012
This topic describes how to deploy Roaming User Profiles on Windows Server 2012.
In this document
-
Prerequisites
-
Step 1: Create a roaming user profiles security group
-
Step 2: Create a file share for roaming user profiles
-
Step 3: Create a GPO for Roaming User Profiles
-
Step 4: Optionally set up Roaming User Profiles on user accounts
-
Step 5: Optionally set up Roaming User Profiles on computers
-
Step 6: Enable the Roaming User Profiles GPO
-
Step 7: Test Roaming User Profiles
-
Appendix A: Checklist for deploying Roaming User Profiles
Roaming User Profiles require an x64-based or x86-based computer; it is not supported by Windows® RT.
Roaming User Profiles has the following software requirements:
-
If you are deploying Roaming User Profiles with Folder Redirection in an environment with existing user profiles, deploy Folder Redirection before Roaming User Profiles to minimize the size of roaming profiles. After the existing user folders have been successfully redirected, you can deploy Roaming User Profiles.
-
To administer Roaming User Profiles, you must be signed in as a member of the Domain Administrators security group, the Enterprise Administrators security group, or the Group Policy Creator Owners security group.
-
Client computers must run Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008 R2, Windows Server 2008, or Windows Server 2003. Windows XP and Windows Server 2003 do not support enabling Roaming User Profiles on a per-computer basis.
-
Client computers must be joined to the Active Directory Domain Services (AD DS) that you are managing.
-
A computer must be available with Group Policy Management and Active Directory Administration Center installed.
-
A file server must be available to host roaming user profiles.
-
If the file share uses DFS Namespaces, the DFS folders (links) must have a single target to prevent users from making conflicting edits on different servers.
-
If the file share uses DFS Replication to replicate the contents with another server, users must be able to access only the source server to prevent users from making conflicting edits on different servers.
-
If the file share uses DFS Namespaces, the DFS folders (links) must have a single target to prevent users from making conflicting edits on different servers.
Note |
|---|
| To use new features in Roaming User Profiles, there are additional client computer and Active Directory schema requirements. For more information, see Folder Redirection, Offline Files, and Roaming User Profiles overview. |
If your environment is not already set up with Roaming User Profiles, the first step is to create a security group that contains all users and/or computers to which you want to apply Roaming User Profiles policy settings.
-
Administrators of general-purpose roaming user profiles deployments typically create a security group for users.
-
Adminsitrators of Remote Desktop Services or virtualized desktop deployments typically use a security group for users and the shared computers.
-
Open Server Manager on a computer with Active Directory Administration Center installed.
-
On the Tools menu, click Active Directory Administration Center. Active Directory Administration Center appears.
-
Right-click the appropriate domain or OU, click New, and then click Group.
-
In the Create Group window, in the Group section, specify the following settings:
-
In Group name, type the name of the security group, for example: Roaming User Profiles Users and Computers.
-
In Group scope, click Security, and then click Global.
-
In Group name, type the name of the security group, for example: Roaming User Profiles Users and Computers.
-
In the Members section, click Add. The Select Users, Contacts, Computers, Service Accounts or Groups dialog box appears.
-
If you want to include computer accounts in the security group, click Object Types, select the Computers check box and then click OK.
-
Type the names of the users, groups, and/or computers to which you want to deploy Roaming User Profiles, click OK, and then click OK again.
If you do not already have a file share for roaming user profiles that is separate from redirected folders (to prevent inadvertant caching of the roaming profile folder), use the following procedure to create a file share on a server running Windows Server 2012.
Note |
|---|
| Some functionality might differ or be unavailable if you create the file share on a server running another version of Windows Server. |
-
In the Server Manager navigation pane, click File and Storage Services, and then click Shares to display the Shares page.
-
In the Shares tile, click Tasks, and then click New Share. The New Share Wizard appears.
-
On the Select Profile page, click SMB Share – Quick. If you have File Server Resource Manager installed and are using folder management properties, instead click SMB Share - Advanced.
-
On the Share Location page, select the server and volume on which you want to create the share.
-
On the Share Name page, type a name for the share (for example, UserProfiles$) in the Share name box.
Tip When creating the share, hide the share by putting a $ after the share name. This hides the share from casual browsers. -
On the Other Settings page, optionally select the Enable access-based enumeration and Encrypt data access checkboxes.
-
On the Permissions page, click Customize permissions…. The Advanced Security Settings dialog box appears.
-
Click Disable inheritance, and then click Convert inherited permissions into explicit permission on this object.
-
Set the permissions as described Table 1 and shown in Figure 1, removing permissions for unlisted groups and accounts, and adding special permissions to the Roaming User Profiles Users and Computers group that you created in Step 1.
Figure 1 Setting the permissions for the roaming user profiles share
-
If you chose the SMB Share - Advanced profile, on the Management Properties page, select the User Files Folder Usage value.
-
If you chose the SMB Share - Advanced profile, on the Quota page, optionally select a quota to apply to users of the share.
-
On the Confirmation page, click Create.
Table 1 Required permissions for the file share hosting roaming user profiles
|
User Account |
Access |
Applies to |
|
System |
Full control |
This folder, subfolders and files |
|
Administrators |
Full Control |
This folder only |
|
Creator/Owner |
Full Control |
Subfolders and files only |
|
Security group of users needing to put data on share (Roaming User Profiles Users and Computers) |
List folder / read data1 Create folders / append data1 |
This folder only |
|
Other groups and accounts |
None (remove) |
1 Advanced permissions
If you do not already have a GPO created for Roaming User Profiles settings, use the following procedure to create one. This GPO allows you to configure Roaming User Profiles settings, and can also be used to enable Roaming User Profiles on computers, as is typically done when deploying in virtualized desktop environments or with Remote Desktop Services.
-
Open Server Manager on a computer with Group Policy Management installed.
-
From the Tools menu click Group Policy Management. Group Policy Management appears.
-
Right-click the domain or OU in which you want to setup Roaming User Profiles and then click Create a GPO in this domain, and Link it here.
-
In the New GPO dialog box, type a name for the GPO (for example, Roaming User Profile Settings), and then click OK.
-
Right-click the newly created GPO and then clear the Link Enabled checkbox. This prevents the GPO from being applied until you finish configuring it.
-
Select the GPO. In the Security Filtering section of the Scope tab, select Authenticated Users, and then click Remove.
-
In the Security Filtering section, click Add.
-
In the Select User, Computer, or Group dialog box, type the name of the security group you created in Step 1 (for example, Roaming User Profiles Users and Computers), and then click OK.
If you are deploying Roaming User Profiles to user accounts, use the following procedure to specify roaming user profiles for user accounts in Active Directory Domain Services. If you are deploying Roaming User Profiles to computers, as is typically done for Remote Desktop Services or virtualized desktop deployments, instead use the procedure documented in Step 5 of this topic.
Note |
|---|
| If you set up Roaming User Profiles on user accounts by using Active Directory and on computers by using Group Policy, the computer-based policy setting takes precendence. |
-
In Active Directory Administration Center, navigate to the Users container (or OU) in the appropriate domain.
-
Select all users to which you want to assign a roaming user profile, right-click the users and then click Properties.
-
In the Profile section, select the Profile path: checkbox and then enter the path to the file share where you want to store the user’s roaming user profile, followed by %username% (which is automatically replaced with the user name the first time the user signs in). For example:
\\fs1.corp.contoso.com\User Profiles$\%username%
To specify a mandatory roaming user profile, specify the path to the NTuser.man file that you created previously, for example, \\fs1.corp.contoso.com\User Profiles$\default. For more information, see Creating a Mandatory User Profile.
-
Click OK.
Note |
|---|
By default, deployment of all Windows® Runtime-based apps is allowed when using Roaming User Profiles. However, when using a special profile, apps are not deployed by default. Special profiles are user profiles where changes are discarded after the user signs out:
|
If you are deploying Roaming User Profiles to computers, as is typically done for Remote Desktop Services or virtualized desktop deployments, use the following procedure. If you are deploying Roaming User Profiles to user accounts, use the procedure described in Step 4 of this topic.
You can use Group Policy to apply Roaming User Profiles to computers running Windows 8, Windows 7, Windows Vista, Windows Server 2012, Windows Server 2008 R2, or Windows Server 2008.
Note |
|---|
| If you set up Roaming User Profiles on computers by using Group Policy and on user accounts by using Active Directory, the computer-based policy setting takes precendence. |
-
Open Server Manager on a computer with Group Policy Management installed.
-
From the Tools menu click Group Policy Management. Group Policy Management appears.
-
In Group Policy Management, right-click the GPO you created in Step 3 (for example, Folder Redirection and Roaming User Profiles Settings), and then click Edit.
-
In the Group Policy Management Editor window, navigate to Computer Configuration, then Policies, then Administrative Templates, then System, and then User Profiles.
-
Right-click Set roaming profile path for all users logging onto this computer and then click Edit.
Tip A user's home folder, if configured, is the default folder used by some programs such as Windows PowerShell. You can configure an alternative local or network location on a per-user basis by using the Home folder section of the user account properties in AD DS. To configure the home folder location for all users of a computer running Windows 8 or Windows Server 2012 in a virtual desktop environment, enable the Set user home folder policy setting, and then specify the file share and drive letter to map (or specify a local folder). Do not use environment variables or ellipses. The user’s alias is appended to the end of the path specified during user sign on. -
In the Properties dialog box, click Enabled
-
In the Users logging onto this computer should use this roaming profile path box, enter the path to the file share where you want to store the user’s roaming user profile, followed by %username% (which is automatically replaced with the user name the first time the user signs in). For example:
\\fs1.corp.contoso.com\User Profiles$\%username%
To specify a mandatory roaming user profile, which is a preconfigured profile to which users cannot make permanent changes (changes are reset when the user signs out), specify the path to the NTuser.man file that you created previously, for example, \\fs1.corp.contoso.com\User Profiles$\default. For more information, see Creating a Mandatory User Profile.
-
Click OK.
If you set up Roaming User Profiles on computers by using Group Policy, or if you customized other Roaming User Profiles settings by using Group Policy, the next step is to enable the GPO, permitting it to be applied to affected users.
Tip |
|---|
| If you plan to implement primary computer support or other policy settings, do so now, before you enable the GPO. This prevents user data from being copied to non-primary computers before primary computer support is enabled. |
-
Open Group Policy Management.
-
Right-click the GPO that you created and then click Link Enabled. A checkbox appears next to the menu item.
To test Roaming User Profiles, sign in to a computer with a user account configured for Roaming User Profiles, or sign in to a computer configured for Roaming User Profiles. Then confirm that the profile is redirected.
-
Sign in to a primary computer (if you enabled primary computer support) with a user account for which you have enabled Roaming User Profiles enabled. If you enabled Roaming User Profiles on specific computers, sign in to one of these computers.
-
If the user has previously signed in to the computer, open an elevated command prompt, and then type the following command to ensure that the latest Group Policy settings are applied to the client computer:
GpUpdate /Force
-
To confirm that the user profile is roaming, open Control Panel, click System and Security, click System, click Advanced System Settings, click Settings in the User Profiles section and then look for Roaming in the Type column.
|
1. Prepare domain |
|
|
|
|
|
|
|
|
2. Create security group for Roaming User Profiles |
|
|
|
|
|
|
3. Create a file share for Roaming User Profiles |
|
|
|
|
4. Create a GPO for Roaming User Profiles |
|
|
|
|
5. Configure Roaming User Profiles policy settings |
|
|
6. Enable Roaming User Profiles: |
|
|
|
|
|
|
7. Enable primary computer support |
|
|
|
|
|
|
|
|
8. Enable the Roaming User Profiles GPO |
|
|
9. Test Roaming User Profiles |
See Also
Concepts
Deploy Folder Redirection, Offline Files, and Roaming User ProfilesDeploy Primary Computers for Folder Redirection and Roaming User Profiles
Other Resources
Implementing User State ManagementMicrosoft’s Support Statement Around Replicated User Profile Data
How to Add and Remove Apps
Troubleshooting packaging, deployment, and query of Windows Runtime-based apps

Note