Deploy Folder Redirection with Offline Files (2024)

  • Article

Applies To: Windows 11, Windows 10, Windows Server 2022, Windows Server 2019, Windows Server 2016

This article describes the requirements for deploying Folder Redirection and Offline Files together, including the steps that you need to follow to control access to the redirected files.

Prerequisites

Before you begin, make sure your environment meets the following requirements.

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.

File server requirements

The file server is the computer that hosts the redirected folders. Make sure your file server meets the following requirements.

Interoperability with Remote Desktop Services

Your remote access configuration affects how you configure the file server, file shares, and policies. If your file server also hosts Remote Desktop Services, there are a few deployment steps that differ.

  • 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 precreate 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 remote access configurations. The procedures or steps that are specific to one configuration or the other are labeled as such.

Restricting access

Apply the following changes to the file server, as appropriate for your configuration:

  • All configurations: Make sure 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 don't 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.

Interoperability with other storage features

To make sure Folder Redirection and Offline Files interact correctly with other storage features, check the following configurations.

  • 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. When continuous availability is enabled, Offline Files might not transition to offline mode for 3-6 minutes after a user loses access to the file share. The delay could frustrate users who aren’t yet using the Always Offline mode of Offline Files.

Client requirements

  • Client computers must run Windows 11, Windows 10, Windows Server 2022, Windows Server 2019, or Windows Server 2016.
  • Client computers must be joined to the Active Directory Domain Services (AD DS) domain that you're managing.
  • Client computers must run x64-based or x86-based processors. Folder Redirection isn't supported on PCs powered by ARM processors.

Important

Some newer features in Folder Redirection have additional client computer and Active Directory schema requirements. For more information, see Deploy primary computers for Folder Redirection and Roaming User Profiles, Disable Offline Files on individual redirected folders, Enable Always Offline mode for faster access to files, and Enable optimized moves of redirected folders.

Step 1: Create a folder redirection security group

If you're running Remote Desktop Services on the file server, skip this step. Instead, assign permissions to the users when you precreate folders for new users.

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.

