Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setup login script. How?

Status
Not open for further replies.
Oct 18, 1999
1
US
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.
 
Create a batch file called home.bat in winnt\system32\repl\import\scripts.<br>
<br>
In the file put the following<br>
<br>
net use f: /home<br>
net use lpt1: \\servername\printername<br>
<br>
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.<br>
<br>
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!!!<br>
<br>
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.<br>
<br>
Helpful?
 
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. <A HREF=" TARGET="_new"> <br>
They have made it easier to make Kix32 login scripts. Hope someone finds this useful.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top