Login script for Win2003 Server using the IF condition to determine if a user is in a group or not to map network drives
Posted on 2004-09-23
I want to map network drives based on if a user is in a particluar user group in AD . I guess using the login script ie dos bacth file , net use command
ie I gave a user group called sales
I login as joe bloggs who is in the sales group in the local domain . The login script does a if statement to determine if Joe Bloggs is in that group or not
ie " if "user" Part of " Sales Group" Then
net use L: \\Server\Share
Ie something like that I suppose ???
Also can ths work across multiple domains ? ie map a drive to another share on a another server in a different Domain ?