Questions tagged [mstsc]

Creates connections to terminal servers or other remote computers, edits an existing Remote Desktop Connection (.rdp) configuration file, and migrates Windows XP connections (connections created with Client Connection Manager) to new .rdp files.

Microsoft Terminal Services Client (mstsc) allows a user to remotely log into a networked computer running the terminal services server.

Applies To:

  1. Windows 8

  2. Windows Server 2008

  3. Windows Server 2008 R2

  4. Windows Server 2012

  5. Windows Vista

Read more

117 questions
0
votes
0 answers

C# Unable to remove scroll bars on external RDP process using SetWindowLong

I am trying to remove the scroll bars from an RDP window that my C# code launches. My code launches mstsc.exe passing the appropriate path the the rdp file. But once it's open, my code needs to remove the horizontal and vertical scroll bars. My…
Ray
  • 4,679
  • 10
  • 46
  • 92
0
votes
1 answer

Issue with providing load balancing information using AxMSTSCLib

I am trying to establish a remote desktop connection via a remote desktop session broker in my C# application using the 'AxInterop.MSTSCLib' where I encounter problems with the transfer of the load balancing information. Basically, I create a new…
StayMeaty
  • 11
  • 5
0
votes
1 answer

Connecting and logging in to a remote desktop using C# / Windows7

I would like to write an application which allows users to enter their login credentials for a machine in our company network and then connect them to that machine. Apparently, the log in credentials for remote desktop connections are not saved in…
Matthias
  • 506
  • 5
  • 16
0
votes
0 answers

c# Help creating a new tab with new rdp session in side of it

Any advice greatly appreciated. I'm trying to dynamically create a tab, and inside of that tab, create a new rdp control. I've got the tab creation fine. The RDP session seems like it's running through the code, but it never renders anything on the…
Daulpin
  • 1
  • 1
0
votes
0 answers

Is it possible to run cmd commands over rdp?

I have multiply computers in my network which i need to automate some script. the only port can be used for that is rdp (3389), and I need to find a way to run commands over thid rdp port, without the GUI stuff. what i am looking for is something…
0
votes
1 answer

RDP MSTSC no logon screen?

Good day to you all! Guys tell me what I can not find, in short, there is a domain theme - right-click on the account = change password, check the box: The user must change the password... Type a temporary password for example 123456 Ideally and on…
AlexPebody
  • 21
  • 4
0
votes
1 answer

AxMSTSCLib how to redirect camera from client to remote session?

I am using AxMSTSCLib to develop a Windows application for establishing RDP connections. But I don't know how to redirect a physical camera from client to remote RDP session. I tried to add camerastoredirect:s:* and devicestoredirect:s:* in .rdp…
Corey
  • 1,217
  • 3
  • 22
  • 39
0
votes
0 answers

How to find out the host IP of a running MSTSC instance?

Steps: User run mstsc.exe instance; second instance; third and more; I need to connect to my program, running on a remote host in all instances. What is the way to get the address of the remote host in the mstsc.exe instance? Knowledge: I know,…
WSW
  • 1
  • 4
0
votes
1 answer

Run a script after a Windows 10 (non-Domain) Reset to enable RDP

For the Reset function, I go to Settings > Updates and Security > Recovery > Reset this PC. So this is a choice that I make, and on that basis I want to choose for that system to run a script after the Reset - and we know that should be possible as…
YorSubs
  • 3,194
  • 7
  • 37
  • 60
0
votes
1 answer

Open multiple remote sessions using 'mstsc' in powershell script

I am trying to write a powershell script that opens a remote desktop connection for each machine name saved in a text file. When I run the script, it only connects to the first machine in the list and outputs to the console: CMDKEY: Credential added…
nonethewiser
  • 550
  • 1
  • 6
  • 18
0
votes
0 answers

RDP requesting password

I'm working on a RDP application, but windows is ignoring my password provided in the code and is showing the prompt for password input, here is my code: rdp.Server = server rdp.UserName = user rdp.TransportSettings3.GatewayHostname =…
Arcyde
  • 35
  • 6
0
votes
1 answer

How to pass parameters to exe in alternate shell rdp

I'm creating an .rdp file (Remote Desktop Protocol), which will open a machine and open a program made by me in .NET C#, I can already do this, but I would need to pass parameters to this program, is there any way? Commands I'm using in .rdp…
0
votes
2 answers

How can I get rdp to maximise to just one of my monitor when already logged in as mstsc /span?

I have 2 monitors at work and 2 monitors at home. When I log into work from home using mstsc /span, my work desktop appears correctly spread across my 2 home monitors. Then I want to open another RDP session on my work machine. When I maximise that…
ManInMoon
  • 6,795
  • 15
  • 70
  • 133
0
votes
0 answers

RDP ActiveX SendKeys Win+L to Lock Screen

Working on an application that uses RDP ActiveX controls. Trying to use IMsRdpClientNonScriptable::SendKeys to simulate Win + L combo to Lock the screen within RDP session, but its not working. Only L key seems to go through? long nKeyCount =…
tunafish24
  • 2,288
  • 6
  • 28
  • 47
0
votes
0 answers

Connect to an AWS EC2 instance using MsTscLib

One of my dotnet application connects to RDP server to run business task using MsTscLib. Now that our server moving to AWS, it should do the same with an EC2 instance. So far I am not able to connect to the RDP in AWS. Anyone done this? I am adding…