Hi,

I am attempting to map different drives for different global-security groups in AD. Simple thing right? Well I created my own group called "NY Docket". Whenever I try to logon a user that is within this group, nothing happens. When I rem out my "Domain Admins" from the script, it also does nothing (just to be sure).

But if I change the "NY Docket" group to "Domain Admins" (which is a default created Active Directory group, not user created), it works just fine. What gives? Is there some property to the default AD group "Domain Admins" that my user created "NY Docket" doesn't have? Do I need to read some other aspect out of Active Directory to get this to work? My script is below. Thanks.

----------------------------------------------------

; DRIVE MAPPING SECTION BY GROUP

?color w+/n "Checking Groups..."
use * /delete /persistent:yes

If InGroup ("Domain Admins")
?color w+/n "Welcome Administrator. Mapping your drives..."
use w: "\\ny-san-01\prgm"

If InGroup ("NY Docket")
?color w+/n "Welcome to FCHS Docketing. Mapping Drives and Printers..."
use f: "\\docketing\d$"
use g: "\\docketing\d$"
_________________________
-David H