network printers

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?
 
P

Paul Baker [MVP, Windows - SDK]

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.
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top