Microsoft KB Archive/271257

= Setting the Default Printer in Windows 2000 by Using the Registry =

Article ID: 271257

Article Last Modified on 2/28/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q271257



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
This article describes how to set the default printer by modifying the registry.



MORE INFORMATION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To set the default printer in the registry, follow these steps:  Start Registry Editor (Regedt32.exe). Locate and click the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows

 Click the following value:

Device=Printer1,winspool,LPT1:

 On the Edit menu, click Modify, replace the first value with the name of the printer that you want to set as default, and then click OK. Quit Registry Editor.

Keywords: kbinfo kbprint kbenv KB271257

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.