remote-desktop

How to host a terminal session (mstsc) in a WPF applicaiton?

南楼画角 提交于 2021-02-10 08:49:06
问题 There are some tools out there for managing multiple terminal (mstsc) sessions. How would I go about achieving something similar in WPF? 回答1: You should use WindowsFormsHost element to host the ActiveX control of RDP. There is short sample how to integrate Windows Media Player into WPF application. The hosting of the RDP control is similar. 回答2: Those tools are most likely using the Remote Desktop ActiveX Control which is designed to be hosted in web pages, but since it is an ActiveX control,

Remote desktop behavior with 3D3 Device and RDP window minimize

微笑、不失礼 提交于 2021-02-08 03:54:12
问题 In our C# WPF we use a 3rd party (unmanaged) library that display a map. We use the System.Windows.Interop.D3DImage class. The 3rd party library uses Direct3D for the the IntPtr32 surface location property. When i open a remote desktop from another computer and trying to view the WPF Client, we see the map. Once the WPF UI Client is up, and I minimize the RDP session or close the RDP i will get exception: Direct3D device is lost From my experience with video streaming applications, When a

Remote desktop behavior with 3D3 Device and RDP window minimize

对着背影说爱祢 提交于 2021-02-08 03:52:20
问题 In our C# WPF we use a 3rd party (unmanaged) library that display a map. We use the System.Windows.Interop.D3DImage class. The 3rd party library uses Direct3D for the the IntPtr32 surface location property. When i open a remote desktop from another computer and trying to view the WPF Client, we see the map. Once the WPF UI Client is up, and I minimize the RDP session or close the RDP i will get exception: Direct3D device is lost From my experience with video streaming applications, When a

Remote desktop behavior with 3D3 Device and RDP window minimize

这一生的挚爱 提交于 2021-02-08 03:50:20
问题 In our C# WPF we use a 3rd party (unmanaged) library that display a map. We use the System.Windows.Interop.D3DImage class. The 3rd party library uses Direct3D for the the IntPtr32 surface location property. When i open a remote desktop from another computer and trying to view the WPF Client, we see the map. Once the WPF UI Client is up, and I minimize the RDP session or close the RDP i will get exception: Direct3D device is lost From my experience with video streaming applications, When a

Powershell script RDP connection data

懵懂的女人 提交于 2021-01-29 08:05:24
问题 I am trying to get the source network address for an RDP connection to send an email when a user connects to the server. I have everything but the source address. My script is triggered by event 1149 in the RemoteConnectionManager Operational log. I only need to access either the event data or source address from the system. $SmtpClient = new-object system.net.mail.smtpClient $MailMessage = New-Object system.net.mail.mailmessage $SmtpClient.Host = "mail.scomage.com" $mailmessage.from = (

Powershell script RDP connection data

陌路散爱 提交于 2021-01-29 08:03:15
问题 I am trying to get the source network address for an RDP connection to send an email when a user connects to the server. I have everything but the source address. My script is triggered by event 1149 in the RemoteConnectionManager Operational log. I only need to access either the event data or source address from the system. $SmtpClient = new-object system.net.mail.smtpClient $MailMessage = New-Object system.net.mail.mailmessage $SmtpClient.Host = "mail.scomage.com" $mailmessage.from = (

How to create .rdp file on Mac OS that allows auto-login

送分小仙女□ 提交于 2021-01-28 03:16:48
问题 I'm working on a tool that generates .rdp files and then invokes them using Microsoft RDP Client. This tool is running on Mac OS. Everything works well, the only problem is that I can't figure out of how I can generate 'password 51:b' field properly. On Windows this can be done easily by using CryptProtectData method from Crypt32.dll library. How can I do the same on Mac. Another option could be to use "rdp://" URL scheme, but it doesn't seem allow to pass password this way. So the question

Is there a way to connect through remote desktop to a running Windows Server container?

不羁的心 提交于 2020-07-16 16:35:33
问题 I want to run an old .NET application in a docker windows server container (https://hub.docker.com/r/microsoft/windowsservercore/). Everything would be easy if this application didn't require an UI. Its UI does a lot of stuff and this stuff cannot be done through command line or other API. Basically, the perfect thing would be to reach this running container through RDP. From my understanding, it is nothing more than a service (TermService) running on a certain TCP port (3389 being the

Win8.1 will fire unload and load event to the WPF application when we close and reconnect to this machine using RDC from win7 or other OS

送分小仙女□ 提交于 2020-04-07 18:44:32
问题 This is a strange issue only in Win8.1. As we all know, if there is a running application in a machine, there should not be any other behavior against the application when we connect/disconnect/reconnect to this machine by Remote Desktop Connection. However, we found that Win8.1 will fire unload and load events to the WPF application when we close and reconnect to the machine using RDC. And this is an unwanted behavior which may cause error. Here are the stable reproduce steps: Write a WPF

OpenGL and Remote Desktop

丶灬走出姿态 提交于 2020-02-21 13:09:08
问题 I have trouble using OpenGL over Remote Desktop Connection (RDC) on a Windows 10 computer. The server has an NVIDIA GEFORCE 8600 GT. Yet, OpenGL reports the card is a GDI Generic Device. The driver is up to date v342.01 I know for sure OpenGL over RDC is possible for I am able to do so with another server equipped with a Quadro. Do I need to enable an option in Windows for it to work? Or is it jus not possible with this graphic card? 回答1: Is MS Remote Desktop necessary in your case? If it is