Changing a User's Default Printer in the Registry

Last reviewed: January 19, 1998
Article ID: Q156212
The information in this article applies to:
  • Microsoft Windows NT Workstation versions 3.5, 3.51, and 4.0
  • Microsoft Windows NT Server versions 3.5, 3.51, and 4.0

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 : ntprint NTSrvWkst kbnetwork
Version : 3.5 3.51 4.0
Platform : winnt


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 19, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.