Discussion Locked

Win2000 Client Drive Mappings

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Current network environment: Windows NT Server 4 with Windows 98 running on client PC's.

We currently use a program called "Get Groups" (ggroups.exe) to map drives for client PC's. ggroups.exe runs during the NT login script and allows drives tobe mapped based on the groups to which the user belongs.

We are planning to upgrade all clients to Windows 2000 Professional. The ggroups program fails on Windows 2000 clients.

Can anyone suggest any other methods of mapping drives for users based on group membership? Solution must include ability to manage centrally from the NT server.

5 replies

by mc cunningham

There are many ways to do this...

I simply use "Kixtart" a shareware scripting language. you can get the software as well as several sample scripts from:

http://home.wanadoo.nl/scripting/index.htm

With Kix you simply create a "bat" file which basically can have one line in it:
"kix32.exe yourscript.scr".

Checking to see of a client is a member of a group is as simple as:

>IF INGROUP("Domain Admins")
> "net use h: \\server\homedir"
> "net use w: \\server\share"
> GET $A
> endif

Kix also has sample scripts to aid in removing VBS viruses, automating McAfee install, etc.

I haven't actually tried it, but I believe the NT4 Resource Kit's "InMember" will work for Win 2000 Clients (it won't on Win98)

>@echo off
>ifmember administrators "domain admins"
>if not errorlevel 1 goto quit
>net use w: \\sxOl\atools
>:quit

This will enable you to use NT's native scripting language if you so choose. I prefer Kixtart for the many extra capabilities itgives you without having to be "programmer" to use it.

If you want a [great] book on scripting check out "Windows NT Shell Scripting" from Macmillan/Tim Hill.

Hope this helps...

by khan

It is necessary to create scripts for connection necessary drives, using "net use". Then to each user in UMFD assign an appropriate script.

This discussion is closed to new replies.