multiple drive mapping script

G

gergy

hey all,

i need a script that will allow me to do generic maps to drives from groups
and then specific users need other maps. is there a way to get this all in
1 script? Everyone need their Personal drives mapped to 'H'. then other
maps pertaining to their group. Special individuals need special maps.

let me know if anyone has something written out. i'm sure this is a
standard thing that happens in a lot of office.
new to scripting and need to get this done w/ minimal effort at the users
desktops.

thanks
G
 
T

Tomasz Onyszko

gergy said:
hey all,

i need a script that will allow me to do generic maps to drives from groups
and then specific users need other maps. is there a way to get this all in
1 script? Everyone need their Personal drives mapped to 'H'. then other
maps pertaining to their group. Special individuals need special maps.

let me know if anyone has something written out. i'm sure this is a
standard thing that happens in a lot of office.
new to scripting and need to get this done w/ minimal effort at the users
desktops.

http://www.rlmueller.net/freecode2.htm - here you will find some good
examples
 
S

Simon Geary

You can knock something up with the %username% variable and ifmember.exe
from the resource kit. It will look something like this:

net use h: \\server\share\%username%
ifmember "domain admins"
net use x: \\server\share\domain-admins-share
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top