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
2
votes
2 answers

RDP sessions mstsc

What exactly is the difference between using mstsc mstsc /admin mstsc /console mstsc /admin /console all answers appreciated - in particular if any of these can effect the user being logged out after inactivity.
Dan
  • 9,681
  • 14
  • 55
  • 70
2
votes
1 answer

The username or password is incorrect in RDP

I trying to remote my desktop using Remote Desktop Protocol(RDP). I configure my desktop remote setting and put a check in remote assistance (Allow remote assistance connections to this computer) and also the second radio button in the remote…
avien
  • 177
  • 5
  • 14
1
vote
0 answers

Unable to perform operations using python script after logging into rdp

I am currently working on automation using python pytest framework. I used pywinauto and Auto IT to login to rdp using python script. I am able to login to rdp but after that I am unable to perform operations such as opening and running powershell…
1
vote
0 answers

Why use mstscax to connect to remote desktop will delay 60s

I've used the mstscax ActiveX control in a C# Winforms application in the past. My PC connect to network by a WIFI router. With my c# application, I click connect button, after 60s, show remote desktop. While using mstsc connect the same machine, it…
KunMing Xie
  • 1,613
  • 17
  • 15
1
vote
0 answers

How to listen to new Remote Desktop connections events on the client machine in C#?

I'm working on a C# app that launches a Remote Desktop connection on behalf of the user. I do that by programmatically running mstsc.exe with the required config to automatically launch the session. I'd like to know if the connection succeeded or…
WSH
  • 331
  • 1
  • 2
  • 10
1
vote
0 answers

Using mstscax to shadow a Remote Desktop session

I've used the mstscax ActiveX control in a C# Winforms application in the past. However I now could not figure out how to shadow an existing remote session. (equivalent to mstsc.exe /shadow: /noConsentPrompt /v:) Does anyone…
p.g.
  • 315
  • 1
  • 10
1
vote
0 answers

Copy file from local to remote desktop in Python using subprocess

I am trying to create a program for a project of mine where I needed to copy some files from my local machine to some remote desktop pc's desktop directory. It is a part of automating the whole connecting and copying files to all the remote PCs. I…
1
vote
1 answer

MSTSC into remote desktop with credentials with powershell using c#

I'm trying to use a script like this: $Server="remotepc" $User="user" $Password="password" cmdkey /generic:$Server /user:$User /pass:$Password mstsc /v:$Server /console which works fine when running in powershell. I'm trying to get this using…
James
  • 13
  • 1
  • 5
1
vote
0 answers

How to pre-fill RDP username & domain using mstsc in powershell

Currently, have two domains in which our users will have machines existing in either or. I am writing a powershell script in which I collect the user name and machine name. I think perform a test-connection to determine which domain the machine…
Ryan Lynch
  • 11
  • 3
1
vote
1 answer

RDP / MSTSC Ignores highdpi manifest fix when launched from windows form application

I'm using VS2017 and have made a very simple 'launcher' for various RDP settings files using a Windows Forms application. This just calls Process.Start with a direct link to a .rdp file, or alternatively just straight to mstsc.exe The application…
1
vote
0 answers

Get C# RDP Screen Byte Data

I need to get the screen byte data from an RDP client using the built in RDP/(Microsoft Terminal Services Control Type Library) libraries Microsoft provides for C#. It would be great if I didnt have to use a windows form as well to host it which…
Seacomit
  • 277
  • 2
  • 12
1
vote
3 answers

Run mstsc in PowerShell without a password prompt

I have a simple .ps1 file: $Server="remotepc.company.net" $User=".\login" $Password="password" cmdkey /generic:TERMSRV/$Server /user:$User /pass:$Password mstsc /v:$Server /h:1080 /w:1920 And anyway it asks for a password.
Lagoda Denis
  • 235
  • 5
  • 13
1
vote
1 answer

Windows 10 remote desktop RDP mstsc.exe won't start

I have recently upgraded from win 8.1 to Win 10. Since the upgrade RDP wouldn't work correctly. I couldn't use a recently used connection. Instead I had to open a new window each time. Today it stopped working completely. If I tried to run…
Sir Swears-a-lot
  • 402
  • 7
  • 20
1
vote
0 answers

Login to the Remote Desktop using WindowsIdentity

Is there any possible to login to the RemoteDesktop based on the WindowIdentity instead of giving username and password?
1
vote
1 answer

What causes "Internal error has occured" on MsRdpClient_OnDisconnected event in AxMsRdpClient9 from AxMSTSCLib?

I have simple windows form application with a single ActiveX control in it. That is Microsoft RDP Client Control - version 10. Here is Constructor for the form public ConnectionWindow() { InitializeComponent(); …
dazgen
  • 53
  • 6