General discussion


Default Printer

By robertholmes ·
How to apply default printer to all users on a particular XP workstation?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by BFilmFan In reply to Default Printer

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.

Collapse -

by BFilmFan In reply to

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.

Collapse -

by EdLockett In reply to Default Printer

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 :-)

Related Discussions

Related Forums