Default printer setting Registry location

 

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

 

Value Type Value Name Value Data
string device printer_name ,winspool,port_type
DWORD IsMRUEstablished 1
DWORD UserSelectedDefault 1
DWORD LegacyDefaultPrinterMode 1

 

Method 1

You may deleted an printer, but it come back after a reboot or re-login,try below steps:

  1. Delete them in the Devices and printers.
  2.  find the printer under below registry hive, delete them

 

Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices

Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts
Computer\HKEY_CURRENT_USER\Printers\ConvertUserDevModesCount
Computer\HKEY_CURRENT_USER\Printers\Connections

 

 

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

 

Check the following registry entries:

 

1, Device: REG_SZ :<printer description string>

 

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.

2, UserSelectedDefault: REG_DWORD:1

 

If the entries above do not exist, please edit it correctly.

If this issue persists, I suspect the NTUser.dat file is damaged for the affected user, you could copy a good one to fix it.

Method 2 refresh the user profile

a. Log off with user “test01”;

b. Rename the user profile folder from “test01” to “test01.old1”;

c. Deleted the registry key related to the “test01” user SID (that can be found on HKEY_LOCAL_MACHINE \ SOFTWARE\ Microsoft\ Windows NT \ CurrentVersion \ ProfileList) to allow the profile to be recreated at next logon;

d. Log on with “test01” user: the issue should be gone;

e. Log off with “test01” user;

f. Rename the profile folder “test01” to “test01.old2”;

g. Rename the profile folder “test01.old” to “test01”;

h. Rename the file “ntuser.dat” into folder “test01” as “ntuser.dat.old” (test01\ntuser.dat  test01\ntuser.dat.old)

i. Copy the file “ntuser.dat” from folder “test01.old2” to “test01” (test01.old2\ntuser.dat  copy to  test01 folder)

j. Log again with user “test01” that should have a working profile and all the data as before;

Method 3 Login Script, Startup program hack

Export the default printer setting for an already-installed printer, and then merge the setting into the user’s profile when the user logs on to the computer:

  1. Use Registry Editor (Regedit.exe) to export the following registry key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
  2. Modify the registry (.reg) file you made in step 1 with a text editor so that the only registry value name below the key is:
    Device“=…

    Note that the registry file should contain a blank line at the bottom of the file, which may looks like:

    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows]
    "Device"="\\\\PS01\\FollowMe-BW,winspool,Ne04:"
    "IsMRUEstablished"=dword:00000001
    "LegacyDefaultPrinterMode"=dword:00000001
    "UserSelectedDefault"=dword:00000001
    
    
  3. Use Registry Editor (Regedit.exe) to add a new ResetPrinter string value under the following registry key:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
  4. The value of the ResetPrinter value should be something similar to the following value
    REGEDIT.EXE -S path\File.reg

    where File.reg is the name you used to store the default printer, which ideally should be on a shared drive.

If none of above fix the issue, you probably need to set the default printer via login script or startup setting.

https://support.microsoft.com/en-au/help/304767/how-to-alter-behavior-of-printers-that-roam-with-roaming-profiles