[GH-ISSUE #108] Multiple Log Errors for long active rdp sessions #2010

Closed
opened 2026-03-01 17:16:48 +03:00 by kerem · 9 comments
Owner

Originally created by @xperia-droid on GitHub (Apr 7, 2021).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/108

Originally assigned to: @VShawn on GitHub.

Describe the bug
Most work days I have ~10 RDP sessions active in the background and reconnect to sessions every now and then.

Then I try to reconnect to an RDP session after some time (to not put a password in the lock screen) but then the RDP session is killed. I can then reconnect on all active RDP connections, but all are then gradually killed instead of connecting.

Since it is hard to see what is causing this, I used Notepad++ to search all .md logs under %appdata%\PRemoteM\Logs for the text "exit with error code". Thereby some messages came together.

Below the error messages summarized.

To Reproduce
Steps to reproduce the behavior:

  1. Have multiple RDP Session active atleast 2 or 3
  2. after some time 10 Minutes or an hour, can't specify, click on reconnect rdp connection
  3. RDP connection will close

Expected behavior
Working RDP behavior

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Win Server 2019 Standard - vmWare Esxi VM
  • PRemoteM Version: 05.10.2

Additional context

  1. RDP error 1 - No Idea why this occurs - could be nothing, but should be mentioned:

    exit with error code 1(An internal error has occurred.)
     2021-04-06T18:09:58.3481037+02:00[ThreadId:0000000001]		Debug		RDP Host: RDP ReConn, Status = Connected
     2021-04-06T18:09:58.3520968+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => WaitingForReconnect
     2021-04-06T18:09:58.4081048+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
     2021-04-06T18:09:58.4111087+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => NotInit
     2021-04-06T18:09:58.4141209+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Initializing
     2021-04-06T18:09:58.4171221+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
     2021-04-06T18:09:58.4191122+02:00[ThreadId:0000000001]		Debug		RDP Host: init new AxMsRdpClient9NotSafeForScriptingEx()
     2021-04-06T18:09:58.6261163+02:00[ThreadId:0000000001]		Debug		RDP Host: init CreateControl();
     2021-04-06T18:09:58.6401212+02:00[ThreadId:0000000001]		Debug		RDP Host: init Static
     2021-04-06T18:09:58.6441081+02:00[ThreadId:0000000001]		Debug		RDP Host: init conn bar
     2021-04-06T18:09:58.6471080+02:00[ThreadId:0000000001]		Debug		RDP Host: init Redirect
     2021-04-06T18:09:58.6501075+02:00[ThreadId:0000000001]		Debug		RDP Host: init Display
     2021-04-06T18:09:58.6531089+02:00[ThreadId:0000000001]		Debug		RDP Host: init Performance
     2021-04-06T18:09:58.6551110+02:00[ThreadId:0000000001]		Debug		RdpInit: DisplayPerformance = Auto, flag = 0
     2021-04-06T18:09:58.6581095+02:00[ThreadId:0000000001]		Debug		RDP Host: init Gateway
     2021-04-06T18:09:58.6641068+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Initialized
     2021-04-06T18:09:58.6661058+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Connecting
     2021-04-06T18:09:58.8246933+02:00[ThreadId:0000000001]		Debug		RDP Host: RdpOnDisconnected
     2021-04-06T18:09:58.8286900+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Disconnected
     2021-04-06T18:09:58.8306930+02:00[ThreadId:0000000001]		Warning		RDP() exit with error code 1(Ein interner Fehler ist aufgetreten.)
     2021-04-06T18:09:58.8336885+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
     2021-04-06T18:09:58.8672534+02:00[ThreadId:0000000001]		Debug		Remove connectionId = 48 from tab(5673583)
     2021-04-06T18:09:58.8712560+02:00[ThreadId:0000000001]		Debug		DelProtocolHost host(31525188)
     2021-04-06T18:09:58.8732548+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 3, FullWin.Count = 0, _tabWindows.Count = 2
     2021-04-06T18:09:58.8792521+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
  2. RDP error 2 - No Idea why this occurs - could be nothing, but should be mentioned:

    exit with error code 2(An internal error has occurred.)
     2021-04-06T15:23:27.2061681+02:00[ThreadId:0000000001]		Debug		RDP Host: RdpOnDisconnected
     2021-04-06T15:23:27.2121721+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Disconnected
     2021-04-06T15:23:27.2231715+02:00[ThreadId:0000000001]		Warning		RDP() exit with error code 2(Ein interner Fehler ist aufgetreten.)
     2021-04-06T15:23:27.2251713+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
     2021-04-06T15:23:27.2571775+02:00[ThreadId:0000000001]		Debug		Remove connectionId = 48 from tab(5673583)
     2021-04-06T15:23:27.2631715+02:00[ThreadId:0000000001]		Debug		DelProtocolHost host(64657722)
     2021-04-06T15:23:27.2661740+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 3, FullWin.Count = 0, _tabWindows.Count = 1
     2021-04-06T15:23:27.2751766+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
  3. RDP error 516 - Default Message when Server can't get connected, so it's normal behavior.

    exit with error code 516(Remote Desktop cannot connect to the remote computer for one of the following reasons:
     2021-03-31T11:15:28.5072415+02:00[ThreadId:0000000001]		Debug		RDP Host: RdpOnDisconnected
     2021-03-31T11:15:28.5102565+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Disconnected
     2021-03-31T11:15:28.5152429+02:00[ThreadId:0000000001]		Warning		RDP() exit with error code 516(Der Remotedesktop kann aus einem der folgenden Gründe keine Verbindung mit dem Remotecomputer herstellen:
     1) Der Remotezugriff auf den Server ist nicht aktiviert.
     2) Der Remotecomputer ist ausgeschaltet.
     3) Der Remotecomputer ist im Netzwerk nicht verfügbar.
     Stellen Sie sicher, dass der Remotecomputer eingeschaltet und mit dem Netzwerk verbunden und das der Remotezugriff aktiviert ist.)
  4. RDP error 3334 - Solution for mremote NG: https://www.batchworks.de/fix-rdp-error-3334-in-mremoteng-and-others/
    Could you check this solution?:

    exit with error code 3334(The session was disconnected due to a protocol error. Try to reconnect to the remote computer).
     2021-03-30T15:39:02.5916338+02:00[ThreadId:0000000001]		Debug		RDP Host: RdpOnDisconnected
     2021-03-30T15:39:02.5956235+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Disconnected
     2021-03-30T15:39:02.5986334+02:00[ThreadId:0000000001]		Warning		RDP() exit with error code 3334(Die Sitzung wurde aufgrund eines Protokollfehlers getrennt. Versuchen Sie, die Verbindung mit dem Remotecomputer wiederherzustellen.)
     2021-03-30T15:39:02.6016217+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
     2021-03-30T15:39:02.6166301+02:00[ThreadId:0000000001]		Debug		Remove connectionId = 20 from tab(42564588)
     2021-03-30T15:39:02.6196320+02:00[ThreadId:0000000001]		Debug		DelProtocolHost host(5009391)
     2021-03-30T15:39:02.6236270+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 5, FullWin.Count = 0, _tabWindows.Count = 1
     2021-03-30T15:39:02.6266409+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
  5. RDP error 3847 - Default password behavior, so it's OK:

    exit with error code 3847(The user account password has expired. The password must be changed to log in. Update the password or contact the system administrator or technical support).
     2021-03-08T10:06:23.0295401+01:00[ThreadId:0000000001]		Debug		Start Conn: (47975183) by host(29123463) with Tab(61753566)
     2021-03-08T10:06:23.0451704+01:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 1, FullWin.Count = 0, _tabWindows.Count = 1
     2021-03-08T10:06:23.5938494+01:00[ThreadId:0000000001]		Debug		RDP Host: RdpOnDisconnected
     2021-03-08T10:06:23.5978411+01:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Disconnected
     2021-03-08T10:06:23.6058453+01:00[ThreadId:0000000001]		Warning		RDP() exit with error code 3847(Das Kennwort des Benutzerkontos ist abgelaufen. Das Kennwort muss für die Anmeldung geändert werden. Aktualisieren Sie das Kennwort, oder wenden Sie sich an den Systemadministrator bzw. an den technischen Support.)
  6. RDP error 4360 - Has something to do with bitmap Caching and that i'm using your software inside a vm: Connection=>RDP=>Experience=>Bitmap Caching
    https://forum.asg-rd.com/showthread.php?tid=11016&page=3&highlight=3334
    Could you check this please?:

    exit with error code 4360(Reconnecting to the remote session failed.
     2021-04-07T12:05:41.3184516+02:00[ThreadId:0000000001]		Debug		RDP Host:  RdpOnOnConnected
     2021-04-07T12:05:41.3214518+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Connected
     2021-04-07T12:05:41.8644752+02:00[ThreadId:0000000001]		Debug		RDP Host: RdpOnDisconnected
     2021-04-07T12:05:41.8674713+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Disconnected
     2021-04-07T12:05:41.8714694+02:00[ThreadId:0000000001]		Warning		RDP() exit with error code 4360(Das Wiederherstellen der Verbindung mit der Remotesitzung ist fehlgeschlagen.
     Wiederholen Sie den Verbindungsversuch.)
     2021-04-07T12:05:41.8744710+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
     2021-04-07T12:05:41.9154727+02:00[ThreadId:0000000001]		Debug		Remove connectionId = 5 from tab(22681099)
     2021-04-07T12:05:41.9194726+02:00[ThreadId:0000000001]		Debug		DelProtocolHost host(53311180)
     2021-04-07T12:05:41.9214727+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 7, FullWin.Count = 0, _tabWindows.Count = 1
     2021-04-07T12:05:41.9264707+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()

Sorry if I break markdown rules, don't use it often.

if you need some more information, don't hesitate to ask :).

Originally created by @xperia-droid on GitHub (Apr 7, 2021). Original GitHub issue: https://github.com/1Remote/1Remote/issues/108 Originally assigned to: @VShawn on GitHub. **Describe the bug** Most work days I have ~10 RDP sessions active in the background and reconnect to sessions every now and then. Then I try to reconnect to an RDP session after some time (to not put a password in the lock screen) but then the RDP session is killed. I can then reconnect on all active RDP connections, but all are then gradually killed instead of connecting. Since it is hard to see what is causing this, I used Notepad++ to search all .md logs under %appdata%\PRemoteM\Logs for the text "exit with error code". Thereby some messages came together. Below the error messages summarized. **To Reproduce** Steps to reproduce the behavior: 1. Have multiple RDP Session active atleast 2 or 3 2. after some time 10 Minutes or an hour, can't specify, click on reconnect rdp connection 3. RDP connection will close **Expected behavior** Working RDP behavior **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: Win Server 2019 Standard - vmWare Esxi VM - PRemoteM Version: 05.10.2 **Additional context** 1. RDP error 1 - No Idea why this occurs - could be nothing, but should be mentioned: <details><summary>exit with error code 1(An internal error has occurred.)</summary><pre> 2021-04-06T18:09:58.3481037+02:00[ThreadId:0000000001] Debug RDP Host: RDP ReConn, Status = Connected 2021-04-06T18:09:58.3520968+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => WaitingForReconnect 2021-04-06T18:09:58.4081048+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-06T18:09:58.4111087+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => NotInit 2021-04-06T18:09:58.4141209+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Initializing 2021-04-06T18:09:58.4171221+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-06T18:09:58.4191122+02:00[ThreadId:0000000001] Debug RDP Host: init new AxMsRdpClient9NotSafeForScriptingEx() 2021-04-06T18:09:58.6261163+02:00[ThreadId:0000000001] Debug RDP Host: init CreateControl(); 2021-04-06T18:09:58.6401212+02:00[ThreadId:0000000001] Debug RDP Host: init Static 2021-04-06T18:09:58.6441081+02:00[ThreadId:0000000001] Debug RDP Host: init conn bar 2021-04-06T18:09:58.6471080+02:00[ThreadId:0000000001] Debug RDP Host: init Redirect 2021-04-06T18:09:58.6501075+02:00[ThreadId:0000000001] Debug RDP Host: init Display 2021-04-06T18:09:58.6531089+02:00[ThreadId:0000000001] Debug RDP Host: init Performance 2021-04-06T18:09:58.6551110+02:00[ThreadId:0000000001] Debug RdpInit: DisplayPerformance = Auto, flag = 0 2021-04-06T18:09:58.6581095+02:00[ThreadId:0000000001] Debug RDP Host: init Gateway 2021-04-06T18:09:58.6641068+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Initialized 2021-04-06T18:09:58.6661058+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Connecting 2021-04-06T18:09:58.8246933+02:00[ThreadId:0000000001] Debug RDP Host: RdpOnDisconnected 2021-04-06T18:09:58.8286900+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Disconnected 2021-04-06T18:09:58.8306930+02:00[ThreadId:0000000001] Warning RDP(<Customer IP>) exit with error code 1(Ein interner Fehler ist aufgetreten.) 2021-04-06T18:09:58.8336885+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-06T18:09:58.8672534+02:00[ThreadId:0000000001] Debug Remove connectionId = 48 from tab(5673583) 2021-04-06T18:09:58.8712560+02:00[ThreadId:0000000001] Debug DelProtocolHost host(31525188) 2021-04-06T18:09:58.8732548+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 3, FullWin.Count = 0, _tabWindows.Count = 2 2021-04-06T18:09:58.8792521+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose()</pre> </details> 2. RDP error 2 - No Idea why this occurs - could be nothing, but should be mentioned: <details><summary>exit with error code 2(An internal error has occurred.)</summary> <pre> 2021-04-06T15:23:27.2061681+02:00[ThreadId:0000000001] Debug RDP Host: RdpOnDisconnected 2021-04-06T15:23:27.2121721+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Disconnected 2021-04-06T15:23:27.2231715+02:00[ThreadId:0000000001] Warning RDP(<Customer IP>) exit with error code 2(Ein interner Fehler ist aufgetreten.) 2021-04-06T15:23:27.2251713+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-06T15:23:27.2571775+02:00[ThreadId:0000000001] Debug Remove connectionId = 48 from tab(5673583) 2021-04-06T15:23:27.2631715+02:00[ThreadId:0000000001] Debug DelProtocolHost host(64657722) 2021-04-06T15:23:27.2661740+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 3, FullWin.Count = 0, _tabWindows.Count = 1 2021-04-06T15:23:27.2751766+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose()</pre> </details> 3. RDP error 516 - Default Message when Server can't get connected, so it's normal behavior. <details><summary>exit with error code 516(Remote Desktop cannot connect to the remote computer for one of the following reasons:</summary> <pre> 2021-03-31T11:15:28.5072415+02:00[ThreadId:0000000001] Debug RDP Host: RdpOnDisconnected 2021-03-31T11:15:28.5102565+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Disconnected 2021-03-31T11:15:28.5152429+02:00[ThreadId:0000000001] Warning RDP(<Customer IP>) exit with error code 516(Der Remotedesktop kann aus einem der folgenden Gründe keine Verbindung mit dem Remotecomputer herstellen: 1) Der Remotezugriff auf den Server ist nicht aktiviert. 2) Der Remotecomputer ist ausgeschaltet. 3) Der Remotecomputer ist im Netzwerk nicht verfügbar. Stellen Sie sicher, dass der Remotecomputer eingeschaltet und mit dem Netzwerk verbunden und das der Remotezugriff aktiviert ist.)</pre> </details> 4. RDP error 3334 - Solution for mremote NG: https://www.batchworks.de/fix-rdp-error-3334-in-mremoteng-and-others/ **Could you check this solution?:** <details><summary>exit with error code 3334(The session was disconnected due to a protocol error. Try to reconnect to the remote computer).</summary> <pre> 2021-03-30T15:39:02.5916338+02:00[ThreadId:0000000001] Debug RDP Host: RdpOnDisconnected 2021-03-30T15:39:02.5956235+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Disconnected 2021-03-30T15:39:02.5986334+02:00[ThreadId:0000000001] Warning RDP(<Customer IP>) exit with error code 3334(Die Sitzung wurde aufgrund eines Protokollfehlers getrennt. Versuchen Sie, die Verbindung mit dem Remotecomputer wiederherzustellen.) 2021-03-30T15:39:02.6016217+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-03-30T15:39:02.6166301+02:00[ThreadId:0000000001] Debug Remove connectionId = 20 from tab(42564588) 2021-03-30T15:39:02.6196320+02:00[ThreadId:0000000001] Debug DelProtocolHost host(5009391) 2021-03-30T15:39:02.6236270+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 5, FullWin.Count = 0, _tabWindows.Count = 1 2021-03-30T15:39:02.6266409+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose()</pre> </details> 5. RDP error 3847 - Default password behavior, so it's OK: <details><summary>exit with error code 3847(The user account password has expired. The password must be changed to log in. Update the password or contact the system administrator or technical support).</summary> <pre> 2021-03-08T10:06:23.0295401+01:00[ThreadId:0000000001] Debug Start Conn: <Customer IP>(47975183) by host(29123463) with Tab(61753566) 2021-03-08T10:06:23.0451704+01:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 1, FullWin.Count = 0, _tabWindows.Count = 1 2021-03-08T10:06:23.5938494+01:00[ThreadId:0000000001] Debug RDP Host: RdpOnDisconnected 2021-03-08T10:06:23.5978411+01:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Disconnected 2021-03-08T10:06:23.6058453+01:00[ThreadId:0000000001] Warning RDP(<Customer IP>) exit with error code 3847(Das Kennwort des Benutzerkontos ist abgelaufen. Das Kennwort muss für die Anmeldung geändert werden. Aktualisieren Sie das Kennwort, oder wenden Sie sich an den Systemadministrator bzw. an den technischen Support.)</pre> </details> 6. RDP error 4360 - Has something to do with bitmap Caching and that i'm using your software inside a vm: Connection=>RDP=>Experience=>Bitmap Caching https://forum.asg-rd.com/showthread.php?tid=11016&page=3&highlight=3334 **Could you check this please?:** <details><summary>exit with error code 4360(Reconnecting to the remote session failed.</summary> <pre> 2021-04-07T12:05:41.3184516+02:00[ThreadId:0000000001] Debug RDP Host: RdpOnOnConnected 2021-04-07T12:05:41.3214518+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Connected 2021-04-07T12:05:41.8644752+02:00[ThreadId:0000000001] Debug RDP Host: RdpOnDisconnected 2021-04-07T12:05:41.8674713+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Disconnected 2021-04-07T12:05:41.8714694+02:00[ThreadId:0000000001] Warning RDP(<Customer IP>) exit with error code 4360(Das Wiederherstellen der Verbindung mit der Remotesitzung ist fehlgeschlagen. Wiederholen Sie den Verbindungsversuch.) 2021-04-07T12:05:41.8744710+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-07T12:05:41.9154727+02:00[ThreadId:0000000001] Debug Remove connectionId = 5 from tab(22681099) 2021-04-07T12:05:41.9194726+02:00[ThreadId:0000000001] Debug DelProtocolHost host(53311180) 2021-04-07T12:05:41.9214727+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 7, FullWin.Count = 0, _tabWindows.Count = 1 2021-04-07T12:05:41.9264707+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose()</pre> </details> Sorry if I break markdown rules, don't use it often. if you need some more information, don't hesitate to ask :).
kerem 2026-03-01 17:16:48 +03:00
Author
Owner

@xperia-droid commented on GitHub (Apr 7, 2021):

The temporary solution if I can't reconnect to the RDP sessions is to close the PRemoteM software completely, restart it and then open the RDP session.

Because if I can't reopen an RDP session, I can't open new sessions.

<!-- gh-comment-id:814834788 --> @xperia-droid commented on GitHub (Apr 7, 2021): The temporary solution if I can't reconnect to the RDP sessions is to close the PRemoteM software completely, restart it and then open the RDP session. Because if I can't reopen an RDP session, I can't open new sessions.
Author
Owner

@VShawn commented on GitHub (Apr 8, 2021):

DP session is killed.

after some time 10 Minutes or an hour, can't specify, click on reconnect rdp connection

did you means this button?

image

Error code list

https://social.technet.microsoft.com/wiki/contents/articles/37870.remote-desktop-client-troubleshooting-disconnect-codes-and-reasons.aspx

Error 3334

The error occurs when a maximum number of RDP connections is made through a single VRD window/process

The exe pack with editbin /LARGEADDRESSAWARE juts replace the original exe:
PRemoteM.zip

Or... I found another solution(not confirmed):

https://social.technet.microsoft.com/Forums/Lync/en-US/61f218a5-5ef8-49da-a035-90cdd64fc9a0/problem-with-remote-desktop-connection-manager-error-3334?forum=winserverTS

In case it helps someone, I have a brand new dedicated server, windows 2012 R2.

Following the build I connected via RDP from my windows 8.1 desktop, no special settings and straight in.

118 windows updates needed to be installed and the server was rebooted.

I could then not connect back to the server using RDP on my windows 8.1 client. (mild panic and googling followed)

I resolved this on my windows 8.1 desktop by going to RDP > Advanced Settings > connect from anywhere > settings and changing the connection settings as follows;

from "Automatically detect RD gateway server settings"
to "do not use an RDP gateway server"

Error 4360

this might be graphics driver error.

FYR:
https://github.com/mRemoteNG/mRemoteNG/issues/328
https://www.nvidia.com/en-us/geforce/forums/game-ready-drivers/13/272615/remote-desktop-error-4360/

===

Sorry but I never open such numbers of RDP sessions in the same time, you know I don't have so many PCs, It just IMO little beyond our Personal Remote Manager.

I will try to fix it anyway.

<!-- gh-comment-id:815720052 --> @VShawn commented on GitHub (Apr 8, 2021): ## DP session is killed. > after some time 10 Minutes or an hour, can't specify, click on reconnect rdp connection did you means this button? ![image](https://user-images.githubusercontent.com/10143738/114018020-5a787d80-989f-11eb-8479-793d62b1cd0c.png) # Error code list https://social.technet.microsoft.com/wiki/contents/articles/37870.remote-desktop-client-troubleshooting-disconnect-codes-and-reasons.aspx ## Error 3334 `The error occurs when a maximum number of RDP connections is made through a single VRD window/process` The exe pack with `editbin /LARGEADDRESSAWARE` juts replace the original exe: [PRemoteM.zip](https://github.com/VShawn/PRemoteM/files/6278442/PRemoteM.zip) Or... I found another solution(not confirmed): https://social.technet.microsoft.com/Forums/Lync/en-US/61f218a5-5ef8-49da-a035-90cdd64fc9a0/problem-with-remote-desktop-connection-manager-error-3334?forum=winserverTS ``` In case it helps someone, I have a brand new dedicated server, windows 2012 R2. Following the build I connected via RDP from my windows 8.1 desktop, no special settings and straight in. 118 windows updates needed to be installed and the server was rebooted. I could then not connect back to the server using RDP on my windows 8.1 client. (mild panic and googling followed) I resolved this on my windows 8.1 desktop by going to RDP > Advanced Settings > connect from anywhere > settings and changing the connection settings as follows; from "Automatically detect RD gateway server settings" to "do not use an RDP gateway server" ``` ## Error 4360 this might be graphics driver error. FYR: https://github.com/mRemoteNG/mRemoteNG/issues/328 https://www.nvidia.com/en-us/geforce/forums/game-ready-drivers/13/272615/remote-desktop-error-4360/ === Sorry but I never open such numbers of RDP sessions in the same time, you know I don't have so many PCs, It just IMO little beyond our `Personal Remote Manager`. I will try to fix it anyway.
Author
Owner

@xperia-droid commented on GitHub (Apr 8, 2021):

I mean the context menu button:
image

We have an active GPOs where after a certain period of inactivity the session is locked and with the reconnect button I save myself from entering the password.

Yes, I knew I use too much RDP :D, some days I use only 1 or 2 connections. But most of the time your software is open and running and at least in the background :).

Yes, I also found the solutions regarding both errors. But I don't think it has anything to do with the graphics stack or not installed windows Updates.
Because I could open and run the older RDP solution "Remote Desktop Connection manager v2.7" for days without any problems, on the same server.
And we install the new Windows updates shortly after release.
And the server is a Win Server 2019.

I know it's hard to debug or find :/.

Thanks for your help

Greetings :)

<!-- gh-comment-id:815773975 --> @xperia-droid commented on GitHub (Apr 8, 2021): I mean the context menu button: ![image](https://user-images.githubusercontent.com/24463981/114025596-93036180-9875-11eb-9fdd-95c69e33f9fb.png) We have an active GPOs where after a certain period of inactivity the session is locked and with the reconnect button I save myself from entering the password. Yes, I knew I use too much RDP :D, some days I use only 1 or 2 connections. But most of the time your software is open and running and at least in the background :). Yes, I also found the solutions regarding both errors. But I don't think it has anything to do with the graphics stack or not installed windows Updates. Because I could open and run the older RDP solution "Remote Desktop Connection manager v2.7" for days without any problems, on the same server. And we install the new Windows updates shortly after release. And the server is a Win Server 2019. I know it's hard to debug or find :/. Thanks for your help Greetings :)
Author
Owner

@VShawn commented on GitHub (Apr 8, 2021):

after a certain period of inactivity the session is locke

Ahhh I see, I will try this reconnect issuse first. my remote will not lock itself automaticly, so I never met this issue even I open the remote session the whole day before.

But don’t expect too much, I’m very busy in work and life recently and don’t have much time on the project. 😕

Because I could open and run the older RDP solution "Remote Desktop Connection manager v2.7" for days without any problems, on the same server.

Then maybe it related to the version of AxInterop.MSTSCLib.dll, PRM‘s mstsc.dll was build on my personal computer, don't know if it will affect.


I don’t have a clue for other errors. The most annoying is that I can‘t reproduce them 😑. Especially 10 RDP sessions active my device doesn't allow me to open 10 of virtual windows.


find a same error on mRemoteNG. https://github.com/mRemoteNG/mRemoteNG/issues/1843

<!-- gh-comment-id:815824943 --> @VShawn commented on GitHub (Apr 8, 2021): > after a certain period of inactivity the session is locke Ahhh I see, I will try this reconnect issuse first. my remote will not lock itself automaticly, so I never met this issue even I open the remote session the whole day before. But don’t expect too much, I’m very busy in work and life recently and don’t have much time on the project. :confused: > Because I could open and run the older RDP solution "Remote Desktop Connection manager v2.7" for days without any problems, on the same server. Then maybe it related to the version of `AxInterop.MSTSCLib.dll`, PRM‘s mstsc.dll was build on my personal computer, don't know if it will affect. --- I don’t have a clue for other errors. The most annoying is that I can‘t reproduce them :expressionless:. Especially `10 RDP sessions active` my device doesn't allow me to open 10 of virtual windows. --- find a same error on mRemoteNG. https://github.com/mRemoteNG/mRemoteNG/issues/1843
Author
Owner

@xperia-droid commented on GitHub (Apr 8, 2021):

Yeah I got the same behavior as from mRemoteNG#1843.

If I can't reconnect it disappears with black screen, and when I want to connect to the same server it shows a short time a black screen and then it disappears again. Can try it multiple Times only closing your software and restarting helped it.

Log from multiple tries:

2021-04-08T17:52:30.5461553+02:00[ThreadId:0000000001]		Debug		Remove connectionId = 20 from tab(62065186)
2021-04-08T17:52:30.5501479+02:00[ThreadId:0000000001]		Debug		DelProtocolHost host(62774975)
2021-04-08T17:52:30.5521588+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 1, FullWin.Count = 0, _tabWindows.Count = 1
2021-04-08T17:52:30.5561592+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:52:30.5611586+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:52:31.0811628+02:00[ThreadId:0000000001]		Debug		Remove connectionId = 30 from tab(62065186)
2021-04-08T17:52:31.0841623+02:00[ThreadId:0000000001]		Debug		DelProtocolHost host(51330292)
2021-04-08T17:52:31.0861606+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 1
2021-04-08T17:52:31.0891696+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:52:31.0921671+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:52:31.0951628+02:00[ThreadId:0000000001]		Debug		Close tab(62065186)
2021-04-08T17:52:31.1211632+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 0
2021-04-08T17:53:23.7694844+02:00[ThreadId:0000000001]		Debug		Tab size change to:W = 1936, H = 1056, Child , 
2021-04-08T17:53:23.8284789+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Initializing
2021-04-08T17:53:23.8314838+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:53:23.8344849+02:00[ThreadId:0000000001]		Debug		RDP Host: init new AxMsRdpClient9NotSafeForScriptingEx()
2021-04-08T17:53:23.8394859+02:00[ThreadId:0000000001]		Debug		RDP Host: init CreateControl();
2021-04-08T17:53:23.8724844+02:00[ThreadId:0000000001]		Debug		RDP Host: init Static
2021-04-08T17:53:23.8764862+02:00[ThreadId:0000000001]		Debug		RDP Host: init conn bar
2021-04-08T17:53:23.8794834+02:00[ThreadId:0000000001]		Debug		RDP Host: init Redirect
2021-04-08T17:53:23.8834830+02:00[ThreadId:0000000001]		Debug		RDP Host: init Display
2021-04-08T17:53:23.8864852+02:00[ThreadId:0000000001]		Debug		RDP Host: init Performance
2021-04-08T17:53:23.8894872+02:00[ThreadId:0000000001]		Debug		RdpInit: DisplayPerformance = Auto, flag = 0
2021-04-08T17:53:23.8924783+02:00[ThreadId:0000000001]		Debug		RDP Host: init Gateway
2021-04-08T17:53:23.8944793+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Initialized
2021-04-08T17:53:23.9164786+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Connecting
2021-04-08T17:53:24.0854898+02:00[ThreadId:0000000001]		Debug		Start Conn: <IP>(64036700) by host(21517896) with Tab(17295241)
2021-04-08T17:53:24.0884944+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 1, FullWin.Count = 0, _tabWindows.Count = 1
2021-04-08T17:53:24.7795013+02:00[ThreadId:0000000001]		Debug		RDP Host:  RdpOnOnConnected
2021-04-08T17:53:24.7824992+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Connected
2021-04-08T17:53:25.4155187+02:00[ThreadId:0000000001]		Debug		RDP Host: RdpOnDisconnected
2021-04-08T17:53:25.4205171+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Disconnected


2021-04-08T17:53:25.4245168+02:00[ThreadId:0000000001]		Warning		RDP(<IP>) exit with error code 4360(Das Wiederherstellen der Verbindung mit der Remotesitzung ist fehlgeschlagen.
Wiederholen Sie den Verbindungsversuch.)


2021-04-08T17:53:25.4275269+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:53:25.4415149+02:00[ThreadId:0000000001]		Debug		Remove connectionId = 9 from tab(17295241)
2021-04-08T17:53:25.4445259+02:00[ThreadId:0000000001]		Debug		DelProtocolHost host(21517896)
2021-04-08T17:53:25.4475168+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 1
2021-04-08T17:53:25.4515193+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:53:25.4555284+02:00[ThreadId:0000000001]		Debug		Close tab(17295241)
2021-04-08T17:53:25.4805270+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 0
2021-04-08T17:53:26.9005595+02:00[ThreadId:0000000001]		Debug		Tab size change to:W = 1936, H = 1056, Child , 
2021-04-08T17:53:26.9405563+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Initializing
2021-04-08T17:53:26.9455539+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:53:26.9495610+02:00[ThreadId:0000000001]		Debug		RDP Host: init new AxMsRdpClient9NotSafeForScriptingEx()
2021-04-08T17:53:26.9525546+02:00[ThreadId:0000000001]		Debug		RDP Host: init CreateControl();
2021-04-08T17:53:26.9705540+02:00[ThreadId:0000000001]		Debug		RDP Host: init Static
2021-04-08T17:53:26.9745542+02:00[ThreadId:0000000001]		Debug		RDP Host: init conn bar
2021-04-08T17:53:26.9765521+02:00[ThreadId:0000000001]		Debug		RDP Host: init Redirect
2021-04-08T17:53:26.9795513+02:00[ThreadId:0000000001]		Debug		RDP Host: init Display
2021-04-08T17:53:26.9815558+02:00[ThreadId:0000000001]		Debug		RDP Host: init Performance
2021-04-08T17:53:26.9845541+02:00[ThreadId:0000000001]		Debug		RdpInit: DisplayPerformance = Auto, flag = 0
2021-04-08T17:53:26.9865621+02:00[ThreadId:0000000001]		Debug		RDP Host: init Gateway
2021-04-08T17:53:26.9895588+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Initialized
2021-04-08T17:53:27.0015644+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Connecting
2021-04-08T17:53:27.0705667+02:00[ThreadId:0000000001]		Debug		Start Conn: <IP>(64036700) by host(9894640) with Tab(7185658)
2021-04-08T17:53:27.0735639+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 1, FullWin.Count = 0, _tabWindows.Count = 1
2021-04-08T17:53:27.3985692+02:00[ThreadId:0000000001]		Debug		RDP Host:  RdpOnOnConnected
2021-04-08T17:53:27.4015792+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Connected
2021-04-08T17:53:28.7152181+02:00[ThreadId:0000000001]		Debug		RDP Host: RdpOnDisconnected
2021-04-08T17:53:28.7182092+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Disconnected


2021-04-08T17:53:28.7222117+02:00[ThreadId:0000000001]		Warning		RDP(<IP>) exit with error code 4360(Das Wiederherstellen der Verbindung mit der Remotesitzung ist fehlgeschlagen.
Wiederholen Sie den Verbindungsversuch.)


2021-04-08T17:53:28.7252049+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:53:28.7402050+02:00[ThreadId:0000000001]		Debug		Remove connectionId = 9 from tab(7185658)
2021-04-08T17:53:28.7432112+02:00[ThreadId:0000000001]		Debug		DelProtocolHost host(9894640)
2021-04-08T17:53:28.7462034+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 1
2021-04-08T17:53:28.7502204+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:53:28.7552193+02:00[ThreadId:0000000001]		Debug		Close tab(7185658)
2021-04-08T17:53:28.7827742+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 0
2021-04-08T17:53:30.0021929+02:00[ThreadId:0000000001]		Debug		Tab size change to:W = 1936, H = 1056, Child , 
2021-04-08T17:53:30.0401965+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Initializing
2021-04-08T17:53:30.0442001+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:53:30.0471982+02:00[ThreadId:0000000001]		Debug		RDP Host: init new AxMsRdpClient9NotSafeForScriptingEx()
2021-04-08T17:53:30.0501999+02:00[ThreadId:0000000001]		Debug		RDP Host: init CreateControl();
2021-04-08T17:53:30.0641951+02:00[ThreadId:0000000001]		Debug		RDP Host: init Static
2021-04-08T17:53:30.0681998+02:00[ThreadId:0000000001]		Debug		RDP Host: init conn bar
2021-04-08T17:53:30.0701993+02:00[ThreadId:0000000001]		Debug		RDP Host: init Redirect
2021-04-08T17:53:30.0731995+02:00[ThreadId:0000000001]		Debug		RDP Host: init Display
2021-04-08T17:53:30.0761902+02:00[ThreadId:0000000001]		Debug		RDP Host: init Performance
2021-04-08T17:53:30.0781916+02:00[ThreadId:0000000001]		Debug		RdpInit: DisplayPerformance = Auto, flag = 0
2021-04-08T17:53:30.0801979+02:00[ThreadId:0000000001]		Debug		RDP Host: init Gateway
2021-04-08T17:53:30.0831992+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Initialized
2021-04-08T17:53:30.0941911+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Connecting
2021-04-08T17:53:30.1661979+02:00[ThreadId:0000000001]		Debug		Start Conn: <IP>(64036700) by host(67059732) with Tab(58081825)
2021-04-08T17:53:30.1691997+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 1, FullWin.Count = 0, _tabWindows.Count = 1
2021-04-08T17:53:30.5232127+02:00[ThreadId:0000000001]		Debug		RDP Host:  RdpOnOnConnected
2021-04-08T17:53:30.5272027+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Connected
2021-04-08T17:53:31.4967900+02:00[ThreadId:0000000001]		Debug		RDP Host:  RdpOnOnLoginComplete
2021-04-08T17:53:33.0015430+02:00[ThreadId:0000000001]		Debug		RDP Host:  RdpOnOnLoginComplete
2021-04-08T17:53:33.3975534+02:00[ThreadId:0000000001]		Debug		RDP Host: RdpOnDisconnected
2021-04-08T17:53:33.4005619+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Disconnected


2021-04-08T17:53:33.4075603+02:00[ThreadId:0000000001]		Warning		RDP(<IP>) exit with error code 3334(Die Sitzung wurde aufgrund eines Protokollfehlers getrennt. Versuchen Sie, die Verbindung mit dem Remotecomputer wiederherzustellen.)


2021-04-08T17:53:33.4125524+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:53:33.4365563+02:00[ThreadId:0000000001]		Debug		Remove connectionId = 9 from tab(58081825)
2021-04-08T17:53:33.4395601+02:00[ThreadId:0000000001]		Debug		DelProtocolHost host(67059732)
2021-04-08T17:53:33.4425558+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 1
2021-04-08T17:53:33.4475520+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:53:33.4555526+02:00[ThreadId:0000000001]		Debug		Close tab(58081825)
2021-04-08T17:53:33.4755617+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 0
2021-04-08T17:53:59.1001996+02:00[ThreadId:0000000001]		Debug		Tab size change to:W = 1936, H = 1056, Child , 
2021-04-08T17:53:59.1421929+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Initializing
2021-04-08T17:53:59.1461943+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:53:59.1522002+02:00[ThreadId:0000000001]		Debug		RDP Host: init new AxMsRdpClient9NotSafeForScriptingEx()
2021-04-08T17:53:59.1561960+02:00[ThreadId:0000000001]		Debug		RDP Host: init CreateControl();
2021-04-08T17:53:59.2292017+02:00[ThreadId:0000000001]		Debug		RDP Host: init Static
2021-04-08T17:53:59.2342016+02:00[ThreadId:0000000001]		Debug		RDP Host: init conn bar
2021-04-08T17:53:59.2371950+02:00[ThreadId:0000000001]		Debug		RDP Host: init Redirect
2021-04-08T17:53:59.2412014+02:00[ThreadId:0000000001]		Debug		RDP Host: init Display
2021-04-08T17:53:59.2451959+02:00[ThreadId:0000000001]		Debug		RDP Host: init Performance
2021-04-08T17:53:59.2482002+02:00[ThreadId:0000000001]		Debug		RdpInit: DisplayPerformance = Auto, flag = 0
2021-04-08T17:53:59.2502030+02:00[ThreadId:0000000001]		Debug		RDP Host: init Gateway
2021-04-08T17:53:59.2532017+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Initialized
2021-04-08T17:53:59.2641969+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Connecting
2021-04-08T17:53:59.3531992+02:00[ThreadId:0000000001]		Debug		Start Conn: <IP>(64036700) by host(27632294) with Tab(32941269)
2021-04-08T17:53:59.3561999+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 1, FullWin.Count = 0, _tabWindows.Count = 1
2021-04-08T17:53:59.7912194+02:00[ThreadId:0000000001]		Debug		RDP Host:  RdpOnOnConnected
2021-04-08T17:53:59.7952177+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Connected
2021-04-08T17:54:00.0692146+02:00[ThreadId:0000000002]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:54:00.0842142+02:00[ThreadId:0000000002]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:54:00.1192175+02:00[ThreadId:0000000002]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:54:00.7732415+02:00[ThreadId:0000000001]		Debug		RDP Host: RdpOnDisconnected
2021-04-08T17:54:00.7762360+02:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Disconnected


2021-04-08T17:54:00.7802444+02:00[ThreadId:0000000001]		Warning		RDP(<IP>) exit with error code 4360(Das Wiederherstellen der Verbindung mit der Remotesitzung ist fehlgeschlagen.
Wiederholen Sie den Verbindungsversuch.)


2021-04-08T17:54:00.7842469+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:54:00.7992367+02:00[ThreadId:0000000001]		Debug		Remove connectionId = 9 from tab(32941269)
2021-04-08T17:54:00.8032350+02:00[ThreadId:0000000001]		Debug		DelProtocolHost host(27632294)
2021-04-08T17:54:00.8052346+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 1
2021-04-08T17:54:00.8092386+02:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:54:00.8132480+02:00[ThreadId:0000000001]		Debug		Close tab(32941269)
2021-04-08T17:54:00.8362378+02:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 0
2021-04-08T17:54:03.9283245+02:00[ThreadId:0000000002]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:54:03.9583243+02:00[ThreadId:0000000002]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:54:03.9673440+02:00[ThreadId:0000000002]		Debug		RDP Host: _rdp.Dispose()
2021-04-08T17:54:08.8964421+02:00[ThreadId:0000000001]		Debug		OrderServerList: NameDesc
2021-04-08T17:54:17.3556509+02:00[ThreadId:0000000004]		Debug		Check update.
</p></details>
<!-- gh-comment-id:815969894 --> @xperia-droid commented on GitHub (Apr 8, 2021): Yeah I got the same behavior as from mRemoteNG#1843. If I can't reconnect it disappears with black screen, and when I want to connect to the same server it shows a short time a black screen and then it disappears again. Can try it multiple Times only closing your software and restarting helped it. <details> <summary>Log from multiple tries:</summary> <p> ``` 2021-04-08T17:52:30.5461553+02:00[ThreadId:0000000001] Debug Remove connectionId = 20 from tab(62065186) 2021-04-08T17:52:30.5501479+02:00[ThreadId:0000000001] Debug DelProtocolHost host(62774975) 2021-04-08T17:52:30.5521588+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 1, FullWin.Count = 0, _tabWindows.Count = 1 2021-04-08T17:52:30.5561592+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:52:30.5611586+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:52:31.0811628+02:00[ThreadId:0000000001] Debug Remove connectionId = 30 from tab(62065186) 2021-04-08T17:52:31.0841623+02:00[ThreadId:0000000001] Debug DelProtocolHost host(51330292) 2021-04-08T17:52:31.0861606+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 1 2021-04-08T17:52:31.0891696+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:52:31.0921671+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:52:31.0951628+02:00[ThreadId:0000000001] Debug Close tab(62065186) 2021-04-08T17:52:31.1211632+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 0 2021-04-08T17:53:23.7694844+02:00[ThreadId:0000000001] Debug Tab size change to:W = 1936, H = 1056, Child , 2021-04-08T17:53:23.8284789+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Initializing 2021-04-08T17:53:23.8314838+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:53:23.8344849+02:00[ThreadId:0000000001] Debug RDP Host: init new AxMsRdpClient9NotSafeForScriptingEx() 2021-04-08T17:53:23.8394859+02:00[ThreadId:0000000001] Debug RDP Host: init CreateControl(); 2021-04-08T17:53:23.8724844+02:00[ThreadId:0000000001] Debug RDP Host: init Static 2021-04-08T17:53:23.8764862+02:00[ThreadId:0000000001] Debug RDP Host: init conn bar 2021-04-08T17:53:23.8794834+02:00[ThreadId:0000000001] Debug RDP Host: init Redirect 2021-04-08T17:53:23.8834830+02:00[ThreadId:0000000001] Debug RDP Host: init Display 2021-04-08T17:53:23.8864852+02:00[ThreadId:0000000001] Debug RDP Host: init Performance 2021-04-08T17:53:23.8894872+02:00[ThreadId:0000000001] Debug RdpInit: DisplayPerformance = Auto, flag = 0 2021-04-08T17:53:23.8924783+02:00[ThreadId:0000000001] Debug RDP Host: init Gateway 2021-04-08T17:53:23.8944793+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Initialized 2021-04-08T17:53:23.9164786+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Connecting 2021-04-08T17:53:24.0854898+02:00[ThreadId:0000000001] Debug Start Conn: <IP>(64036700) by host(21517896) with Tab(17295241) 2021-04-08T17:53:24.0884944+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 1, FullWin.Count = 0, _tabWindows.Count = 1 2021-04-08T17:53:24.7795013+02:00[ThreadId:0000000001] Debug RDP Host: RdpOnOnConnected 2021-04-08T17:53:24.7824992+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Connected 2021-04-08T17:53:25.4155187+02:00[ThreadId:0000000001] Debug RDP Host: RdpOnDisconnected 2021-04-08T17:53:25.4205171+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Disconnected 2021-04-08T17:53:25.4245168+02:00[ThreadId:0000000001] Warning RDP(<IP>) exit with error code 4360(Das Wiederherstellen der Verbindung mit der Remotesitzung ist fehlgeschlagen. Wiederholen Sie den Verbindungsversuch.) 2021-04-08T17:53:25.4275269+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:53:25.4415149+02:00[ThreadId:0000000001] Debug Remove connectionId = 9 from tab(17295241) 2021-04-08T17:53:25.4445259+02:00[ThreadId:0000000001] Debug DelProtocolHost host(21517896) 2021-04-08T17:53:25.4475168+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 1 2021-04-08T17:53:25.4515193+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:53:25.4555284+02:00[ThreadId:0000000001] Debug Close tab(17295241) 2021-04-08T17:53:25.4805270+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 0 2021-04-08T17:53:26.9005595+02:00[ThreadId:0000000001] Debug Tab size change to:W = 1936, H = 1056, Child , 2021-04-08T17:53:26.9405563+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Initializing 2021-04-08T17:53:26.9455539+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:53:26.9495610+02:00[ThreadId:0000000001] Debug RDP Host: init new AxMsRdpClient9NotSafeForScriptingEx() 2021-04-08T17:53:26.9525546+02:00[ThreadId:0000000001] Debug RDP Host: init CreateControl(); 2021-04-08T17:53:26.9705540+02:00[ThreadId:0000000001] Debug RDP Host: init Static 2021-04-08T17:53:26.9745542+02:00[ThreadId:0000000001] Debug RDP Host: init conn bar 2021-04-08T17:53:26.9765521+02:00[ThreadId:0000000001] Debug RDP Host: init Redirect 2021-04-08T17:53:26.9795513+02:00[ThreadId:0000000001] Debug RDP Host: init Display 2021-04-08T17:53:26.9815558+02:00[ThreadId:0000000001] Debug RDP Host: init Performance 2021-04-08T17:53:26.9845541+02:00[ThreadId:0000000001] Debug RdpInit: DisplayPerformance = Auto, flag = 0 2021-04-08T17:53:26.9865621+02:00[ThreadId:0000000001] Debug RDP Host: init Gateway 2021-04-08T17:53:26.9895588+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Initialized 2021-04-08T17:53:27.0015644+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Connecting 2021-04-08T17:53:27.0705667+02:00[ThreadId:0000000001] Debug Start Conn: <IP>(64036700) by host(9894640) with Tab(7185658) 2021-04-08T17:53:27.0735639+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 1, FullWin.Count = 0, _tabWindows.Count = 1 2021-04-08T17:53:27.3985692+02:00[ThreadId:0000000001] Debug RDP Host: RdpOnOnConnected 2021-04-08T17:53:27.4015792+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Connected 2021-04-08T17:53:28.7152181+02:00[ThreadId:0000000001] Debug RDP Host: RdpOnDisconnected 2021-04-08T17:53:28.7182092+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Disconnected 2021-04-08T17:53:28.7222117+02:00[ThreadId:0000000001] Warning RDP(<IP>) exit with error code 4360(Das Wiederherstellen der Verbindung mit der Remotesitzung ist fehlgeschlagen. Wiederholen Sie den Verbindungsversuch.) 2021-04-08T17:53:28.7252049+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:53:28.7402050+02:00[ThreadId:0000000001] Debug Remove connectionId = 9 from tab(7185658) 2021-04-08T17:53:28.7432112+02:00[ThreadId:0000000001] Debug DelProtocolHost host(9894640) 2021-04-08T17:53:28.7462034+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 1 2021-04-08T17:53:28.7502204+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:53:28.7552193+02:00[ThreadId:0000000001] Debug Close tab(7185658) 2021-04-08T17:53:28.7827742+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 0 2021-04-08T17:53:30.0021929+02:00[ThreadId:0000000001] Debug Tab size change to:W = 1936, H = 1056, Child , 2021-04-08T17:53:30.0401965+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Initializing 2021-04-08T17:53:30.0442001+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:53:30.0471982+02:00[ThreadId:0000000001] Debug RDP Host: init new AxMsRdpClient9NotSafeForScriptingEx() 2021-04-08T17:53:30.0501999+02:00[ThreadId:0000000001] Debug RDP Host: init CreateControl(); 2021-04-08T17:53:30.0641951+02:00[ThreadId:0000000001] Debug RDP Host: init Static 2021-04-08T17:53:30.0681998+02:00[ThreadId:0000000001] Debug RDP Host: init conn bar 2021-04-08T17:53:30.0701993+02:00[ThreadId:0000000001] Debug RDP Host: init Redirect 2021-04-08T17:53:30.0731995+02:00[ThreadId:0000000001] Debug RDP Host: init Display 2021-04-08T17:53:30.0761902+02:00[ThreadId:0000000001] Debug RDP Host: init Performance 2021-04-08T17:53:30.0781916+02:00[ThreadId:0000000001] Debug RdpInit: DisplayPerformance = Auto, flag = 0 2021-04-08T17:53:30.0801979+02:00[ThreadId:0000000001] Debug RDP Host: init Gateway 2021-04-08T17:53:30.0831992+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Initialized 2021-04-08T17:53:30.0941911+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Connecting 2021-04-08T17:53:30.1661979+02:00[ThreadId:0000000001] Debug Start Conn: <IP>(64036700) by host(67059732) with Tab(58081825) 2021-04-08T17:53:30.1691997+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 1, FullWin.Count = 0, _tabWindows.Count = 1 2021-04-08T17:53:30.5232127+02:00[ThreadId:0000000001] Debug RDP Host: RdpOnOnConnected 2021-04-08T17:53:30.5272027+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Connected 2021-04-08T17:53:31.4967900+02:00[ThreadId:0000000001] Debug RDP Host: RdpOnOnLoginComplete 2021-04-08T17:53:33.0015430+02:00[ThreadId:0000000001] Debug RDP Host: RdpOnOnLoginComplete 2021-04-08T17:53:33.3975534+02:00[ThreadId:0000000001] Debug RDP Host: RdpOnDisconnected 2021-04-08T17:53:33.4005619+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Disconnected 2021-04-08T17:53:33.4075603+02:00[ThreadId:0000000001] Warning RDP(<IP>) exit with error code 3334(Die Sitzung wurde aufgrund eines Protokollfehlers getrennt. Versuchen Sie, die Verbindung mit dem Remotecomputer wiederherzustellen.) 2021-04-08T17:53:33.4125524+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:53:33.4365563+02:00[ThreadId:0000000001] Debug Remove connectionId = 9 from tab(58081825) 2021-04-08T17:53:33.4395601+02:00[ThreadId:0000000001] Debug DelProtocolHost host(67059732) 2021-04-08T17:53:33.4425558+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 1 2021-04-08T17:53:33.4475520+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:53:33.4555526+02:00[ThreadId:0000000001] Debug Close tab(58081825) 2021-04-08T17:53:33.4755617+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 0 2021-04-08T17:53:59.1001996+02:00[ThreadId:0000000001] Debug Tab size change to:W = 1936, H = 1056, Child , 2021-04-08T17:53:59.1421929+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Initializing 2021-04-08T17:53:59.1461943+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:53:59.1522002+02:00[ThreadId:0000000001] Debug RDP Host: init new AxMsRdpClient9NotSafeForScriptingEx() 2021-04-08T17:53:59.1561960+02:00[ThreadId:0000000001] Debug RDP Host: init CreateControl(); 2021-04-08T17:53:59.2292017+02:00[ThreadId:0000000001] Debug RDP Host: init Static 2021-04-08T17:53:59.2342016+02:00[ThreadId:0000000001] Debug RDP Host: init conn bar 2021-04-08T17:53:59.2371950+02:00[ThreadId:0000000001] Debug RDP Host: init Redirect 2021-04-08T17:53:59.2412014+02:00[ThreadId:0000000001] Debug RDP Host: init Display 2021-04-08T17:53:59.2451959+02:00[ThreadId:0000000001] Debug RDP Host: init Performance 2021-04-08T17:53:59.2482002+02:00[ThreadId:0000000001] Debug RdpInit: DisplayPerformance = Auto, flag = 0 2021-04-08T17:53:59.2502030+02:00[ThreadId:0000000001] Debug RDP Host: init Gateway 2021-04-08T17:53:59.2532017+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Initialized 2021-04-08T17:53:59.2641969+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Connecting 2021-04-08T17:53:59.3531992+02:00[ThreadId:0000000001] Debug Start Conn: <IP>(64036700) by host(27632294) with Tab(32941269) 2021-04-08T17:53:59.3561999+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 1, FullWin.Count = 0, _tabWindows.Count = 1 2021-04-08T17:53:59.7912194+02:00[ThreadId:0000000001] Debug RDP Host: RdpOnOnConnected 2021-04-08T17:53:59.7952177+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Connected 2021-04-08T17:54:00.0692146+02:00[ThreadId:0000000002] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:54:00.0842142+02:00[ThreadId:0000000002] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:54:00.1192175+02:00[ThreadId:0000000002] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:54:00.7732415+02:00[ThreadId:0000000001] Debug RDP Host: RdpOnDisconnected 2021-04-08T17:54:00.7762360+02:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Disconnected 2021-04-08T17:54:00.7802444+02:00[ThreadId:0000000001] Warning RDP(<IP>) exit with error code 4360(Das Wiederherstellen der Verbindung mit der Remotesitzung ist fehlgeschlagen. Wiederholen Sie den Verbindungsversuch.) 2021-04-08T17:54:00.7842469+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:54:00.7992367+02:00[ThreadId:0000000001] Debug Remove connectionId = 9 from tab(32941269) 2021-04-08T17:54:00.8032350+02:00[ThreadId:0000000001] Debug DelProtocolHost host(27632294) 2021-04-08T17:54:00.8052346+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 1 2021-04-08T17:54:00.8092386+02:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:54:00.8132480+02:00[ThreadId:0000000001] Debug Close tab(32941269) 2021-04-08T17:54:00.8362378+02:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 0 2021-04-08T17:54:03.9283245+02:00[ThreadId:0000000002] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:54:03.9583243+02:00[ThreadId:0000000002] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:54:03.9673440+02:00[ThreadId:0000000002] Debug RDP Host: _rdp.Dispose() 2021-04-08T17:54:08.8964421+02:00[ThreadId:0000000001] Debug OrderServerList: NameDesc 2021-04-08T17:54:17.3556509+02:00[ThreadId:0000000004] Debug Check update. </p></details>
Author
Owner

@VShawn commented on GitHub (May 10, 2021):

I active 2 rdp sessions for 3 days. But remote Windows didnt lock down, it looks like my machines have no policy to lock desk
automatically after a long period of inactivity.

<!-- gh-comment-id:836033663 --> @VShawn commented on GitHub (May 10, 2021): I active 2 rdp sessions for 3 days. But remote Windows didnt lock down, it looks like my machines have no policy to lock desk automatically after a long period of inactivity.
Author
Owner

@stetze commented on GitHub (Dec 13, 2021):

I have the Same error with the Windows Store Version.

I work with multiple (5-10) RDP Windows over the day.

At some Point you suddenly can no longer Start new connections. These will be closed directly again. It Only helps to close the Software completely, After That it Works Again. Which log files can i view and Upload for this?

I have Windows 11 pro.

<!-- gh-comment-id:992713305 --> @stetze commented on GitHub (Dec 13, 2021): I have the Same error with the Windows Store Version. I work with multiple (5-10) RDP Windows over the day. At some Point you suddenly can no longer Start new connections. These will be closed directly again. It Only helps to close the Software completely, After That it Works Again. Which log files can i view and Upload for this? I have Windows 11 pro.
Author
Owner

@VShawn commented on GitHub (Dec 14, 2021):

@stetze88 it's good to have some log data thanks bro

<!-- gh-comment-id:993342422 --> @VShawn commented on GitHub (Dec 14, 2021): @stetze88 it's good to have some log data thanks bro
Author
Owner

@VShawn commented on GitHub (Feb 17, 2022):

👋 Hello, this issue has been marked as stale because it has not had recent activity.
Feel free to reopen it if any new discover .

<!-- gh-comment-id:1042877977 --> @VShawn commented on GitHub (Feb 17, 2022): 👋 Hello, this issue has been marked as stale because it has not had recent activity. Feel free to reopen it if any new discover .
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/1Remote#2010
No description provided.