What is a Windows 8 'Child Session?

windows 8 RDP Child Session - how to use?

  • I trying to use RDP child sessions as described in https://msdn.microsoft.com/en-us/library/jj553447(v=vs.85).aspx My code: private void button1_Click(object sender, EventArgs e) { axMsRdpClient9NotSafeForScripting1.Server = "localhost"; Object True = true; MSTSCLib.IMsRdpExtendedSettings extSettings = (MSTSCLib.IMsRdpExtendedSettings)axMsRdpClient9NotSafeForScripting1.GetOcx(); extSettings.set_Property("ConnectToChildSession", True); axMsRdpClient9NotSafeForScripting1.Connect(); } But I get an exception on the method Connect(): "Value does not fall within extended range". Сan anyone help me?

  • Answer:

    You need to enable Credential Security Service Provider Support in order to connect to a client session. Do this before you connect... IMsRdpClient7 msRdpClient = this.axMsRdpClient9NotSafeForScripting1.GetOcx() as IMsRdpClient7; msRdpClient.AdvancedSettings7.EnableCredSspSupport = true;

Igor Ilyashov at Stack Overflow Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.