Bradtechonline
Senior member
I want a global script for all my users on my network. I want for when it loads on startup to map a user to their resources automatically.. I know how to do this sort of in a batch file. Where %username% is it will map a drive based on what the variable is for the username such as jdoe jsmith etc.. I need a script to do this but for their division they are in such as Human Resources, Garage, IT, Attorneys etc...
net use g: /delete
net use g: \\server\%username%
net use g: /delete
net use g: \\server\%username%