How to Configure Folder Redirection with Group Policy

Configure Folder Redirection with Group Policy

This blog shows you how to configure folder redirection with group policy. How can you redirect a folder on the Windows Server with a group policy? Folder redirection is the method of keeping a profile folder from a network location or other location on the local computer. Most user profiles and settings are stored in a local profile. By redirecting folders, you can access data regardless of which computers you are logged in.

Requirements

Domain Controller Server (SRV2022)
Client PC running Windows 11 (Windows11)

Create a Shared Folder

In the C drive, click on the Home tab and click New folder.
Enter Redirection, and then press enter.

Create a new folder

Right-click the Redirection folder, and then click Properties.

right-click folder

Click on the Sharing tab and click on Share.

Folder properties sharing tab

Click the drop-down arrow, type Everyone, and click Add.

Share a folder

For Everyone, select the Permission Level Read/Write and click share.

Shared folder read/write permission

The folder is shared; click Done.

Folder is shared

Click close.

Folder properties sharing tab

Create a Group Policy to Redirect the Documents Folder

Search Group Policy Management and open it.

Search group policy management

Right-click on your local domain, click Create a GPO in this domain and link it here.

Create a gpo

In the New GPO dialog box, in the Name box, type Folder Redirection, and click ok.

Configure folder redirection with group policy

Now, right-click on the Folder Redirection and select Edit to Configure Folder Redirection with Group Policy.

Edit group policy

In the Group Policy Management Editor, Go to:

User Configuration\Policies\Windows Settings\Folder Redirection

Right-click on Documents and select Properties.

Folder redirection with group policy

In the Document Properties, on the Target tab, click the setting drop-down arrow.
Settings: Select Basic-Redirect everyone’s folder to the same location.
From the Target folder location, select Create a folder for each user under the root path.
In the Root Path, type \DC2022\Redirection, and select ok.

Configure Folder Redirection with Group Policy

In the Warning dialog box, select Yes.

Folder redirection warning

Close the Group Policy Management Editor.

How to Test Folder Redirection

Sign in to Windows11 as Windows11\Administrator with the password.

Open the command prompt, enter the following command, and hit Enter:

Gpupdate /force

Type Y and press Enter.

gpupdate /force command

Login again
Right-click on Documents and select Properties.

Right-click on documents

Verify that on the General tab, the Location field has a value of.
\SRV2022\Redirection\user.

Verify folder redirection

Comments

Leave a Reply