• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 230
  • Last Modified:

Adding printers on an SBS 2003 R2 network after a user logs in for the first time

when setting up SBS 2003 R2, you set up printers on the server then a user logs in for the first time and they get the printers that are set up already. then over time, you remove a printer and more importantly, add other printers.  is there an sbs  / easy way to get the new printer accessible to each user or is it a manual process to add it from the directory on each machine / each account on each machine?
4 Solutions
You can use logon script or even VB script. Do a search on EE about scripts to add printer.
Stephen MandersonSoftware EngineerCommented:
You can create a logon script and set it up via GPO to run at logon, this can be a VB Script or a Batch File.

To do this a vb script add the following to a text file and save it as Printer.vbs

Set objWSHNetwork = CreateObject("WScript.Network")
strConnectString = "\\Server\PrinterName1"
strResult = objWSHNetwork.AddWindowsPrinterConnection(strConnectString)

Or you could do it with a batch file add the following to a .bat

Dim net
Set net = CreateObject("WScript.Network")
net.AddWindowsPrinterConnection "\\Server\PrinterName1"
net.AddWindowsPrinterConnection "\\Server\PrinterName2"

startup batch file:  net use \\servername\printer share name /persistent:yes

   for example:   net use \\server\printer  /persistent:yes
Andrew DavisManagerCommented:
do it via vb script, as a logon script. have a look at http://www.computerperformance.co.uk/Logon/Logon_HomeDir.htm for info on logonscripts.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now