Discussion Locked

Login Scripts

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am new to login scripts. After my users login to Win2000 and network drives gets mapped that asks for a password. Can I make a login script that maps that drives and puts the password in with the user having to do it? If so how?

9 replies

by daniel.muzrall

I just deployed a KiXtart login-script at my office. It's a simple batch file you can specify in the user manager, or simply put in the Startup folder under the All User profile. The batch file calls KIX32.exe and specifies which script to use. You can put the script on a server for easy distribution. Check out www.kixtart.org, or do a search for KIX32 on your favorite search engine. Download the zip file, which contains the exe and full documentation.

If you wanted to stay strictly with the DOS NET USE utility, go to the command line and type "net use /? |more" for full syntax.

by pxttocyob

windows has a hard time remembering all that red tape so more passwords make it more interesting.

by mike

net use x: \\servername\sharename /USER:dude@doamin.com password

Hopefully it's self explaining!!

by shepster

This actually sounds more like a security structure problem. If you have a user logging on, running the logon script and getting prompted for a password, it is because their account natively does not have permissions to that shared folder. You canspecify a user account and password to use in the logon script, but anyone who pulls up and watches the logon script will see that username and password in plain text, which could be bad. In addition, if you do it that way, everyone will be logged on with the security level of that password, so you have no control. I would suggest creating groups and adding your users to the appropriate group. Give the different groups the appropriate accesses for that folder. This lets you maintain group level security which is much less painless than maintaining user level security and does not pose a security risk. If you need more info, let me know.

This discussion is closed to new replies.