Adding a printer to workstations

Hi,

I work in a school and have been upgrading to a windows 2003 network with windows XP workstations and all the printers are installed one of the servers and shared.

On the old NT4 network to install a printer we would have to go round to each workstation, isntall the printer on a local port and then create a new port for the printer to look at so the printer was there for all users.

I am trying to find a way of remotely adding various printers to different workstations so that all users can print to the right printer from the workstation without me needing to go round to them.
KArrowsmithAsked:
Who is Participating?
 
moduloConnect With a Mentor Commented:
PAQed with points refunded (250)

modulo
Community Support Moderator
0
 
littlebuddahCommented:
No need for all that if the printers are shared with appropriate drives available either make a quick html page with a descriptive link and VBS script in the background so users can choose their own printer:

Set WshNetwork = CreateObject("WScript.Network")
PrinterPath = "\\printserver\printershare"
WshNetwork.AddWindowsPrinterConnection PrinterPath

or if IE is locked down include the above script within their logon scripts.

We could also do it by policy if you are running AD.

Let me know!

LB
0
 
KArrowsmithAuthor Commented:
I am not realy looking at letting the users install their own printer, and the problem with a logon script is that different pcs user different printers. I'm not sure if its possible to tell which OU a workstation is in from a logon script and then isntall the right printer.

Yes we do have AD running and have searched through GPO about adding printers to OUs but it all seem to be about setting which printers a user can add and where it looks, not actualy seting the printer up without user interaction.

RM use a web based admin system (from what ive seen) and this allows you to say which printers get isntalled on which workstations but have been unable to look at how they do it.
0
 
KArrowsmithAuthor Commented:
I have found a way of doing it but there might be an easier way.

I created a batch file that used the rundll32 command to install a printer to the  right port and then copied this to the right location in sysvol on the server and in GPO told the computers to run a this batch file as a startup script. As the printer port did not stay after a reboot what i ended up doing was to first remove the printer and then add the printer at startup
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.