Forum Discussion
VBScript logonscript
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 18, 2022
Did you manage to get it up and running ?
- ex0ticApr 08, 2022Copper ContributorThanks to the VBS script, the network drive is automatically added during logon. I will try all your techniques tomorrow, it is 00:00 pm at my house. Sorry for the inconvenience. Good evening to you and huge thank you! 🙂
- Apr 08, 2022Not sure if they are not at the office, that it won't try to open a network drive for the pictures folder once you have configured the Group Policy. Just create one for a testuser and see what happens, you can expand from there
- ex0ticApr 08, 2022Copper ContributorPrecisely, the people concerned do not know much about it and I want that for example, when she wants to transfer her photos from her camera to her computer, by clicking on the images shortcut ( in files explorer ), instead of being local c:/user/images but on the file sharing on the server
- Apr 08, 2022That is possible with Folder Redirection, you can leave the contents locally and not move them (read the articles I linked) But won't that be confusing for your users?
- ex0ticApr 08, 2022Copper Contributor
I just wanted that when you click on the shortcut my documents in files explorer, instead of being in c:/user/my documents, I'm in a folder on a network drive
- ex0ticApr 08, 2022Copper ContributorIt's quite complicated, sorry. Example: everything that does with a user locally on the computer, nothing is changed. If I connect to the domain, the redirects are made, and by clicking on my documents in files explorer, I am redirected to the folder of my sharing with all the documents, images ... network. What to understand, because I confuse you, I want to redirect the shortcut in the file explorer only during a domain logon.
- Apr 08, 2022It's a synchronisation, it keeps things in sync so that local and network are the same... From a modern perspective... OneDrive/Teams sync is much easier 😉
- Apr 08, 2022Seems like you want Offline Files... Connect to the domain in your case is when you're back at the office, laptop users?
- ex0ticApr 08, 2022Copper Contributoronly what is modified when you are in a network. All documents that are added with a local user are not affected.
- ex0ticApr 08, 2022Copper ContributorFor example, I create a document folder on my share, and when you connect to the domain, the location of the documents locally is redirected to the share, in the new folder
- ex0ticApr 08, 2022Copper ContributorYes, that's what I'd like. But just when you connect it to the domain, and not locally on the computer
- Apr 08, 2022
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)
- ex0ticApr 08, 2022Copper ContributorI just saw I didn't specify the most important, sorry!! The home folders (personal folders) are on the machine locally. Basically with a network session, I want to redirect a local folder to a network drive, based on network permissions.
Can I link a GPO to a user? - Apr 08, 2022With folder redirection you can move existing folders to a network location, but is the desired folder the one specified in the homefolder properties of the Active Directory user? Then you can use the variables like I mentioned. If not, then you have to create a Group Policy per user which isn't very handy...
- ex0ticApr 08, 2022Copper Contributor
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