Changing a User’s Default Printer in the Registry

ID: Q156212


The information in this article applies to:
  • Microsoft Windows NT Workstation versions 3.5, 3.51, 4.0
  • Microsoft Windows NT Server versions 3.5, 3.51, 4.0
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server


SUMMARY

There are times when you want to change the default printer of a user or group of users without having access to the user's (or users') computer(s). You can do this by making a registry entry.


MORE INFORMATION

To change the default printer, add the registry entry as shown below:

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

  1. Start Registry Editor (Regedt32.exe).


  2. Under the HKEY_ CURRENT_USER subtree, go to the following subkey:

    Software\Microsoft\Windows NT\CurrentVersion\Windows


  3. Add or edit the following registry entry

    Device:REG_SZ:<printer description string>

    where <printer description string> is the value that Print Manager would put in if this operation were done through Print Manager. It would resemble one of the following:

    \\SERVER\HPLASER,winspool,Ne00: or DESKJET,winspool,LPT1:

    The Ne00 is a network port and LPT1 a local port.

    With some applications, the default printer is read at the time the application is started and you will need to close and restart the application for the new default printer to show.


Additional query words: prodnt

Keywords : kbnetwork ntprint NTSrvWkst
Version : WINDOWS:2000; winnt:3.5,3.51,4.0
Platform : WINDOWS winnt
Issue type :


Last Reviewed: January 21, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.