[EMAIL PROTECTED] wrote on :

> I try using this with just s simple drive map but it did
> nothing. How do I check is the InGroup command is working
> or not. 
> 
> I try to run this and did nothing. Just took me back to
> the prompt. 
> 
> If InGroup ("Administrator")
> Use M: "\\Server\Share"
> EndIf
> 
The way we do it is we just have separate batch files for each group, then
in NT User Manager, under "profile" there's a section under "user profiles"
labeled "logon script name" and we just put the name of the batchfile there,
including the .bat extension.

Here's a copy of one of our batchfiles:

@Echo Off
REM
REM This script is to run only for personel in the IT department.
REM
@Net Use G: \\S2CH5801\Depot\Department\IT /persistent:No
@Net Use I: \\s2ch5801\Depot /persistent:No
@Net USe N: \\S2CHTM01\TM /persistent:No
@Net Use P: \\s2ch5801\Depot\User\%username% /persistent:No
@Net Use Y: \\TPDC\NETLOGON /persistent:No
@Net Use Z: \\ndm1\NETLOGON /persistent:No
Net Time \\S2ChMcPS001 /Set /Yes
Exit

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Web Interface: http://intm-dl.sparklist.com/read/?forum=exchange
To subscribe: http://e-newsletters.internet.com/discussionlists.html/
To unsubscribe send a blank email to [EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to