Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2 Windows Server 2008
Use the Group Policy Object Editor snap-in to redirect special folders to network locations.
The primary tasks that pertain to configuring Folder Redirection include:
- Creating or selecting a GPO for Folder Redirection.
- Selecting Basic or Advanced Folder Redirection options. Advanced redirection allows you to apply the redirection to users that belong in a specified security group.
- Identifying the target folder location. You can redirect folders to any of the following locations:
- The root of a network file share
- A folder on a network share
- A local folder
- A home directory (only applicable if you have existing home directories in your environment)
- The root of a network file share
- Setting permissions for root folders and users’ folders.
- If you allow Folder Redirection to create the redirected folders on a specified network, the folders that are created in this way have proper permissions assigned to them. If you create the folders manually, you must make sure that permissions are properly assigned.
Redirecting Special Folders
In most cases, you should redirect special folders to the root directory instead of to a specific location because this appends the correct paths for you, including %username%.
To redirect special folders to the root directory
- Open a GPO that is linked to the site, domain, or OU that contains the users whose special folders you want to redirect.
- In the console tree, under User Configuration\Windows Settings\Folder Redirection, double-click Folder Redirection to display the special folder that you want to redirect.
- Right-click the special folder that you want to redirect (such as Desktop or My Documents), and then click Properties.
- Click the Target tab, and then in the Settings box, select Basic - Redirect everyone’s folder to the same location.
- Under Target folder location, select Create a folder for each user under the root path.
- In the Root Path box, type a Universal Naming Convention (UNC) path, such as \\servername\sharename, and then click OK.
- In the Properties dialog box for the special folder, click OK.
To redirect special folders to a specific path
- Open a GPO that is linked to the site, domain, or OU that contains the users whose special folders you want to redirect.
- In the console tree, under User Configuration\Windows Settings\Folder Redirection, double-click Folder Redirection to display the special folder that you want to redirect.
- Right-click the special folder that you want to redirect, and then click Properties.
- In the Setting box on the Target tab, select Basic - Redirect everyone’s folder to the same location.
- Under Target folder location, select Redirect to the following location. In the Root Path box, type an UNC path, such as
\\
server\
share, or type a locally valid path, such as C:\somefolder, and then click OK.
To redirect special folders to the local profile location
- Open a GPO that is linked to the site, domain, or OU that contains the users whose special folders you want to redirect.
- In the console tree, double-click Folder Redirection to display the special folder that you want to redirect.
- Right-click the special folder that you want to redirect (such as Desktop or My Documents), and then click Properties.
- In the Setting box on the Target tab, select Basic - Redirect everyone’s folder to the same location.
- Under Target folder location, select Redirect to the local user profile location, and then click OK.
Redirecting to the home directory
It is recommended that you do not redirect to a home directory unless you have already deployed home directories in your organization. However, if you have already deployed home directories and you want to maintain compatibility with your existing home directory environment, you can redirect My Documents to the home directory.
To redirect My Documents to the home directory
- Open a GPO that is linked to the site, domain, or OU that contains the users whose My Documents folders you want to redirect.
- In the console tree, double-click Folder Redirection to display My Documents.
- Right-click My Documents, and then click Properties.
- In the Setting box, on the Target tab, select Basic - Redirect everyone’s folder to the same location.
- Under Target folder location, select Redirect to the user’s home directory, and then click OK.
- Domain administrators have full control over the users’ My Documents folder when you redirect My Documents to the home directory. This is the case even if you select theGrant the user exclusive rights to My Documents option on the Settings tab in the My Documents Properties dialog box.
Redirecting special folders based on membership in security groups
You can redirect special folders for use by members of security groups to the root directory, a specific path, the local profile directory, or to the home directory.
To redirect special folders to the root directory based on security group membership
- Open the GPO that contains the users whose special folders you want to redirect.
- In the console tree, double-click Folder Redirection to display the special folder that you want to redirect (for example, Desktop or My Documents), right-click the special folder, and then click Properties.
- On the Target tab, in the Setting box, select Advanced - Specify locations for various user groups, and then click Add.
- In the Specify Group and Location dialog box, under Security Group Membership, type the name of the security group, or click Browse to search for it.
- Under Target Folder Location, select Create a folder for each user under the root path.
- In Root Path, type the UNC path to use for redirection (for example,
\\
servername\
sharename), and then click OK.
- In the special folder’s Properties dialog box, click OK.
Troubleshooting: Creating a Log File for Folder Redirection
Folder Redirection logs events in the Application Event Viewer log. To aid troubleshooting, administrators can also create detailed log files for Folder Redirection.
Caution
- Do not edit the registry unless you have no alternative. The registry editor, regedit.exe, bypasses standard safeguards, allowing settings that can damage your system, or even require you to reinstall Windows. If you edit the registry, make sure to back it up first and see the Windows Server 2003 Resource Kit Registry Reference on theWindows Server 2003 Deployment Kit companion CD or at http://www.microsoft.com/reskit.
To enable logging for Folder Redirection
- In the Run dialog box, type regedit, and then click OK.
- Locate the following subkey: HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Diagnostics.
- Create a new entry called FdeployDebugLevel of data type Reg_DWORD, and set its value to 0x0f.