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

login to remote using "mstsc /admin" with password

I want to use mstsc /admin to login to a server silently. My batch file reads the code as mstsc /v:xxx.xxx.xxx.xxx /admin But it ask me to enter password. Can anyone help me to skip this step? I went on to Google and found this site. But I am very…
Sandy
  • 11,332
  • 27
  • 76
  • 122
8
votes
4 answers

Transfer file using MSTSC in Command line

Part of my daily work involves transferring of data from my system to client system using MSTSC, is it possible to automate this transfer or is there any command line that i can use instead of connecting to the Jumpbox and then manually moving the…
rsapru
  • 688
  • 14
  • 30
7
votes
1 answer

Prevent failed logon attempt window after failing to supply proper credentials to a remote desktop server using Network Level Authentication

I am using the 'Microsoft Terminal Services Control Type Library' to establish a connection to a remote desktop server. I am looking for a way to prevent or suppress the 'Windows Security' prompt that is displayed when failing to provide a proper…
Joe Uhren
  • 1,342
  • 1
  • 13
  • 27
6
votes
1 answer

Cannot connect my windows 8.1 OS machine remotely

I have newly installed windows 8.1 OS desktop PC. In my PC, I can't see the "Remote Desktop" option in "Remote Tab" in the System properties window. So I cannot connect to remotely my machine from other machine using mstsc command. I have tried…
Praveen VR
  • 1,554
  • 2
  • 16
  • 34
6
votes
0 answers

New RDP 8 (mstscax.dll v6.2) embedded in Delphi 7 gives access violation

My old Delphi 7 program with embedded RDP client have been working for years, but it gives Access Violations on Windows 8 and if you install RDP 8 on Windows 7, where the mstscax.dll file (with the ActiveX component) is updated to version 6.2. Until…
5
votes
0 answers

Node-rdp-js enable clipboard

Hello :) I am using this project to open rdp connection in browser mstsc.js. This repository using node-rdp-js for operation between JS and microsoft rdp service. How to enable clipboard config on this node-rdp-js, any solutions will be nice. I…
Wiktor Dębski
  • 188
  • 3
  • 16
5
votes
2 answers

Where can I find documentation on the C# MSTSCLib, specifically the MsRdpClient classes?

I would like to figure out how to create a C# Remote Desktop client and the documentation on the internet varies from sparse to non-existent. Or if you have this information, please let me know. I will compile as much info as possible and post it up…
Jieren
  • 1,952
  • 4
  • 18
  • 26
5
votes
1 answer

Clear or selectively remove Remote Desktop Connection history

Microsoft RDC on Windows (to open type mstsc in Start -> Run ) saves the history of previous computers you have connected to in the "Computer" dropdown. How can I clear them, or selfectively delete entries?
Hardipsinh Jadeja
  • 1,180
  • 1
  • 13
  • 30
4
votes
1 answer

AxMSTSCLib display disappear in taskbar after minimize from full-screen mode

I am using AxMSTSCLib to develop a Windows App for creating RDP connections. The steps listed below caused my remote desktop display disappear: Start an RDP connection with full-screen mode Click "restore down" button from connection bar Click…
Corey
  • 1,217
  • 3
  • 22
  • 39
4
votes
1 answer

How to recognize when logon fails in RDP / MSTSC?

I am working on a C# implementation of RDP / MSTSC using the MsRdpClient9NotSafeForScripting class. I need to recognize when the user logon failed due to wrong credentials. The event OnLogonError should do the job but it doesn't fire (at least not…
marsh-wiggle
  • 2,508
  • 3
  • 35
  • 52
4
votes
6 answers

How to wait until MSTSC.exe exits

I have created a management application that also allows to quickly access a remote desktop session to remote machines. I need to wait until the process ends, so I can close the VPN connection to the remote server. Everything works fine, except…
Ramon de Klein
  • 5,172
  • 2
  • 41
  • 64
3
votes
4 answers

How to find amount of time mstsc is used and by whom?

Our team has geographically dispersed and many virtual machine will be connected by them using remote desktop. I would like to find who is accessing a remote desktop session and how long it is being used. I tried to do it with powershell. I wrote a…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
3
votes
1 answer

Generating RDP Profile Issue

edit Figured it out, instead of trying to launch it via mstsc.exe file.rdp, I launch file.rdp instead and it works just fine. end edit Ok I am working on a c# program, part of it is generating its own .rdp file that will automatically connect with…
Tsukasa
  • 6,342
  • 16
  • 64
  • 96
3
votes
0 answers

RemoteApp session opens in a separate window instead of inside a WPF UserControl

I am writing a WPF UserControl that hosts a RemoteApp session using the AxMSTSCLib library. I'm using the information from this SO question. The code I wrote is very close to the answer of that question. I placed the RemoteApp ActiveX…
Ray
  • 4,679
  • 10
  • 46
  • 92
3
votes
2 answers

How to minimize the remote desktop connection (RDC) window through C#?

The below piece of code makes me to establish a remote desktop connection with the computer machine through mstsc.exe. string ipAddress = "XXX.XX.XXX.XXX" // IP Address of other machine System.Diagnostics.Process proc = new…
DotNetSpartan
  • 931
  • 4
  • 20
  • 41
1
2 3 4 5 6 7 8