Hyper-V ActiveX RDP Control
The Dynamic Data Center Toolkit for Hosters project have just put up the sample code for a Hyper-V ActiveX RDP control, available here:
https://code.msdn.microsoft.com/ddc/Release/ProjectReleases.aspx?ReleaseId=3833
What this allows you to do is to create a Remote Desktop connection directly to the virtual machine (not to the guest operating system) in exactly the same manner as when you are using the Virtual Machine Connection window in the Hyper-V Management Console.
As this is an ActiveX control you can even use it in a web page if you wish to.
Cheers,
Ben
Comments
Anonymous
March 16, 2010
Hi Ben I downloaded the rdpcontrol and when i run it i just get a tiny control which wont expand when i increase the height and width. Have you had the same if so any idea on how to solve it.Regards RollsAnonymous
March 16, 2010
Hi Ben, Thanks for answering my question! Looking at the source of this control showed me what I was missing in my project.Anonymous
May 27, 2010
HI Ben Any chance that this control would allow a hyper-V VM connection under XP pro with rdp 6 or 7 installed? Alternatively is this control sufficiently autonomous that it would run directly under Server 2008 R2 core? (I did get the regular rdp client running like this which surprised me) ThanksAnonymous
May 30, 2010
andydesheffield - To be honest, I do not know. Cheers, BenAnonymous
September 24, 2010
Hi!! I had the same problem...It didn't work on WinXp PRO...even with RDP 7 installed IS there another way to connect a console to System Center VMs without using this control?Anonymous
April 19, 2011
I am trying to create Remote Desktop Connection to the virtual machine using this code.I find error "connection not found" in creating connection by this coding.Anonymous
April 27, 2011
Hi Ben, I've built RDPControl and registered RDPControl.tlb library, then added registry keys using RDP.Reg.bat. I've tried running RDPFormsTest.exe. Method 'Connect' using the standard RDP connection is working fine. But when I run 'ConnectToVM' method, all I get is a white screen in the preset resolution 640x480. I am also getting 'Disconnected' event from rdpConnector1 and the following error codes: extendedDiscReason 0, disconnectCode 516 (I'm guessing that means 'NotResponding'). Any idea about this? I am using Win7. Thanks and regards, Daniela.Anonymous
May 21, 2011
I have in my icon note it said internet explorer have a diagnose because sombody stole my activex control and pc antivirus protections.