Forum Discussion

ex0tic's avatar
ex0tic
Copper Contributor
Apr 08, 2022

VBScript logonscript

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

 

 

 

 

Resources