rdp

Create Windows session programmatically

喜夏-厌秋 提交于 2019-12-03 09:31:31
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? 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 in to a user account and impersonate it if you just need to run a process as that user without making it

Developing via Remote Desktop [closed]

北慕城南 提交于 2019-12-03 06:38:41
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. There could be some huge benefits for me to put my developers on Windows XP or Vista instances running on a couple servers with Hyper-V. I'm worried that RDP/RDC via the internet would be too slow for somebody to be able to develop efficiently. I'm sure I can hear plenty of bad things about it... are there any people out

Write an RDP client that dumps the pixels of the screen

烈酒焚心 提交于 2019-12-03 03:29:38
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 from efficient. A solution that makes use of another library will also be greatly appreciated. Well you

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

房东的猫 提交于 2019-12-03 01:50:12
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 Windows Containers? (I am working on-premise, not using Azure. Found a similar but unanswered question

Hosting RemoteAPP session within Winform

淺唱寂寞╮ 提交于 2019-12-02 22:16:19
Keep coming back to this and cannot figure it out... I am creating an app for work that essentially compiles all of our tools into one easier to use GUI. One of the tools we use is something we use from a 3rd party and is hosted as a Remote App via RDWeb. Now I also have just regular remote desktop access as well and I can access the desktop via my Winform using MSTSC and this process which works beautifully. I am curious if it is possible to just load the RemoteAPP and not the entire desktop in the MSTSC control so that my users aren't getting to the full desktop. Or if there is any other way

Why is RDP so fast compared to other remote control software?

余生颓废 提交于 2019-12-02 20:24:31
I use RDP-based Windows' Remote Client Desktop utility to connect to my desktop from my laptop. It's much faster and looks better than remote control applications like TeamViewer etc. Out of curiosity, why is RDP better? Thank you. RDP is a specific protocol which allows to transmit low-level screen drawing operations. It is also aware of pixmap entities on the screen. For example it understands when an icon is drawn and caches it (typically in a lossy compressed format) on the client side. Other software does not have this low-level access: It waits for the screen to change and then re

Keeping remote desktop session “alive” [closed]

半腔热情 提交于 2019-12-02 18:34:36
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, nor how to configure this behavior, if so). I'm thinking about 2 options to overcome this: Running my process as some elevated user (or a service). Finding this configuration which controls whether session is marked inactive and override it. How to keep remote desktop session "alive"

Extract session ID from psexec / PowerShell query user command

痴心易碎 提交于 2019-12-02 13:16:55
问题 I'm writing a PowerShell script to find out the session ID of the active user at a remote machine, to then launch a program using that session ID. Here is what I have so far. $queryusers = $psexecdirectory + ' \\' + $remotepc + ' -u ' + $domain + '\' + $username + ' -p ' + $password + ' query user' $results = iex $queryusers The above works fine, with the example results below being stored on the variable $results USERNAME SESSIONNAME ID STATE IDLE TIME LOGON TIME usr1 3 Disc 1:12 9/5/2013 11

Using smartcard through rdp (Raspberry) [closed]

不羁的心 提交于 2019-12-02 04:05:31
问题 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 3 years ago . Hi I present my setup and then I show the problems: Raspberry Pi Model 2 (Client RDP) -----------> Desktop DELL (Server RDP) SO: Raspbian Wheezy -------------------------> SO: Windows 7 Smartcard reader integrated in DELL Keyboard connected to Raspberry. Now the problem: When I use the smartcard reader in the

Using smartcard through rdp (Raspberry) [closed]

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-02 01:03:42
Hi I present my setup and then I show the problems: Raspberry Pi Model 2 (Client RDP) -----------> Desktop DELL (Server RDP) SO: Raspbian Wheezy -------------------------> SO: Windows 7 Smartcard reader integrated in DELL Keyboard connected to Raspberry. Now the problem: When I use the smartcard reader in the host (Desktop DELL) with the keyboard connected and with DNIe (spanish identity document) introduced in it functions. I can go to my explorer and I see the certificates. Now I connect to the Raspberry and via RDP I see the screen of the host (Windows 7) in Raspberry's screen. Then I