I asked this question elsewhere and was told to ask here since you guys can probably help. So here is my question.
I am running a W2k domain with XP, 2000 and NT clients and would like to create a logon script (that i will add to each users's account in AD users and computers) that will map drives and install printers for users. The users are part of several departments what have their own groups and access resources on several different servers. I would like to only use 1 "big" logon script (batch file or other) instead of creating individual scripts for each department.
What I want to do is create 1 login script that maps drives and installs printers according to group membership using "if" statements
EX:
If a user is a member of groupA, then map P: \\server1\share If a user is a member of groupB, then map P: \\server2\share etc
and i would like printers to be installed as well
If a user is a member of groupA, then install \\server1\printer If a user is a member of groupB, then install \\server2\printer
I know i can map drives with the Net use command and know how to write a simple batch file that maps drives. But I am not sure how to create batch file or script file what will do all of this (if thats even possible)
Hope someone can help, Pls be as detailed as possible in what tools or steps are required. Thx
|