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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NT Logon Print Script

Status
Not open for further replies.

gpwolf

MIS
Dec 4, 2000
46
0
0
US
Need a logon script that will enable the user to have access to multiple Printers without having to install the drivers at each desktop. There has to be a way to do this.

Server is NT4
Workstations are NT 4 with pack 6

 
Here's a logon script for you -
Edit \\printserver\printer name
edit "group member" name
edit \\servername\share$
The first line is to sync the client with the Server's time at every logon.Hope this sorts you out...
----------------------------------------------------------
@echo off
net time \\PDCServer /set /yes
ifmember "Group Member"
if not errorlevel 1 goto Exit
net use P: /delete /yes
net use S: /delete /yes
net use U: /delete /yes
net use T: /delete /yes
net use T: \\BDCSHARE\Sharename$ /persistent:yes
net use P: \\BDCSHARE\Sharename$ /persistent:yes
net use S: \\BDCSHARE\Sharename$ /persistent:yes
net use U: /home
con2prt /f
con2prt /c \\PrintServer\printer
con2prt /c \\PrintServer\printer
con2prt /c \\PrintServer\printer
con2prt /c \\PrintServer\printer
:Exit
Exit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top