Deploy Folder Redirection With Offline Files - Microsoft Docs
Deploy Folder Redirection With Offline Files - Microsoft Docs
This topic describes how to use Windows Server to deploy Folder Redirection with Offline Files to
Windows client computers.
Important
Due to the security changes made in MS16-072, we updated Step 3: Create a GPO for Folder
Redirection of this topic so that Windows can properly apply the Folder Redirection policy (and
not revert redirected folders on affected PCs).
Prerequisites
Hardware requirements
Software requirements
Note
Some newer features in Folder Redirection have additional client computer and Active Directory
schema requirements. For more info, see Deploy primary computers, Disable Offline Files on
folders, Enable Always Offline mode, and Enable optimized folder moving.
1. Open Server Manager on a computer with Active Directory Administration Center installed.
2. On the Tools menu, select Active Directory Administration Center. Active Directory
Administration Center appears.
3. Right-click the appropriate domain or OU, select New, and then select Group.
4. 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, select Security, and then select Global.
Note
Some functionality might differ or be unavailable if you create the file share on a server running
another version of Windows Server.
Here's how to create a file share on Windows Server 2019, Windows Server 2016, and Windows Server
2012:
1. In the Server Manager navigation pane, select File and Storage Services, and then
select Shares to display the Shares page.
2. In the Shares tile, select Tasks, and then select New Share. The New Share Wizard appears.
3. On the Select Profile page, select SMB Share – Quick. If you have File Server Resource Manager
installed and are using folder management properties, instead select SMB Share - Advanced.
4. On the Share Location page, select the server and volume on which you want to create the
share.
5. On the Share Name page, type a name for the share (for example, Users$) in the Share
name box.
Tip
When creating the share, hide the share by putting a $ after the share name. This will hide
the share from casual browsers.
6. 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.
9. 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
11. If you chose the SMB Share - Advanced profile, on the Quota page, optionally select a quota to
apply to users of the share.
Security group of users needing to put data List folder / read This folder only
on share (Folder Redirection Users) data (Advanced permissions)
Read attributes (Advanced
permissions)
Read extended
attributes (Advanced
permissions)
Read permissions (Advanced
permissions)
3. Right-click the domain or OU in which you want to setup Folder Redirection, then select Create a
GPO in this domain, and Link it here.
4. In the New GPO dialog box, type a name for the GPO (for example, Folder Redirection
Settings), and then select OK.
5. 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.
8. 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 select OK.
Important
Due to the security changes made in MS16-072, you now must give the Authenticated Users
group delegated Read permissions to the Folder Redirection GPO - otherwise the GPO won't get
applied to users, or if it's already applied, the GPO is removed, redirecting folders back to the
local PC. For more info, see Deploying Group Policy Security Update MS16-072.
Note
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. For information about some of the other Offline Files Group Policy settings,
see Enable Advanced Offline Files Functionality, and Configuring Group Policy for Offline Files.
1. In Group Policy Management, right-click the GPO you created (for example, Folder Redirection
Settings), and then select Edit.
2. In the Group Policy Management Editor window, navigate to User Configuration, then Policies,
then Windows Settings, and then Folder Redirection.
3. Right-click a folder that you want to redirect (for example, Documents), and then
select Properties.
5. In the Target folder location section, select 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$
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.
1. Sign in to a primary computer (if you enabled primary computer support) with a user account for
which you have enabled Folder Redirection.
2. 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:
PowerShell Copy
gpupdate /force
4. Right-click a redirected folder (for example, the My Documents folder in the Documents library),
and then select Properties.
5. Select the Location tab, and confirm that the path displays the file share you specified instead of
a local path.
☐ 1. Prepare domain
☐ - Join computers to domain
☐ - Create user accounts