question

Justin-7457 avatar image
0 Votes"
Justin-7457 asked Justin-7457 answered

RDP disconnects when trying to connect to Server 2016

First and foremost, this is regarding a fully patched Windows Server 2016 box from Dell (PowerEdge R540), not Windows Server 2012 R2. I'm going to say this a few times because I keep being told - on other boards - to uninstall the 2012R2 Windows Updates which caused the problem in 2012R2 or to install the hotfixes which are only for 2012R2.

So... This is a Windows Server 2016 box :)

RDP works great to this Windows Server 2016 server up until the point it doesn't. When it stops working we get the error 4005 - "The Windows logon process has unexpectedly terminated." In the Remote Desktop Services section of EventVwr we see 36 - "An error occurred when transitioning from CsrConnected in response to EvCsrInitialized. (Error Code 0x80070102)." The user sees a black screen for a few seconds and then gets disconnected.

The issue first started appearing a few weeks ago - 9/16/20 - but not immediately after anything was installed. The previous Windows Updates which had been installed were a few weeks prior in late August.

Rebooting the server fixes the issue for 48ish hours before the issue pops back up and you have to reboot again.

Oh, and the only thing this box does is run SQL. That's it. There's nothing else installed.

Again, the issues are the same as on Windows Server 2012R2 but this is a Windows Server 2016 box. (I know this is overkill but I need something to work with for Server 2016, not 2012R2) :)

So my question is how do you fix this issue on a Windows Server 2016 box?

remote-desktop-servicesremote-desktop-client
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HI

1.did you install full latest update patch on both client and server 2016 ?
2.what's the client ?is it thin client ?
what's the client os version ?we can enter winver in command prompt and look the os version.
3.did you install "remote desktop session host role" on issue w2016 server ?
4.we can try to configure below policy on test w2016 rdsh then reboot the server and check the result.
Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Device and Resource Redirection
Do not allow supported Plug and Play Device Redirection - DISABLED
5.we can run below powershell command on both client and server 2016 then check if we install update cause our issue .you can share them to here.
please note don't include your private information.
get-hotfix

0 Votes 0 ·

Hey JiaYou,

  1. The server and client are both fully patched as far as Windows Updates go.

  2. The RDP client I use is Royal TS, but most of my coworkers use standard MSTSC which returns the same result - black screen and disconnect within maybe 5-10 seconds. Not sure if this is what you were asking so if I misunderstood please let me know!

  3. RD Session Host is not on this server. Nothing RDP-related was added. We're just trying to utilize the two RDP sessions which are active when you install Windows. This is a database server only.

  4. Are there any adverse effects which could occur by setting this GPO?

  5. I don't think it's a client issue... we're an IT department with multiple people having issues connecting only to this 1 server out of ~150 servers. Our issues started around 9/16. The only hotfix installed around that time was KB4565912 on 8/28, just over two weeks prior to the issues starting; however, RDP was working fine between 8/28 and 9/16.

0 Votes 0 ·

1 Answer

Justin-7457 avatar image
0 Votes"
Justin-7457 answered

This ended up being a bit of an oddball.

The server is connected to a SAN which had a corrupt MFT causing iSCSIPRT to constantly (I mean almost every second) terminate and reconnect to the session. Once this issue was fixed - chkdsk /F - the volume came back up and we (myself and a MS engineer) are guessing the network became stable enough to hold an RDP session.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.