Learn Microsoft Com en Us Windows Server Storage Folder Redirection Deploy Folder Redirection
Learn Microsoft Com en Us Windows Server Storage Folder Redirection Deploy Folder Redirection
Windows Server Get started Failover clustering Management Identity and access Networking Troubleshooting Related products S
Storage
What's new in Storage Deploy Folder Redirection with offline files
T Data Deduplication Article • 02/15/2023 • 13 minutes to read • 18 contributors ツ Feedback
T DFS Namespaces
T DFS Replication In this article
Disk Management Prerequisites
T File Server and SMB Step 1: Create a folder redirection security group
T File Server Resource Manager Step 2: Create a file share for redirected folders
Folder Redirection and Roaming User Profiles Step 3: Pre-create folders for new users on servers that also host Remote Desktop Services
T
Folder Redirection and Roaming User Step 4: Create a GPO for Folder Redirection
Profiles Step 5: Configure the Group Policy settings for Folder Redirection and Offline Files
Step 6: Enable the Folder Redirection GPO
Deploy Roaming User Profiles
Step 7: Test Folder Redirection
Deploy Folder Redirection
Appendix A: Checklist for deploying Folder Redirection
Deploy primary computers Change history
Disable Offline Files on folders More information
Enable always offline mode
Enable optimized folder moving Applies to: Windows Server 2022, Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Vista, Windows Server
Troubleshoot user profiles 2019, Windows Server 2016, Windows Server 2012, Windows Server 2012 R2, Windows Server 2008 R2.
T iSCSI
T ReFS
This article describes the requirements for deploying the Folder Redirection and Offline Files features together, including the
steps that you need to follow to control access to the redirected files.
T Storage Migration Service
T Storage Replica
) Important
T Storage Spaces
T Storage Spaces Direct Because of the security changes made in MS16-072 ), we updated Step 4: Create a GPO for Folder Redirection of this
T Work Folders article so that Windows can properly apply the Folder Redirection policy (and not revert redirected folders on affected
client computers).
Storage QoS
Change history for Storage topics
For a list of recent changes to this article, see Change history.
Prerequisites
Administration 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.
A computer must be available that has Group Policy Management and Active Directory Administration Center installed.
You don't have to create a security group for folder redirection users.
You have to configure different permissions on the file share that hosts the redirected folders.
You have to pre-create folders for new users, and set specific permissions on those folders.
) Important
Most of the procedures in the rest of this section apply to both configurations. The procedures or steps that are specific to
one configuration or the other are labeled as such.
Restricting access
Download PDF
Apply the following changes to the file server, as appropriate for your configuration:
All configurations. Make sure that only required IT administrators have administrative access to the file server. The
procedure in the next step configures access for the individual file shares.
Servers that do not also host Remote Desktop Services. Disable the Remote Desktop Services service (termserv) on
your file server if it's not also hosting Remote Desktop Services.
This procedure creates a security group that contains all users to which you want to apply Folder Redirection policy settings.
1. On a computer that has Active Directory Administration Center installed, open Server Manager.
2. Select Tools > Active Directory Administration Center. Active Directory Administration Center appears.
3. Right-click the appropriate domain or OU, and then select New > Group.
4. In the Create Group window, in the Group section, specify the following settings:
In Group name, enter the name of the security group, for example: Folder Redirection Users.
In Group scope, select Security > Global.
5. In the Members section, select Add. The Select Users, Contacts, Computers, Service Accounts or Groups dialog box
appears.
6. Enter the names of the users or groups to which you want to deploy Folder Redirection, select OK, and then select OK
again.
7 Note
Some functionality might differ or be unavailable if you create the file share on a server that runs a different version of
Windows Server.
1. In the Server Manager navigation pane, select File and Storage Services > Shares to display the Shares page.
2. In the Shares page, select Tasks > New Share. The New Share Wizard appears.
Download PDF 3. On the Select Profile page, do one of the following:
If you have File Server Resource Manager installed and are using folder management properties, select SMB Share -
Advanced.
If you do not have File Server Resource Manager installed or you are not using folder management properties,
select SMB Share – Quick.
4. On the Share Location page, select the server and volume on which you want to create the share.
Filter by title
5. On the Share Name page, type a name for the share (for example, Users$) in the Share name box.
Storage
What's new in Storage
Tip
T Data Deduplication
T DFS Namespaces When you create the share, hide the share by putting a $ after the share name. This change hides the share from
T DFS Replication casual browsers.
Disk Management
T File Server and SMB 6. On the Other Settings page, clear the Enable continuous availability checkbox, if present. Optionally, select the Enable
T File Server Resource Manager access-based enumeration and Encrypt data access checkboxes.
Folder Redirection and Roaming User Profiles 7. On the Permissions page, select Customize permissions to open the Advanced Security Settings dialog box.
T
Other groups and accounts None (Remove any accounts that this
table does not list)
1 Advanced permissions
Other groups and accounts None (remove any other accounts from the access control list)
Filter by title
Storage
What's new in Storage
T Data Deduplication
T DFS Namespaces
T DFS Replication
Disk Management
T File Server and SMB
T File Server Resource Manager
Folder Redirection and Roaming User Profiles
T
T
Storage Replica
Storage Spaces
also host Remote Desktop Services
T Storage Spaces Direct If the file server also hosts Remote Desktop Services, use the following procedure to pre-create folders for new users and
T Work Folders assign the appropriate permissions to the folders.
Storage QoS 1. In the file share that you created in the previous procedure, navigate to the file share's root folder.
Change history for Storage topics
2. Create a new folder. You can use one of the following methods:
Right-click the root folder, and then select New > Folder. For the name of the folder, enter the user name of the new
user.
Alternatively, to use Windows PowerShell to create the new folder, open a PowerShell Command Prompt window
and run the following cmdlet:
7 Note
In this command, <newuser> represents the user name of the new user.
3. Right-click the new folder, and then select Properties > Security > Advanced > Owner. Verify that the folder owner is
the Administrators group.
4. Set the permissions as described in the following table and figure. Remove permissions for any groups and accounts that
are not listed here.
Other groups and accounts None (remove any other accounts from the access control list)
Download PDF
Filter by title
Storage
What's new in Storage
T Data Deduplication
T DFS Namespaces
T DFS Replication
Disk Management
T File Server and SMB
T File Server Resource Manager
Folder Redirection and Roaming User Profiles
T
9. Select Delegation > Add, and then enter Authenticated Users. Select OK, and then select OK again to accept the default
Read permission.
) Important
This step is necessary because of 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 .
7 Note
By default, the Offline Files feature is enabled for redirected folders on Windows client computers, and disabled on
Windows Server computers. Users can enable this feature, or you can use Group Policy to control it. The policy is Allow or
disallow use of the Offline Files feature.
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.
Download PDF
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 > Policies > Windows Settings >
Folder Redirection.
Filter by title 3. Right-click a folder that you want to redirect (for example, Documents), and then select Properties.
Storage 4. In the Properties dialog box, from the Setting box, select Basic - Redirect everyone’s folder to the same location.
What's new in Storage
T Data Deduplication 7 Note
T DFS Namespaces
To apply Folder Redirection to client computers that run Windows XP or Windows Server 2003, select the Settings
DFS Replication
tab and then select the Also apply redirection policy to Windows 2000, Windows 2000 Server, Windows XP, and
T
1. Sign in to a primary computer (if you enabled primary computer support) by using 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:
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 that you specified instead of a local path.
- Group name:
- Members:
Filter by title
Step 2: Create a file share for redirected folders
Storage
- File share name:
What's new in Storage
T Data Deduplication Step 3: Pre-create folders for new users on servers that also host Remote Desktop Services
T DFS Namespaces Step 4: Create a GPO for Folder Redirection
T DFS Replication - GPO name:
Disk Management
Step 5: Configure the Group Policy settings for Folder Redirection and Offline Files
T File Server and SMB
T File Server Resource Manager - Redirected folders:
Folder Redirection and Roaming User Profiles - Windows 2000, Windows XP, and Windows Server 2003 support enabled?
T
Storage QoS
Change history for Storage topics
Change history
The following table summarizes some of the most important changes to this topic.
March Added instructions for different configurations. Changes required to improve access
9, 2021 control in different configurations.
January Added a step to Create a GPO for Folder Redirection to delegate Read permission to Customer feedback.
18, Authenticated Users, which is now required because of a Group Policy security update.
2017
More information
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
Sideload Apps with DISM
Troubleshooting packaging, deployment, and query of Windows Runtime-based apps
Recommended content
Deploying Roaming User Profiles
Learn more about: Deploying Roaming User Profiles
Download PDF