The behavior is tied to how Remote Desktop printer redirection and defaults are managed per session. There is no built‑in Windows Server 2019 feature that automatically re‑applies a specific default printer on reconnection only; instead, this is normally handled either:
- By the client’s own default printer and Easy Print redirection, or
- By logon‑time scripts or Group Policy preferences.
To keep the desired printer as default after disconnect/reconnect, use one of these supported approaches:
- Use Easy Print and control the default on the client
Ensure the RD Session Host is using Easy Print so that the client’s default printer is honored and stays consistent:- On the RD Session Host, configure Group Policy:
Computer Configuration → Administrative Templates → Windows Components → Remote Desktop Services → Remote Desktop Session Host → Printer Redirection
Set Use Remote Desktop Easy Print printer driver first to Enabled (for Easy Print) or Disabled (for legacy print). For Not configured, Easy Print is chosen by default. - On the client, set the correct local default printer. When the user reconnects, Easy Print should redirect that printer and keep it as the default in the session.
- On the RD Session Host, configure Group Policy:
- Force a specific default printer via Group Policy (per user)
If the same default printer must always be used on the terminal server regardless of client defaults, configure a user‑scoped Group Policy Preference (Printers) or a logon script that sets the default printer each time the user signs in. This does not trigger on reconnect, but it guarantees the correct default after each sign‑in. - Use a logoff script to clean redirected printers (if stale sessions cause wrong defaults)
If the default is changing because stale redirected printers accumulate across sessions, use the documented script approach to clean redirected printers at logoff:- Create
delprinter.vbswith the provided script that deletessessionprinters from:-
HKCU\Software\Microsoft\Windows NT\CurrentVersion\Devices -
HKCU\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts
-
- Create a Group Policy that applies to all users at LOG OFF and calls a batch file (for example
\\yourdomain.com\NETLOGON\delprint.bat) which runscscript delprinter.vbs. This keeps redirected printers from persisting incorrectly between sessions, which can help prevent the default from switching to an invalid or stale redirected printer after reconnect.
- Create
If the issue persists even with Easy Print and clean redirected printers, configure a small reconnection script (for example, triggered by a third‑party RDS session manager or by users manually running it) that calls rundll32 printui.dll,PrintUIEntry to set the desired printer as default; Windows does not provide a native “on reconnect” trigger in Group Policy.
References:
- Windows Server printer redirection isn't working
- Description of the Remote Desktop Connection 6.1 client update for Terminal Services
- Invalid redirected printers may be available in a Remote Desktop Services session that connects to a RD Session Host server that is running Windows Server 2008 or Windows Server 2008 R2
- Set a default printer in Windows
- Print driver default settings are not inherited through "Point and Print" in Windows 10 Version 1709