Questions tagged [terminal-services]

Terminal Services provides the ability to host multiple, simultaneous client sessions on Windows Server 2003.

Terminal Services provides the ability to host multiple, simultaneous client sessions on Windows Server 2003. Terminal Services is capable of directly hosting compatible multi-user client desktops running on a variety of Windows-based and non Windows-based computers.

What Is Terminal Services?

283 questions
24
votes
3 answers

Determine if a program is running on a Remote Desktop

Is there a way my program can determine when it's running on a Remote Desktop (Terminal Services)? I'd like to enable an "inactivity timeout" on the program when it's running on a Remote Desktop session. Since users are notorious for leaving Remote…
Kluge
  • 3,567
  • 3
  • 24
  • 21
22
votes
1 answer

Recommended PE header settings for Delphi 7 application running on terminal server?

While investigating external exception C0000006 errors reported by some users running a Delphi 7 application on a Windows 2008 terminal server, I found several questions on this and related issues already. I'm wondering if anyone has a definitive…
dougwoodrow
  • 1,111
  • 12
  • 22
17
votes
5 answers

Terminal session when minimized\disconnected returns a blank screen upon capturing desktop snapshot

I am using the below JAVA code to capture the desktop of a remote machine Robot robot = new Robot(); BufferedImage screenShot = robot.createScreenCapture(new Rectangle(Toolkit.getDefaultToolkit().getScreenSize())); ByteArrayOutputStream…
14
votes
6 answers

How to detect, from browser, if user is running in Remote Desktop session?

Is there a ways to check inside a browser (e.g. javascript) if the user is running inside a Remote Desktop session? If the user is running their browser inside a Remote Desktop (i.e. Terminal Services), i want to disable animations on the…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
13
votes
6 answers

What does an application have to do in order "support" Remote Desktop Services?

I have a Delphi program that needs to be run via Remote Desktop Services. What should I look out for that would stop it running properly ?
mmmm
  • 2,431
  • 2
  • 35
  • 56
12
votes
6 answers

Detect source of remote desktop connection

This question tells me how to detect a remote desktop session. Do anybody know if it's possible to find out from where the remote connection was initialized?
Vegar
  • 12,828
  • 16
  • 85
  • 151
10
votes
5 answers

Runas in another Windows terminal session

For simplicity, let's say the user Administrator is logged in in terminal session 2. Another user Boda is logged in terminal session 3. Is it possible to runas a program in session 3 from session 2? For simplicity, let's say I want to start calc.exe…
bodacydo
  • 75,521
  • 93
  • 229
  • 319
10
votes
1 answer

Clipboard operations in Delphi

Local workstation: Win 7 Terminal Server: Win 2008 Server Outlook: 2003 running on local workstation. I'm trying to implement copying and pasting of Outlook messages from local workstation to terminal server. Using the code below, I am able to copy…
fr21
  • 1,746
  • 7
  • 26
  • 45
9
votes
2 answers

Isolated Named Pipes in Terminal Server Sessions

If my application starts, I check first if there is already an instance of the app and if yes, I give focus to the running instance and terminate the newly created process. I make this with a named pipe that is registered through WCF. That works…
HCL
  • 36,053
  • 27
  • 163
  • 213
8
votes
4 answers

API for Determining if App is Running on Citrix or Terminal Services

I'm looking for an API/function I can call to determine if software is running on Citrix, Terminal Services, or a stand-alone PC. Optimally, it would work something like this: Select Case APIWhatSystem.Type.ToString Case "Citrix" bCitrix =…
John Cruz
  • 1,562
  • 4
  • 14
  • 32
8
votes
2 answers

Delphi 2007 : How to Set TSAWARE?

In Delphi 2009 and up you can add this line to your project .dpr to set the TSAWARE PE flag in your application executable: {$SetPEOptFlags IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE} I thought (wrongly) that this syntax is not supported in…
Warren P
  • 65,725
  • 40
  • 181
  • 316
8
votes
1 answer

Delphi applications and the TSAWARE header flag

Could this problem also apply to Delphi applications running on Terminal Servers? As the MSDN article "An Office 2007 or Office 2003 application that is running on an RD Session Host server may close unexpectedly in Windows Server 2008 R2"…
mjn
  • 36,362
  • 28
  • 176
  • 378
7
votes
2 answers

Programming .NET apps for Citrix/Terminal server: Compliance and Pitfalls

We are a bit lost here. We need to make our app installable on a network with 80+ Citrix servers. Although our app is 100% valid and working .NET, we've experienced some (for us weird) behavior: You cannot use any "Documents and settings" folders…
Run CMD
  • 2,937
  • 3
  • 36
  • 61
7
votes
4 answers

Chrome only works on the first session for multi-session logins

I haven't found anything looking like a good answer to my problem, so I'll articulate my own question: On a Terminal-/Remote Desktop Server (2012 R2), we have a problem running Chrome where there are multiple sessions for the same user. (e.g. a…
Bjørn H. Sandvik
  • 533
  • 4
  • 10
  • 22
7
votes
3 answers

How do I stop Windows applications from stealing focus

I know this isn't strictly a programming question but y'all must have experienced this. So...you have four or five RDP sessions open over the corp VPN, you're bashing away inside your favourite IDE, your VPN to the data centre bounces briefly then…
Kev
  • 118,037
  • 53
  • 300
  • 385
1
2 3
18 19