Jump to content

Folder Redirection GPO on Server 2012 R2

Hello,

 

I've been setting up a test environment in Hyper-V to practice for an exam.

 

On my server I have created a folder named Home, that I have shared. I have mapped all users home directory to this folder and mapped it as H:\ as you see in the picture below.

 

2016-05-27_16-04-03.png

 

As a side note I have crated a main Organization Unit, with sub Organization Unite's named Computers, Groups and Users.

 

In Group Policy Manager I have created a GPO named Folder Redirection, below you see the settings.

 

User Configuration > Policies > Windows Settings > Folder Redirection > Documents

 

2016-05-27_16-03-20.png

 

Pictures, Music and Videos have been set to follow Documents.

 

As you see in the picture below from the client the GPO works and the network drive has been mapped.

 

2016-05-27_16-03-12.png

 

However on the server all the folders are renamed to documents, insted of username as before. Created a folder to illustrate what I want it to look like.

 

2016-05-27_16-03-27.png

 

Does anyone know how I can make it so the folders on the server have username as folder name, if I rename it renames Documents on the client.

 

Also what is the best way to make it so Documents as well as the rest of the folders becomes sub-folders and not Documents becoming the home folder? 

 

Could it be the share permissions on the root folder?

Link to comment
https://linustechtips.com/topic/602294-folder-redirection-gpo-on-server-2012-r2/
Share on other sites

Link to post
Share on other sites

@Cammern

Don't use the option to redirect the Documents directory to the user's home directory, that is why it is happening.

 

Change it to 'Create a folder for each user under the root path' and use the UNC \\Server\Home\. It will generate a UNC for each user as \\Server\Home\[Username]\Documents. If the folder does not exist it will be created at login if you have followed Microsoft's recommended permissions for folder redirection.

 

The actual reason why it displays the folder as Documents is by default Windows creates a desktop.ini file in the User's Documents directory which tells Windows to display that as it's folder name even though the real folder name is something different.

 

Also this topic may also be useful to you, covers folder redirection and also DFS.

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×