Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Setup login script. How?

Setup login script. How?

Setup login script. How?

How do you setup login script, where a user login with his/her unique login name and password, he/she will have access to local dedicated path/directory and print server that is assigned for the individual user.

RE: Setup login script. How?

Create a batch file called home.bat in winnt\system32\repl\import\scripts.

In the file put the following

net use f: /home
net use lpt1: \\servername\printername

Now go to user manager for domains. For the user, change their properties and put home.bat as their logon script. Below that, set the home directory as \\servername\users\%username%. Setting the drive letter works under WS but is overridden by the logon script for Win9x.

You need to create the users directory on that server and set it as shared for domain users or similar. When you create the home directories, select all users in user manager for domains and set the directory as above. NT will create all the directories for you using their username. Beware though, only the user has access to the directory. No admin rights and no backup rights!!!

Now that they have a home directory, use different logon scripts for the printer use. Install the clients printers to go to LPT1 and use the scripts to capture the port. That way, if the server goes down, you point the script at another queue and ask them to log on again.


RE: Setup login script. How?

This might not be useful to you but it could be useful to others. If anyone has heard of Kix32 which is used to make more complex scripts you may appreciate the following link. Http://www.scriptlogic.com
They have made it easier to make Kix32 login scripts. Hope someone finds this useful.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close