I am looking to create a generic login script for my 2003 active directory users. I currently have a script for each user to map their network drives etc as required, but would like to replace this with a generic login script.
For information, I currently have username example jbloggs, who's home drive is \\server\jbloggs$ and whos login script is jbloggs.bat so everything is neat and tidy here for scripting purposes.
I realise I need to use a VB script in order to do this, but I dont really have the first clue how to start. I have attached a copy of an existing login script as an example.
@ECHO Welcome Jo Bloggs to %USERDOMAIN% Domain you are using %OS%
@ECHO Settting Up Your Login With Server %LOGONSERVER%
net time \\server /SET /YES
ECHO Setting up user Shares may take a few minutes please wait.
if not exist g: net use g: \\fordc001\groups
if not exist s: net use s: \\fordc001\scanned
if not exist h: net use h: \\fordc001\jbloggs$