RDS 2019 Default printer changes after reconnected user session

Arnold MIshaev 216 Reputation points
2021-07-14T08:27:36.747+00:00

Hello everybody,

We have RDS farm 2019 which build 4 of RDSH server and one RDCB+RDLS.
we're encounter with annoying issue about default printers in users sessions, we're using network shared printers (not deploy by gpo)

when users doing logoff the configuration of network printers and set of default printer keep the same after login.
but when user disconnect from the session and reconnecting again, the default printer change to "Microsoft print to PDF" and shared network printers disappeared, but if user would logoff and login again the network shared printer appears but without set of default printer .

does somebody encounter with this issue, or knowing the solution for it?

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,144 questions
Windows Server Printing
Windows Server Printing
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Printing: Printer centralized deployment and management, scan and fax resources management, and document services
629 questions
0 comments No comments
{count} votes

Accepted answer
  1. Leila Kong 3,691 Reputation points
    2021-07-15T03:01:27.353+00:00

    Hello @Arnold MIshaev ,

    Thanks for your query. Please refer to the following post for troubleshooting:

    1.It turns out that having the hostname of the computer greater than 14 characters is the cause of this issue.
    Default printer change upon RDP re-connection to terminal server: https://learn.microsoft.com/en-us/answers/questions/65924/default-printer-change-upon-rdp-re-connection-to-t.html
    RDS 2019 Default printer changed after reconnected user session: https://learn.microsoft.com/en-us/answers/questions/214365/rds-2019-default-printer-changed-after-reconnected.html

    2.The solution of MicrobyteSolutions on Friday, December 4, 2015 1:52 PM seems to be working:
    Windows 2012 R2 printers showing twice (and unable to set default printer): https://social.technet.microsoft.com/Forums/en-US/ea51c54b-2734-4987-9f4a-a79f755c8153/windows-2012-r2-printers-showing-twice-and-unable-to-set-default-printer?forum=winserverTS
    RDS 2019 - default printer changes after reconnect: https://community.spiceworks.com/topic/2243184-rds-2019-default-printer-changes-after-reconnect

    Best regards,
    Leila


    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Leila Kong 3,691 Reputation points
    2021-07-19T02:00:16.667+00:00

    Hello @Arnold MIshaev ,

    Just checking in to see if the information provided was helpful. Please let us know if you would like further assistance.

    0 comments No comments

  2. Arnold MIshaev 216 Reputation points
    2021-07-19T05:40:25.863+00:00

    Hello,

    i had to configure policy according link LeilaKong send and registry key in each RDSH server
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider\RemovePrintersAtLogoff = 0 (DWORD)

    This resolve my issue :)

    Thanks for LeilaKong


  3. Daniel Höltl 0 Reputation points
    2023-08-18T12:53:44.31+00:00

    Hello,

    just if somebody stumbles upon this problem like I did:

    For me the process "rdpclip" actually changed the users default printer when they disconnected from the session.

    After i removed the rights for the user to execute this file, everything works perfectly fine.

    (rdpclip.exe is located in %windir%\System32)

    0 comments No comments