Deploy Folder Redirection with Offline Files
Updated: June 22, 2015
Applies To: Windows Vista, Windows XP, Windows 7, Windows 8.1, Windows Server 2008 R2, Windows Server 2012 R2, Windows Server 2012, Windows 8
This topic describes how to use Windows Server to deploy Folder Redirection with Offline Files to Windows client computers.
In this document
Folder Redirection requires an x64-based or x86-based computer; it is not supported by Windows® RT.
Folder Redirection has the following software requirements:
To administer Folder Redirection, 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.1, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, Windows Server 2008, or Windows Server 2003.
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 redirected folders.
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.
When using a clustered file share, disable continuous availability on the file share to avoid performance issues with Folder Redirection and Offline Files. Additionally, Offline Files might not transition to offline mode for 3-6 minutes after a user loses access to a continuously available file share, which could frustrate users who aren’t yet using the Always Offline mode of Offline Files.
To use new features in Folder Redirection, 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 Folder Redirection, the first step is to create a security group that contains all users to which you want to apply Folder Redirection policy settings.
To create a security group for Folder Redirection
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: Folder Redirection Users.
In Group scope, click Security, and then click Global.
In the Members section, click Add. The Select Users, Contacts, Computers, Service Accounts or Groups dialog box appears.
Type the names of the users or groups to which you want to deploy Folder Redirection, click OK, and then click OK again.
If you do not already have a file share for redirected folders, use the following procedure to create a file share on a server running Windows Server 2012.
Some functionality might differ or be unavailable if you create the file share on a server running another version of Windows Server.
To create a file share on Windows Server 2012
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, Users$) in the Share name box.
When creating the share, hide the share by putting a $ after the share name. This will hide the share from casual browsers.
On the Other Settings page, clear the Enable continuous availability checkbox, if present, and 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 Folder Redirection Users group that you created in Step 1.
Figure 1 Setting the permissions for the redirected folders 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 redirected folders
This folder, subfolders and files
This folder only
Subfolders and files only
Security group of users needing to put data on share (Folder Redirection Users)
List folder / read data1
Create folders / append data1
This folder only
Other groups and accounts
1 Advanced permissions
If you do not already have a GPO created for Folder Redirection settings, use the following procedure to create one.
To create a GPO for Folder Redirection
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 Folder Redirection 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, Folder Redirection 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, Folder Redirection Users), and then click OK.
After creating a GPO for Folder Redirection settings, edit the Group Policy settings to enable and configure Folder Redirection, as discussed in the following procedure.
Offline Files is enabled by default for redirected folders on Windows client computers, and disabled on computers running Windows Server, unless changed by the user. To use Group Policy to control whether Offline Files is enabled, use the Allow or disallow use of the Offline Files feature policy setting.
To configure Folder Redirection in Group Policy
In Group Policy Management, right-click the GPO you created (for example, Folder Redirection Settings), and then click Edit.
In the Group Policy Management Editor window, navigate to User Configuration, then Policies, then Windows Settings, and then Folder Redirection.
Right-click a folder that you want to redirect (for example, Documents), and then click Properties.
In the Properties dialog box, from the Setting box click Basic - Redirect everyone’s folder to the same location.
To apply Folder Redirection to client computers running Windows XP or Windows Server 2003, click the Settings tab and select the Also apply redirection policy to Windows 2000, Windows 2000 Server, Windows XP, and Windows Server 2003 operating systems checkbox.
In the Target folder location section, click Create a folder for each user under the root path and then in the Root Path box, type the path to the file share storing redirected folders, for example: \\fs1.corp.contoso.com\users$
Click the Settings tab, and in the Policy Removal section, optionally click Redirect the folder back to the local userprofile location when the policy is removed (this setting can help make Folder Redirection behave more predictably for adminisitrators and users).
Click OK, and then click Yes in the Warning dialog box.
Once you have completed configuring the Folder Redirection Group Policy settings, the next step is to enable the GPO, permitting it to be applied to affected users.
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.
To enable the Folder Redirection GPO
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 Folder Redirection, sign in to a computer with a user account configured for Folder Redirection. Then confirm that the folders and profiles are redirected.
To test Folder Redirection
Sign in to a primary computer (if you enabled primary computer support) with a user account for which you have enabled Folder Redirection.
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:
Open File Explorer.
Right-click a redirected folder (for example, the My Documents folder in the Documents library), and then click Properties.
Click the Location tab, and confirm that the path displays the file share you specified instead of a local path.
1. Prepare domain
2. Create security group for Folder Redirection
3. Create a file share for redirected folders
4. Create a GPO for Folder Redirection
5. Configure Folder Redirection and Offline Files policy settings
6. (Optional) Enable primary computer support
7. Enable the Folder Redirection GPO
8. Test Folder Redirection
Deploy Folder Redirection, Offline Files, and Roaming User Profiles
Deploy Primary Computers for Folder Redirection and Roaming User Profiles
Enable Advanced Offline Files Functionality
Microsoft’s Support Statement Around Replicated User Profile Data
How to Add and Remove Apps
Troubleshooting packaging, deployment, and query of Windows Runtime-based apps