Where in the registry is the default printer set?
March 4, 1999
A. A. The default printer is set on a per user basis and so is part of the HKEY_USERS hive. To view the default printer for the currently logged on user view the
HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWindowsDevice
value. It is of the format "\LN014LN.S651.CSP001.HPLJ5,winspool,Ne01:", where the first part is the actual printer share, then the spooler and finally the connection, e.g. network or parallel port.
To view a different user or view remotely you would view HKEY_USERSSoftwareMicrosoftWindows NTCurrentVersionWindowsDevice. To check which user has which SID see Q. How can I tell which User has which SID?
If no default printer is manually defined then the first printer alphabetically will be set as the default.
About the Author
You May Also Like