Discussion Locked

Default Printer

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How to apply default printer to all users on a particular XP workstation?

3 replies

by bfilmfan

If you are on a Windows 2000 or 2003 domain, the following will work:

If you want to implament a network shared printer you will need to make a logon printer script. You can apply this eitehr at the domain or OU level, depending on your needs.

Basicly you open a txt doc and use the following commands:

Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.AddwindowsPrinterConnection "\\Server\printer" ("\\server\printer" is the UNC to the printer)
WshNetwork.SetDefaultPrinter "\\Server\printer"

Then rename the txt to a vbs file (visual basic script, something like DefaultPrinter.VBS would work, then apply it to run this script on login.

by bfilmfan

Working with Ed's idea, you could make the registry change in an administrative template and then apply it via a GPO. When the GPO is removed, the registry change is removed.

There are a lot of different ways to accomplish this task. Pick the one that works best for you.

by edlockett

The default printer is defined by the following registry key:
HKCU\software\microsoft\windowsnt\ currentversion\windows\ device
To apply this setting, ideally you would use a group policy. If this is not feasible, you could manually edit the registry for each user, or use a login script or batch file to put the key in for each user.
Remember that the names of installed printers may be different from machine to machine.
Hope this helps :-)

This discussion is closed to new replies.