Implementing Folder Redirection
You can use Group Policy to implement Folder Redirection in enterprise environments. The policy settings for configuring Folder Redirection of known folders is found under User Configuration\Policies\Windows Settings\Folder Redirection.
To implement Folder Redirection in an AD DS environment, follow these steps:
- Create a share on the file server where you will be storing redirected folders and assign suitable permissions to this share. (See the sidebar titled "Direct from the Source: Securing Redirected Folders" later in this tutorial for information on the permissions needed for this share.)
- Create a Folder Redirection Group Policy object (GPO) or use an existing GPO and link it to the organizational unit (OU) that contains the users whose folders you want to redirect.
- Open the Folder Redirection GPO in the Group Policy Object Editor and navigate to User Configuration\Policies\Windows Settings\Folder Redirection. Configure each Folder Redirection policy as desired.
Note Group Policy may take up to two processing cycles to apply GPOs that contain Folder Redirection settings successfully. This occurs because Windows XP and later versions have Fast Logon Optimization, which basically applies Group Policy in the background asynchronously. Some parts of Group Policy, such as Software Installation and Folder Redirection, require Group Policy to apply synchronously, however. This means that on first policy application, Folder Redirection policy is recognized, but because it is applied asynchronously, it cannot be processed immediately. Therefore, Group Policy flags synchronous application to occur on the next logon.
Securing Redirected Folders
The following recommendations for secure Folder Redirection permissions are based on Microsoft Knowledge Base article 274443.
When using Basic Redirection, follow these steps to make sure that only the user and the domain administrators have permissions to open a particular redirected folder:
- Select a central location in your environment where you want to store Folder Redirection and then share this folder. This example uses FLDREDIR.
- Set Share Permissions for the Authenticated Users group to Full Control.
- Use the following settings for NTFS Permissions:
- CREATOR OWNER - Full Control (Apply to: Subfolders And Files Only)
- System - Full Control (Apply to: This Folder, Subfolders, And Files)
- Domain Admins - Full Control (Apply to: This Folder, Subfolders, And Files) (This is optional and is needed only if you require that administrators have full control.)
- Authenticated Users - Create Folder/Append Data (Apply to: This Folder Only)
- Authenticated Users - List Folder/Read Data (Apply to: This Folder Only)
- Authenticated Users - Read Attributes (Apply to: This Folder Only)
- Authenticated Users - Traverse Folder/Execute File (Apply to: This Folder Only)
- Use the option Create A Folder For Each User under the redirection path or the option Redirect To The Following Location and use a path similar to \\Server \FLDREDIR\%Username% to create a folder under the shared folder, FLDREDIR.
When using Advanced Redirection, follow these steps:
- Select a central location in your environment where you want to store Folder Redirection and then share this folder. This example uses FLDREDIR.
- Set Share Permissions for the Authenticated Users group to Full Control.
- Use the following settings for NTFS Permissions:'
- CREATOR OWNER - Full Control (Apply to: Subfolders And Files Only)
- System - Full Control (Apply to: This Folder, Subfolders, And Files)
- Domain Admins - Full Control (Apply to: This Folder, Subfolders, And Files) (This option is required only if you want administrators to have full control.)
- <each group listed in policy> - Create Folder/Append Data (Apply to: This Folder Only)
- <each group listed in policy> - List Folder/Read Data (Apply to: This Folder Only)
- <each group listed in policy> - Read Attributes (Apply to: This Folder Only)
- <each group listed in policy> - Traverse Folder/Execute File (Apply to: This Folder Only)
- Use the option Create A Folder For Each User under the redirection path or use the option Redirect To The Following Location and use a path similar to \\Server \FLDREDIR\%Username% to create a folder under the shared folder, FLDREDIR.
When using advanced Folder Redirection policies, you must complete the last four steps in the preceding list for each group listed in the policy. Most likely, the user will belong to only one of these groups, but for the user folder to create properly, the access control lists (ACLs) on the resource must account for all the groups listed in the Folder Redirection settings. Additionally, one hopes that the administrator will use Group Policy filtering to ensure that only the users listed in the Folder Redirection policy settings actually apply the policy. Otherwise, it's just a waste of time because the user will try to apply the policy, but Folder Redirection will fail because the user is not a member of any of the groups within the policy. This creates a false error condition in the event log, but it's actually a configuration issue.
In this tutorial:
- Managing Users and User Data
- Understanding User Profiles in Windows 7
- Types of User Profiles
- User Profile Namespace
- User Profile Namespace in Windows XP
- User Profile Namespace in Windows Vista and Windows 7
- Application Compatibility Issue
- Disabling Known Folders
- Windows 7 Understanding Libraries
- Working with Libraries
- Including Indexed Folders in a Library
- Adding Nonindexed Remote Locations to a Library
- Creating Additional Libraries
- Managing Libraries
- Implementing Corporate Roaming
- Understanding Roaming User Profiles and Folder Redirection
- Understanding Roaming User Profiles in Earlier Versions of Windows
- Understanding Folder Redirection in Earlier Versions of Windows
- Enhancements to Roaming User Profiles and Folder Redirection Previously Introduced in Windows Vista
- Additional Enhancements to Roaming User Profiles and Folder Redirection Introduced in Windows 7
- Improved First Logon Performance With Folder Redirection
- Implementing Folder Redirection
- Configuring the Redirection Method
- Configuring Target Folder Location
- Configuring Redirection Options
- Configuring Policy Removal Options
- Folder Redirection and Sync Center
- Considerations for Mixed Environments
- Additional Group Policy Settings for Folder Redirection
- Troubleshooting Folder Redirection
- Implementing Roaming User Profiles
- Creating a Default Network Profile
- Configuring a User Account to Use a Roaming Profile
- Implementing Mandatory Profiles
- Implementing Super-Mandatory Profiles
- Managing User Profiles Using Group Policy
- Working with Offline Files
- Enhancements to Offline Files Introduced Previously in Windows Vista
- Additional Enhancements to Offline Files Introduced in Windows 7
- Understanding Offline File Sync
- Modes of Operation in Offline Files
- Managing Offline Files
- Managing Offline Files Using Windows Explorer
- Managing Offline Files Using the Offline Files Control Panel
- Managing Offline Files Using Sync Center
- Configuring Offline Files on the Server
- Managing Offline Files Using Group Policy
- Offline Files Policy Settings Introduced in Windows Vista
- Additional Offline Files Policy Settings for Windows 7