I just went through this. Here are a few sites I used. The RLMueller site has actual scripts you can use freely and adapt to your needs. Good Luck!
http://www.rlmueller.net/ http://cwashington.netreach.net/depo/view.asp?Index=804&ScriptType=vbscr ipt http://www.kouti.com/tables/userattributes.htm http://cwashington.netreach.net/depo/default.asp?topic=results -----Original Message----- From: Technology Listserves [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 10:35 AM To: [EMAIL PROTECTED] Subject: [ActiveDir] Question on Drive Mapping by Group Good Morning. Windows 2003 Server environment Single AD Domain/Forest We have a need to map certain drives for specific individulas. Ideally, this would be done based on Group Membership. For instance, If person X was a member of the "Accounting" group, it would map an M: drive to the accounting server share in question. We have a basic login script now and it does everything we need it to besides this individual mapping. We've tried the IFMEMBER utility, but that doesn't seem to work for some reason (rights/process?). We also are somewhat limited on budget right now, so using a 3rd Party Tool isn't a real option. Does anyone have some ideas on how to do this? I've included our current login script below for reference. TIA, Steve ----------------- REM ************************Network Login Script******************************** REM ***************** REM ******************** as of September 19, 2003******************************* REM *****************Unmapping of Drives**************************************** REM IF EXIST F:\*.* NET USE F: /DELETE IF EXIST G:\*.* NET USE G: /DELETE IF EXIST M:\*.* NET USE M: /DELETE IF EXIST Y:\*.* NET USE Y: /DELETE IF EXIST Z:\*.* NET USE Z: /DELETE REM REM ************************************************************************ **** REM *****************IF MEMBER OF ACCOUNTING**************************************** REM IFMEMBER "EXECDIR\ACCOUNTING" IF Not ERRORLEVEL 1 GOTO COMMON NET USE M: \\EDI2KAP02\APP REM REM ************************************************************************ **** :COMMON NET USE F: \\EDI2K3FS01\APPS NET USE G: \\EDI2K3FS01\CLIENTS NET USE H: \\EDI2K3FS01\Users\%username% REM REM ************************************************************************ **** List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
