Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NETLOGON Script

Status
Not open for further replies.

pbanacos

IS-IT--Management
Apr 21, 2006
34
0
0
US
I found out recently that Server 2008 R2 dropped support for IFMEMBER.exe. Is that is true? If so I need to get the script below working with a related method.
Our company needs a logon script that looks at two different company groups in AD and maps drives base on group membership.

@echo off

ifmember "Domain\group1"
if not errorlevel 1 goto group2
Net Use K: \\ :group2
Net Use X: \\ :quit



Thanks,
Paul
 
I don't know about the ifmember.exe program, never used it. But, all the features you need are easily available using VB Script in Active Directory.

Dave.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top