RDP keeping disconnecting/reconnecting with reason code 2147942521(even id 40)

Rogge Zhou 6 Reputation points


my RDP session frequently disconnect and reconnect , I check the event log, there was a reason code 2147942521, but I am not able to find any explain regarding this reason code, does any knows how to debug this issue ?

client windows version: Windows 10 Enterpris 21H2 19044.1889

server windows version: Windows 10 Pro 21H2 19044.1766

  • <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  • <System> <Provider Name="Microsoft-Windows-TerminalServices-LocalSessionManager" Guid="{5d896912-022d-40aa-a3a8-4fa5515c76d7}" /> <EventID>40</EventID> <Version>0</Version> <Level>4</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x1000000000000000</Keywords> <TimeCreated SystemTime="2022-11-01T02:55:45.6269531Z" /> <EventRecordID>173</EventRecordID> <Correlation ActivityID="{f4204cb1-d060-4535-b798-b49638dc0000}" /> <Execution ProcessID="972" ThreadID="10080" /> <Channel>Microsoft-Windows-TerminalServices-LocalSessionManager/Operational</Channel> <Computer>Win10-27</Computer> <Security UserID="S-1-5-18" /> </System>
  • <UserData>
  • <EventXML xmlns="Event_NS"> <Session>3</Session> <Reason>2147942521</Reason> </EventXML> </UserData> </Event>
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,226 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Vigny Damien 0 Reputation points


    same problem here ... any luck to have a solution ?

    0 comments No comments