General discussion

Locked

Login Scripts

By rmdennis ·
I need to know what is the command line in a batch file(login script) to map drives to specific groups. (ie: in novell it was something like this "IF MEMBER OF "groups" THEN)" but I need it for Windows 2000 login script.

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

ifmember utility

by razz2 In reply to Login Scripts

The Resource kit has a utility called ifmember.exe that tests for
group membership.

This URL has the exact example you need (the second remark on
the page):

http://www.microsoft.com/resources/documentation/
WindowsServ/2003/all/techref/en-us/Default.asp?url=/
Resources/Documentation/windowsserv/2003/all/techref/en-
us/ifmember_remarks.asp

razz

Collapse -

Not Supported by Native Tools

by briandesu In reply to Login Scripts

AFAIK, what you want to do is not supported using the standard NET commands. However, this can be readily done using other scripting languages.

I have heard that Kixtart can do what you want to do. Alternatively, you have Windows Script Host (WSH).

Perform a Google search for WSH and Mapping Drives by Group should return numerous responses. The MSDN (Microsoft Developer Network) is also a good place for information relative to WSH.

HTH,

briandesu

Collapse -

Resource Kit Utility

by razz2 In reply to Not Supported by Native T ...

Again I must point out the resource kit utility ifmember at
the following long URL. You may need to copy and
paste:

http://www.microsoft.com/resources/documentation/
WindowsServ/2003/all/techref/en-us/Default.asp?url=/
Resources/Documentation/windowsserv/2003/all/
techref/en-
us/ifmember_remarks.asp

razz

Back to IT Employment Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums