network printers

  • Thread starter Thread starter astange
  • Start date Start date
A

astange

I have 10 pc's with about 50 profiles on each that was set
up from an image with 5 network printers as print
options. How can I change the default printers for all
profiles without logging on as each person?
 
You could change a registry entry for each user, though this is still not a
simple way of doing it:
HKEY_USERS\<various SIDs>\Software\Microsoft\Windows
NT\CurrentVersion\Windows\Device

Maybe someone else knows of a way to do this programmatically.
 
Here is a simple script you can use in a Group Policy in an AD structure
during logon. Provided you are using AD, or else you could call it in a logon
batch file.

Set WshNetwork = CreateObject("WScript.Network")
PrinterPath = "\\Server\Printer"
PrinterDriver = "PrinterDriver"
WshNetwork.AddWindowsPrinterConnection PrinterPath, PrinterDriver
WshNetwork.SetDefaultPrinter "\\Server\Printer"

You can remove the "AddWindowsPrinterConnection" if you already have the
network printer installed and just want to set it as the default one.
 
Back
Top