rdp

Create Windows session programmatically

非 Y 不嫁゛ 提交于 2019-12-04 13:42:20
问题 I have a service running in the Windows services (0) session. Upon connection from a client I need to create a new Windows session for given user credentials, log in that user and start an application into this new session. Is there a way to programmatically create a user session for given user credentials? 回答1: AFAIK, you cannot create sessions programmably. The client would have to connect to the machine using Terminal Services or Remote Desktop for that. You can, however, programmably log

Write an RDP client that dumps the pixels of the screen

痞子三分冷 提交于 2019-12-04 09:35:59
问题 I would like to implement a RDP client in C++ that is able to get the color value of all pixels of the screen and dump them to a file. I know this is conceptually different from how RDP works but I need it for my application. I am trying to make use of freerdp but I am not sure how can I efficiently write a client that simply dumps all pixels in a file. So far my best attempt is making use of the function gdi_GetPixel_32bpp but of course calling this function for each pixel in turn is far

Keeping remote desktop session “alive” [closed]

僤鯓⒐⒋嵵緔 提交于 2019-12-04 07:56:08
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I'm using AutoIt to automate GUI operations (connecting to the machine that's running the to-be-automated app, using RDP). Whenever I minimize the RDP window (using mRemote) no further AutoIt commands are performed. Maybe the RDP session is marked "inactive" when I minimize the window (I don't know if that's true,

Generating RDP file on the fly

☆樱花仙子☆ 提交于 2019-12-04 05:51:09
I want to create a web application similar to TS Web Access, where I can create rdp files on the fly for Remote Apps configured on the server. Any idea?? Naraen We had to do this exact thing. private void InvokeRDPSign(String fileName, String certificateThumbPrint) { Process signingProcess = new Process(); signingProcess.StartInfo.FileName = @"rdpsign.exe"; String arguments = String.Format("/sha1 {0} {1}", certificateThumbPrint, fileName); signingProcess.StartInfo.Arguments = arguments; signingProcess.StartInfo.UseShellExecute = false; signingProcess.StartInfo.RedirectStandardOutput = true;

C# Remote desktop application using RDP. How to generate the certificate ?

Deadly 提交于 2019-12-03 23:32:10
问题 I have some problems to use the MSTSCLib to connect from 1 PC to another one. It's working with Servers but not with normal Workstations... private void btn_connect_Click(object sender, EventArgs e) { try { rdp_control.Server = tbx_servername.Text; rdp_control.Connect(); tabPage1.Text = "Connected"; } catch (Exception exp) { MessageBox.Show(exp.ToString()); } } private void btn_disconnect_Click(object sender, EventArgs e) { if (rdp_control.Connected.ToString() == "1") { rdp_control.Disconnect

How do I enable SecuredSettingsEnabled when using AxMsRdpClient to connect through RDP to a Cloud Instance?

女生的网名这么多〃 提交于 2019-12-03 21:30:29
I've searched the web high and low and just cannot wrap my head around this. Basically I want to connect to a windows server 2008 instance, located in the cloud and run a batch file (which is located on the instance). I'm using the AxMSTSCLib and MSTSCLib to connect to it through RDP, but cannot get the batch running. The problem is SecuredSettingsEnabled isn't enabled so I am restricted doing this kind of operation. How do I connect properly, so that SecuredSettingsEnabled is set to True and I can run my batch? You can cast the AdvancedSettings property of the AxMsTsc client to your desired

How to Access Remote USB Smartcard during RDP

旧城冷巷雨未停 提交于 2019-12-03 20:51:18
[My set up] RDP Client (Win7) ------------------RDP------------------------> Remote Server (Win2k8R2) with SmartCard I've found countless answers that would suggest this is not possible. Alot of answers indicate that RDP was designed this way for security. The smartcards are locked which do not allow the device to be seen when connecting remotely with Remote desktop connection (RDP). However I've found a useful link which appears to work for some but not all. http://lifayk.blogspot.co.uk/2012/07/windows-smart-card-subsystem-and-remote.html The guide shows how it's possible (by editing the

Developing via Remote Desktop [closed]

妖精的绣舞 提交于 2019-12-03 16:32:44
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 3 years ago . Has anybody any successful remarks about having a team working via Remote Desktop? In many workplaces, we put end users via Citrix and the applications on a central, powerful server. Sometimes the clients are in the same building as the server, but often, they are remote.

Copy files to a remote server via RDP using a script

扶醉桌前 提交于 2019-12-03 15:01:08
We have a couple production servers that are configured to only allow access via RDP. There are no acessible shares. The dev team have no say in changing this setup but we want to automate code deployments to these machines. Presently we have to set Remote Desktop to share a local drive with the server, then RDP to the server and manually copy the deployment. Any one know of a way to tunnel over RDP and drop files to a given directory on the remote host from the command line? The instructions will need to be included in an MSBuild configuration. If you can get WS-MAN set up, PowerShell

Access Windows 2016 Server Container (Docker container) via GUI?

≯℡__Kan透↙ 提交于 2019-12-03 11:19:28
问题 I need to use Docker / Windows containers on Windows 2016 Server and prepare it Windows applications to run on it. Configuring Windows via Powershell just is not as convenient though as it is on Ubuntu, especially if you never worked with Windows Server really and need to learn all the Powershell commands ;) Is there a way to access a Windows Container via GUI? It's possible with Docker, Ubuntu, VNC: Can you run GUI apps in a docker container? Wondering if anything similar can be done for