remote-desktop

Delphi applications and the TSAWARE header flag [closed]

谁说我不能喝 提交于 2019-12-01 04:13:18
Could this problem also apply to Delphi applications running on Terminal Servers? As the MSDN article " An Office 2007 or Office 2003 application that is running on an RD Session Host server may close unexpectedly in Windows Server 2008 R2 " explains This issue occurs because of the Tsappcmd.dll component. This component makes changes to the Import Address Table (IAT) for applications that are not Terminal Server aware in order to prevent viruses or malware from maliciously hooking the application. Because of this, the application may experience temporary memory corruption because of the order

Execution of QTP scripts on remote machines

青春壹個敷衍的年華 提交于 2019-12-01 00:20:42
I am posting this question regarding the execution of QTP scripts on remote machine. When i log in to my remote machine via "mstsc", and execute the script without closing the remote desktop connection, it works fine. But once i close/minimize the remote desktop window, it starts throwing error ( like Object not visible" error. One of the places where it generally throws error is while clicking on the file menu in IE, as shown below :- Browser(" page name -").WinToolbar("ToolbarWindow32").Press "&File" Are there any workarounds to resolve the same?? Most of the QTP scripts take lot of time to

SetForegroundWindow in Remote Desktop Connection

雨燕双飞 提交于 2019-11-30 23:39:27
I have an application in C# which sends keys to another program. To do that I call SetForegroundWindow method before sending keys which works. Problem is when I am connected to the computer using RDC and minimize the RDC window or disconnect it then keys are not sent. It happens because when in RDC mode, SetForegroundWindow method doesn't work in minimized or disconnected state. I have tried using SetActiveWindow, SetFocus and BringWindowToTop but no luck. Is there any way to do that? This is very common problem. When you disconnect or minimize the RDP window, GUI context is lost. But you can

Remote Desktop Protocol C or Objective-C Library

﹥>﹥吖頭↗ 提交于 2019-11-30 23:19:47
Does anyone know of a library for RDP that's written in C or Objective-C that is not GPLed? I'm a developer for CoRD, which is a Cocoa RDP client based off rdesktop. There are no loosely-licensed RDP implementations to my knowledge. As far as I know, rdesktop is your best bet (GPL). Very detailed RDP protocol documents are freely available from Microsoft, however it is a somewhat difficult protocol to implement from scratch, due to its lengthy history and myriad of additions. It's much harder to implement than say, RFB. 来源: https://stackoverflow.com/questions/1019236/remote-desktop-protocol-c

qwinsta /server:somesrv equivalent in Powershell?

試著忘記壹切 提交于 2019-11-30 20:21:17
When I run the qwinsta /server:somesrv command in cmd I can get a listing of all the current RDP sessions that are logged into a particular Windows server. SESSIONNAME USERNAME ID STATE TYPE DEVICE console 0 Conn wdcon rdp-tcp 65536 Listen rdpwd rdp-tcp#594 tom1 1 Active rdpwd rdp-tcp#595 bob1 2 Active rdpwd Is it possible to get a list like this on a remote server from Powershell so that the data can be used elsewhere? There are multiple alternatives: Use the Terminal Services PowerShell Module . Easy solution . Writing a powershell wrapper that parses the output of qwinsta to objects. Easy

Capturing screenshots of a minimized remote desktop

风格不统一 提交于 2019-11-30 19:37:47
I have the following C# code, which I am using to capture a screenshot inside a remote desktop (RDP) session. It works fine when the session is active, but fails with an invalid handle exception if I minimize the session. Is there any way to make this work, or is the screen essentially "gone" when the session is minimized? string filename = @"C:\Snap.png"; Size bitmapSize = new Size( Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height ); using (Bitmap bitmap = new Bitmap(bitmapSize.Width, bitmapSize.Height, PixelFormat.Format24bppRgb)) using (Graphics graphics = Graphics

SetForegroundWindow in Remote Desktop Connection

本秂侑毒 提交于 2019-11-30 18:13:06
问题 I have an application in C# which sends keys to another program. To do that I call SetForegroundWindow method before sending keys which works. Problem is when I am connected to the computer using RDC and minimize the RDC window or disconnect it then keys are not sent. It happens because when in RDC mode, SetForegroundWindow method doesn't work in minimized or disconnected state. I have tried using SetActiveWindow, SetFocus and BringWindowToTop but no luck. Is there any way to do that? 回答1:

Detect source of remote desktop connection

我只是一个虾纸丫 提交于 2019-11-30 13:57:30
问题 This question tells me how to detect a remote desktop session. Do anybody know if it's possible to find out from where the remote connection was initialized? -Vegar 回答1: Since it's in windows use netstat to check which machines you are connected to and on which ports and just parse out the address for the one that uses the port that remote desktop uses. 回答2: @Vegar, you can use the WTSEnumerateSessions and WTSQuerySessionInformation functions to retrieve this info. check this link for an

Keymap issues with NX from Mac OS X Lion to Ubuntu

帅比萌擦擦* 提交于 2019-11-30 13:53:05
问题 I have issues with the keymap of my NX session being garbled. I have a Macbook Air running OS X Lion. I use OpenNX to start a session with an Ubuntu server running FreeNX. The session type is Gnome. My keymap is very off (eg. w gives =, delete gives ",", t gives w). I tried: xmodmap -pke > nxclient.xmodmap on the client and, xmodmap nxclient.xmodmap on the server and I recover many of my keys, but it is still unusable. I tried the Gnome keyboard layouts but none worked. The problem also

Windows MIrror Driver Remote Display Driver VNC server windows 8

大城市里の小女人 提交于 2019-11-30 10:25:24
I am working on a driver for a remote desktop server. Something like UltraVNC(in house protocol). First of I see that mirror drivers are not supported on windows 8. Only subset of DDI as a remote display driver. 1) Does that mean I need to implement Remote Display Driver for windows 8? 2)Starting of with mirror driver and only adding the DDI specified here enough to have Remote Display Driver run on windows 8 (Will it install no windows 8)? It says that remote display driver is a subset of mirror driver. http://msdn.microsoft.com/en-us/library/windows/hardware/hh974665(v=vs.85).aspx 3) Are