Apr 08 2022 12:11 PM - edited Apr 08 2022 12:13 PM
Hello, i come here because i have a problem:
I currently have an active directorie domain server on Windows Server 2012 R2, with a logonscript.vbs (script that allows you to do actions when connecting to a domain session).
I would like to know how to change the location of personal folders (downloads, images, videos, documents) from local to a network drive. I know that in the properties of the folder we can, but I would like to do it with the script to be sure that there is the right location at each logon. Below is an image to help you better understand.
Thank you all and have a good day
Kind regards
Nicolas
Apr 08 2022 01:04 PM
Apr 08 2022 01:18 PM
Apr 08 2022 01:22 PM - edited Apr 08 2022 01:23 PM
Strange, here's another how-to https://newhelptech.wordpress.com/2017/07/06/step-by-step-configure-folder-redirection-in-window-ser... and another one ;) https://medium.com/tech-jobs-academy/configuring-folder-redirection-through-group-policy-b38d1faeb83...
And the original one https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn...
Apr 08 2022 01:27 PM
Apr 08 2022 01:35 PM
Apr 08 2022 01:40 PM
Apr 08 2022 01:41 PM
Apr 08 2022 01:43 PM
Apr 08 2022 01:45 PM
Apr 08 2022 01:49 PM
Apr 08 2022 01:54 PM - edited Apr 08 2022 01:56 PM
But if the folders are all in the homefolder of the user, then you can use the %username% variable or %homepath% / %homefolder%. (You mention personel folders, I assume they are in the homedrive)
Apr 08 2022 02:05 PM - edited Apr 08 2022 02:08 PM
The home directory is a personnal directorie (downloads, videos, images ...) but I want to redirect it on a network drive. Different users each have their own folders with permissions
Apr 08 2022 02:13 PM
Apr 08 2022 02:18 PM
Apr 08 2022 02:26 PM - edited Apr 08 2022 02:27 PM
Redirect as in move the current local data to a network drive and configure My Documents, My Pictures to that? Yes, that's possible and you should create a general Group Policy which moves it to the Homedirectory but then you need that to be specified in the user account. You can link Group Policy to users or groups (And devices)
Apr 08 2022 02:35 PM
Apr 08 2022 02:36 PM
Apr 08 2022 02:39 PM
Apr 08 2022 02:39 PM