Scenario : For this demonstration, we are going to use one group and two user from a particular organisational unit.
Now we have to create the folder and share it on the network so that the user from our OU can access that folder.
Give the desired permissions to the folder for that right click on the folder “User directory” and then go to the sharing and then Advanced sharing and then click on “Share this folder ” and provide “$” sign for the hidden share. and then click on permissions
Now go to security tab and click on Advanced
click on “Disable Inheritance” and then it will ask for the option , then click on convert inherited permission in to explicit permission on this object.
Remove the last two users and then click on add
click on select a principal option and then provide the group name on the desired prompt.
Click on show advanced permission
Now create a GPO in the group policy management console
Provide the GPO name
To open group policy setting editor , simply right click on the newly created GPO and click on edit
After opening the group policy editor go to the user configuration then policy then windows settings then folder redirection and then right click on desktop and click properties
Under the setting select ” Basic redirect everyone folder to same direction ” and under the root path provide the directory location which we are going to redirect.
Click yes to continue saving your configuration
Now test on the client computer by login from the user of the OU on which we have applied the GPO.
To test that create a folder on desktop on client machine and check that in shared folder which we have created in the beginning.
we have created on folder on client desktop named test.
Now we can see that folder test in the shared directory which we have created in the beginning.