If you don't already have a file share for redirected folders, use the following procedure to create a file share on a server that runs Windows Server 2016 or a later version.

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.

  3. On theSelect Profilepage, choose the option that corresponds to your File Server Resource Manager configuration:

    • If you have File Server Resource Manager installed and are using folder management properties, selectSMB Share - Advanced.
    • If you don't have File Server Resource Manager installed or you aren't using folder management properties, selectSMB Share – Quick.
  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, enter a name for the share (for example, Users$) in the Share name box.

    Tip

    When you create the share, hide the share by putting a $ (dollar sign) after the share name. This change hides the share from casual browsers.

  6. On the Other Settings page, clear the Enable continuous availability checkbox, if present. Optionally, select the Enable access-based enumeration and Encrypt data access checkboxes.

  7. On the Permissions page, select Customize permissions to open the Advanced Security Settings dialog box.

  8. Select Disable inheritance, and then select Convert inherited permissions into explicit permission on this object.

  9. Set the permissions as described in the following tables and figures.

    Important

    The permissions that you use depend on your remote access configuration, so make sure you use the correct table.

    • Permissions for file servers without Remote Desktop Services

      User AccountPermissionApplies to
      SystemFull ControlThis folder, subfolders, and files
      AdministratorsFull ControlThis folder only
      Creator/OwnerFull ControlSubfolders and files only
      Security group of users who need to put data on the share (Folder Redirection Users)List folder/read data1
      Createfolders/append data1
      Read attributes1
      Read extended attributes1
      Read permissions1
      Traverse folder/execute file1
      Thisfolderonly
      Other groups and accountsNone (Remove any accounts that this table doesn't list)

      1 Advanced permissions

      Deploy Folder Redirection with Offline Files (1)

    • Permissions for file servers with Remote Desktop Services

      User Account or RolePermissionApplies to
      SystemFull ControlThis folder, subfolders, and files
      AdministratorsFull ControlThis folder, subfolders, and files
      Creator/OwnerFull ControlSubfolders and files only
      Other groups and accountsNone (remove any other accounts from the access control list)

      Deploy Folder Redirection with Offline Files (2)

  10. If you chose theSMB Share - Advancedprofile earlier in this procedure, follow these extra steps:

    • On theManagement Propertiespage, select theUser FilesFolder Usage value.
    • Optionally, select a quota to apply to users of the share.
  11. On the Confirmation page, select Create.

Step 3: Precreate folders for new users on servers that also host Remote Desktop Services

If the file server also hosts Remote Desktop Services, use the following procedure to precreate folders for new users and assign the appropriate permissions to the folders.

  1. In the file share that you created in the previous procedure, navigate to the file share's root folder.

  2. Use one of the following methods to create a new folder.

    • 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:

      New-Item -Path 'c:\shares\frdeploy\<newuser>' -ItemType Directory

      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 aren't listed here.

    User AccountPermissionApplies to
    SystemFull controlThis folder, subfolders, and files
    AdministratorsFull ControlThis folder, subfolders, and files
    Creator/OwnerFull ControlSubfoldersand filesonly
    newuser1Full ControlThis folder, subfolders, and files
    Other groups and accountsNone (remove any other accounts from the access control list)

    1 newuser represents the user name of the new user's account.

    Deploy Folder Redirection with Offline Files (3)

Step 4: Create a GPO for Folder Redirection

If you don't already have a Group Policy object (GPO) that manages the Folder Redirection and Offline Files functionality, use the following procedure to create one.

  1. On a computer that has Group Policy Management installed, open Server Manager.

  2. Select Tools > Group Policy Management.

  3. In Group Policy Management, right-click the domain or OU in which you want to set up Folder Redirection, and then select Create a GPO in this domain, and Link it here.

  4. In the New GPO dialog box, enter 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 change prevents the GPO from being applied until you finish configuring it.

  6. Select the GPO. Select Scope > Security Filtering > Authenticated Users, and then select Remove to prevent the GPO from being applied to everyone.

  7. In the Security Filtering section, select Add.

  8. In the Select User, Computer, or Group dialog box, configure the option that corresponds to your configuration:

    • File servers without Remote Desktop Services: Enter the name of the security group that you created in Step 1: Create a folder redirection security group (for example, Folder Redirection Users), and then select OK.
    • File servers with Remote Desktop Services: Enter the user name that you used for the user folder in Step 3: Precreate folders for new users on servers that also host Remote Desktop Services and then select OK.
  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 must give the Authenticated Users group delegated Read permissions to the Folder Redirection GPO. If you don't, the GPO isn't applied to users, or if it's already applied, the GPO is removed, redirecting folders back to the local PC. For more information, see Deploying Group Policy Security Update MS16-072.

Step 5: Configure the Group Policy settings for Folder Redirection and Offline Files

After you create a GPO for Folder Redirection settings, follow these steps to edit the Group Policy settings that enable and configure Folder Redirection.

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.

  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.

  3. Right-click a folder that you want to redirect (for example, Documents), and then select Properties.

  4. In the Properties dialog box, from the Settings box, select Basic - Redirect everyone’s folder to the same location.

    (Optional) In the Policy Removal section, select 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 administrators and users.

  5. In the Target folder location section, select Create a folder for each user under the root path.

  6. In the Root Path box, enter the path to the file share that stores the redirected folders, such as \\fs1.corp.contoso.com\users$.

  7. Select OK, and then select Yes in the Warning dialog box.

Step 6: Enable the Folder Redirection GPO

After you finish configuring the Folder Redirection Group Policy settings, the next step is to enable the GPO. This change allows the GPO 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. Implementing these settings prevents user data from being copied to non-primary computers before primary computer support is enabled.

  1. Open Group Policy Management.
  2. Right-click the GPO that you created, and then select Link Enabled. A checkbox appears next to the menu item.

Step 7: Test Folder Redirection

To test Folder Redirection, sign in to a computer by using a user account that is configured to use redirected folders. Then confirm that the folders and profiles are redirected.

  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 enter the following command to ensure that the latest Group Policy settings are applied to the client computer:

    gpupdate /force
  3. Open File Explorer.

  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.

Appendix A: Checklist for deploying Folder Redirection

CompleteTask or item
Prepare domain and other prerequisites
- Join computers to domain
- Create user accounts
- Check file server prerequisites and compatibility with other services
- Does the file server also host Remote Desktop Services?
- Restrict access to the file server
Step 1: Create a folder redirection security group
- Group name:
- Members:
Step 2: Create a file share for redirected folders
- File share name:
Step 3: Precreate folders for new users on servers that also host Remote Desktop Services
Step 4: Create a GPO for Folder Redirection
- GPO name:
Step 5: Configure the Group Policy settings for Folder Redirection and Offline Files
- Redirected folders:
- Windows 2000, Windows XP, and Windows Server 2003 support enabled?
- Offline Files enabled? (enabled by default on Windows client computers)
- Always Offline Mode enabled?
- Background file synchronization enabled?
- Optimized Move of redirected folders enabled?
(Optional) Enable primary computer support:
- Computer-based or User-based?
- Designate primary computers for users
- Location of user and primary computer mappings:
- (Optional) Enable primary computer support for Folder Redirection
- (Optional) Enable primary computer support for Roaming User Profiles
Step 6: Enable the Folder Redirection GPO
Step 7: Test Folder Redirection
  • Folder Redirection, Offline Files, and Roaming User Profiles overview
  • Deploy primary computers for Folder Redirection and Roaming User Profiles
  • Enable Always Offline mode for faster access to files
  • Information about Microsoft support policy for a DFS-R and DFS-N deployment scenario
  • Sideload Apps with DISM
  • Troubleshooting packaging, deployment, and query of Windows apps
Deploy Folder Redirection with Offline Files (2024)

FAQs

Does Folder Redirection enable offline files? ›

After you create a GPO for Folder Redirection settings, follow these steps to edit the Group Policy settings that enable and configure Folder Redirection. By default, the Offline Files feature is enabled for redirected folders on Windows client computers, and disabled on Windows Server computers.

What is the best practice for Folder Redirection? ›

For optimal performance of the Folder Redirection feature, it is strongly recommended that you create only the root share on the server, and then let the system create the folders for each user.

Do not automatically make all redirected folders available offline.? ›

In the console tree, under User Configuration, expand Policies, expand Administrative Templates, expand System, and expand Folder Redirection. Right-click Do not automatically make specific redirected folders available offline and then select Edit.

How to enable offline files in GPO? ›

Type group policy in the search box and then select group policy editor from the start menu list. Step 3. Scroll down the Offline Files Setting and double-click Allow or Disallow the use of Offline Files feature. Then you can enable or disable offline files per your needs.

Is folder redirection a good idea? ›

We use folder redirection and UEM because people roam, if your users are never sat at the same desk or device then this is pretty much a must. Even if they don't, FR will help with backup of their data and allows for them to move or use alternative devices if needs be. The best part is backing documents up.

What is the purpose of offline files? ›

The offline files setting allows you to access copies of your network files even when you can't connect to the network. However, this setting can cause several problems when using Lacerte or ProSeries, including: Not being able to view or modify client files in Lacerte (any year), when others can.

What are the disadvantages of Folder Redirection? ›

The downside of folder redirection is that it requires a lot of disk space on the server. Also, users can't get to documents when the server is unavailable.

What are the three redirection techniques? ›

Teachers can redirect verbally, physically, with a cue, or by redirecting the child's attention.

What is the Microsoft offline files policy? ›

This policy setting lists network files and folders that are always available for offline use. This ensures that the specified files and folders are available offline to users of the computer. If you enable this policy setting, the files you enter are always available offline to users of the computer.

How do I make a folder available offline? ›

To make files or folders available offline
  1. When your PC is connected to the network, open File Explorer and find the network file or folder you want to make available offline. ...
  2. Select the file or folder, tap or click the Home tab, tap or click Easy access, and then choose Always available offline.

How do offline folders work? ›

Offline Files makes network files available to a user, even if the network connection to the server is unavailable or slow. When working online, file access performance is at the speed of the network and server. When working offline, files are retrieved from the Offline Files folder at local access speeds.

How do I enable offline folders? ›

3 Ways to Enable or Disable Offline Files in Windows 10
  1. Click the Windows 10 Search Bar, type Control Panel, and then open it. ...
  2. On the left side, you'll see the Manage offline files option - click on it to proceed further.
  3. First, click on the Enable offline files option and then click the OK button at the bottom.
Mar 18, 2024

What is the difference between Folder Redirection and roaming profiles? ›

Roaming User Profiles is used to redirect a user profile to a network location, whereas Folder Redirection enables users and administrators to redirect the path of a known folder to a new location, manually or by using Group Policy. So, the latter may allow for more granularity.

How to setup Folder Redirection in group policy? ›

The process to configure folder redirection is straightforward. Within the designated GPO, the administrator should access User Configuration > Policies > Windows Settings > Folder Redirection. Once IT admins right-click the desired folders and select Properties, they can view the configuration options.

What are the default permissions for Folder Redirection? ›

The default permission for Windows folder redirection is to grant the user exclusive rights. This means an administrator does not have read access to the redirected folders to back them up.

What is the purpose of folder redirection? ›

Folder Redirection enables users and administrators to redirect the path of a known folder to a new location, manually or by using Group Policy. The new location can be a folder on the local computer or a directory on a file share.

How do I make a folder accessible offline? ›

To make files or folders available offline
  1. When your PC is connected to the network, open File Explorer and find the network file or folder you want to make available offline. ...
  2. Select the file or folder, tap or click the Home tab, tap or click Easy access, and then choose Always available offline.

How do I know if offline files are enabled? ›

Way 1. Enable/Disable Offline Files by Sync Center
  1. Click the Windows 10 Search Bar, type Control Panel, and then open it. ...
  2. On the left side, you'll see the Manage offline files option - click on it to proceed further.
  3. First, click on the Enable offline files option and then click the OK button at the bottom.
Mar 18, 2024

Top Articles
Latest Posts
Article information

Author: Dean Jakubowski Ret

Last Updated:

Views: 6159

Rating: 5 / 5 (70 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Dean Jakubowski Ret

Birthday: 1996-05-10

Address: Apt. 425 4346 Santiago Islands, Shariside, AK 38830-1874

Phone: +96313309894162

Job: Legacy Sales Designer

Hobby: Baseball, Wood carving, Candle making, Jigsaw puzzles, Lacemaking, Parkour, Drawing

Introduction: My name is Dean Jakubowski Ret, I am a enthusiastic, friendly, homely, handsome, zealous, brainy, elegant person who loves writing and wants to share my knowledge and understanding with you.