Discussion Locked

Login Scripts

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am looking to setup login scripts that when a user is a member of this group then it will map a drive ti the X share on server 1 and if they are a member of that group it will map a drive to the Z share on server 2. What is the easiest way to do this?

4 replies

by joseph moore

There is a tool in the Win2K Resource Kit called IFMEMBER.EXE that you need.
You can use IFMEMBER in a login script to tell what groups a user belongs to. You can then use that in a login script to do this type of thing. So, get the tool, and then you can do this.

by mf.

try kix script editor. Very easy to use.
follow this link: http://www.kixtart.org
Here's an example how to map drives using kix:

--------Start drive_mapping.kix--------
SELECT
CASE @INWIN = ("1") ;Windows NT
IF INGROUP("Domain Admins") = 1
USE x: "\\server\NT_admin"
ENDIF
IF INGROUP("Domain Users") = 1
USE y: "\\server\NT_users"
ENDIF
CASE @INWIN = ("2") ;Windows 9x
IF INGROUP("Domain Admins") = 1
USE x: "\\server\Windows_admin"
ENDIF
IF INGROUP("Domain Users") = 1
USE y: "\\server\Windows_users"
ENDIF
ENDSELECT
-------- end drive_mapping.kix--------

With regards,
MF

This discussion is closed to new replies.