Changing a User's Default Printer in the Registry


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.

Id. de artículo: 156212 - Última revisión: 02/26/2007 - Revisión: 1