I’m after a VBS script ( which i will run as a GPO/Logon ) that will create a folder on our fileserver in a certain directory for all active directory users. This will be then mapped to Z drive and the permissions locked to that user & Domain Admins
Currently im having to create the folder manually and then use GPO to map that drive i just want a script to create the folder for me automatically for all ( or now new ) users and set permissions
Folder names need to be the logon name (%Username%) ??
directory is a network share on the file server
Permissions needs to be this user only to have full permissions and Domain Admins
folders currently in this directory need to be left alone and it only work for new users going forward.