General discussion

Locked

Login script for Mapping

By singhjunk ·
I need help with mapping one of the drive on the server to the users that login to that server.

Example: I have a server A with two partions and C: and drives. I want to map few users to D$ drive through the login script.
How do I do that. I don't want to give them the administrator password. They need complete access to the D drive as we have applications there that needs the D drive to be mapped. I can't use a shared folders as the application won't work.

Please help.

Thanks,

This conversation is currently closed to new comments.

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

All Comments

Collapse -

Login script for Mapping

by Parbo In reply to Login script for Mapping

You can use the "net use" command and supply a user/pwd with admin priveliges to the drive/share.
Type "net use /?" at a command prompt for complete syntax help
hope this works for you

Collapse -

Login script for Mapping

by singhjunk In reply to Login script for Mapping

Poster rated this answer

Collapse -

Login script for Mapping

by elmagoal In reply to Login script for Mapping

This page will allow you to learn all you need about login scripts http://kixtart.org/
and you can download the software for free.The line will look like this:
IF INGROUP("ADMIN-3")
USE F: "\\server name\Shared folder"
USE S: "\\server name\Shared folder"
USE J: "\\server name\Shared folder"
ADDPRINTERCONNECTION("\\server name\printer name")

This is using kix. Replace USE with net use in a batch file.
ENDIF

Collapse -

Login script for Mapping

by singhjunk In reply to Login script for Mapping

Poster rated this answer

Collapse -

Login script for Mapping

by JustinF In reply to Login script for Mapping

You can create a new share for the D partition and map drives to that share rather than the administrative share D$. You can control access to the new share easily.

Use kixtart 95 on the NT 4 resource kit supplement 4 CD to map drives according to group membership.

Collapse -

Login script for Mapping

by singhjunk In reply to Login script for Mapping

Poster rated this answer

Collapse -

Login script for Mapping

by singhjunk In reply to Login script for Mapping

This question was closed by the author

Back to Windows Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums