rdp

Remote Desktop / RDP credentials check from command line (no GUI)

試著忘記壹切 提交于 2021-01-24 11:32:26
问题 We're currently writing a tool aimed at checking the validity of credentials over various applications (http, ssh, smb, rdp). No problem for the 3 former. But for RDP, I couldn't find a single way of doing this easily. The tool is embedded within a web app hosted on a linux box, therefore there is no X Server available. The only tool I have successfully used to validate RDP credentials from the command line is THC-Hydra, by supplying a single username and password, it works correctly for

Remote Desktop / RDP credentials check from command line (no GUI)

北城余情 提交于 2021-01-24 11:32:05
问题 We're currently writing a tool aimed at checking the validity of credentials over various applications (http, ssh, smb, rdp). No problem for the 3 former. But for RDP, I couldn't find a single way of doing this easily. The tool is embedded within a web app hosted on a linux box, therefore there is no X Server available. The only tool I have successfully used to validate RDP credentials from the command line is THC-Hydra, by supplying a single username and password, it works correctly for

Can the GUI of an RDP session remain active after disconnect

无人久伴 提交于 2020-12-28 07:47:26
问题 I'm running automated testing procedures that emulates keystrokes and mouseclicks 24/7. Although it runs fine locally, on an RDP session it stops running once minimized or disconnected. Apparently, the GUI doesn't exist if you can't physically see it on the screen. There is a registry work-around for keeping the GUI active for minimizing the window, but I know of no way to keep it alive after disconnect. Ideally, I would have this run on the server Windows console session which would not care

Can the GUI of an RDP session remain active after disconnect

北战南征 提交于 2020-12-28 07:43:03
问题 I'm running automated testing procedures that emulates keystrokes and mouseclicks 24/7. Although it runs fine locally, on an RDP session it stops running once minimized or disconnected. Apparently, the GUI doesn't exist if you can't physically see it on the screen. There is a registry work-around for keeping the GUI active for minimizing the window, but I know of no way to keep it alive after disconnect. Ideally, I would have this run on the server Windows console session which would not care

Can the GUI of an RDP session remain active after disconnect

寵の児 提交于 2020-12-28 07:42:33
问题 I'm running automated testing procedures that emulates keystrokes and mouseclicks 24/7. Although it runs fine locally, on an RDP session it stops running once minimized or disconnected. Apparently, the GUI doesn't exist if you can't physically see it on the screen. There is a registry work-around for keeping the GUI active for minimizing the window, but I know of no way to keep it alive after disconnect. Ideally, I would have this run on the server Windows console session which would not care

Getting public IP address of a remote's desktop client

佐手、 提交于 2020-11-28 08:25:29
问题 I'm developing an application which runs on the remote server (Windows Server 2016-2019, Windows 10) when user is initiating a remote connection with RDP. I'm using C++ and Win API. I'm trying to get public IP address of the Remote Desktop Client. I used method WTSQuerySessionInformationW with WTSInfoClass set to WTSClientAddress. Unfortunately it looks as this function returns local ip of the client's computer for instance 192.168.1.10 not the public one. The scenario is that client is

Getting public IP address of a remote's desktop client

给你一囗甜甜゛ 提交于 2020-11-28 08:24:32
问题 I'm developing an application which runs on the remote server (Windows Server 2016-2019, Windows 10) when user is initiating a remote connection with RDP. I'm using C++ and Win API. I'm trying to get public IP address of the Remote Desktop Client. I used method WTSQuerySessionInformationW with WTSInfoClass set to WTSClientAddress. Unfortunately it looks as this function returns local ip of the client's computer for instance 192.168.1.10 not the public one. The scenario is that client is

Getting public IP address of a remote's desktop client

半世苍凉 提交于 2020-11-28 08:24:30
问题 I'm developing an application which runs on the remote server (Windows Server 2016-2019, Windows 10) when user is initiating a remote connection with RDP. I'm using C++ and Win API. I'm trying to get public IP address of the Remote Desktop Client. I used method WTSQuerySessionInformationW with WTSInfoClass set to WTSClientAddress. Unfortunately it looks as this function returns local ip of the client's computer for instance 192.168.1.10 not the public one. The scenario is that client is

Getting public IP address of a remote's desktop client

我的未来我决定 提交于 2020-11-28 08:23:09
问题 I'm developing an application which runs on the remote server (Windows Server 2016-2019, Windows 10) when user is initiating a remote connection with RDP. I'm using C++ and Win API. I'm trying to get public IP address of the Remote Desktop Client. I used method WTSQuerySessionInformationW with WTSInfoClass set to WTSClientAddress. Unfortunately it looks as this function returns local ip of the client's computer for instance 192.168.1.10 not the public one. The scenario is that client is

How to recognize when logon fails in RDP / MSTSC?

若如初见. 提交于 2020-07-21 05:01:30
问题 I am working on a C# implementation of RDP / MSTSC using the MsRdpClient9NotSafeForScripting class. I need to recognize when the user logon failed due to wrong credentials. The event OnLogonError should do the job but it doesn't fire (at least not on Server 2016), while the other events seem to work properly. From the Microsoft documentation of OnLogonError : LOGON_FAILED_BAD_PASSWORD (0 (0x0)) The logon failed because the logon credentials are not valid. The behaviour (not fireing