terminalservices

Hooking into Terminal Services Manager

Has anyone ever come across a way of a way to create an app that kind of mimics what Terminal Services manager does in Windows2003/XP. I would like to write something that would either go and query a farm of server every n secs a get me a list of users logged in, there process's etc or do maybe type a username in and it goes and finds t...

How to get the WTSClientAddress from the java.lang.Object getClientInfo()

In one of our current web application we are using the getClientInfo() from a java.lang.Object reference in our Oracle Forms application which works great for egtting the client IP address of a system. However we recently started to use Windows Terminal Servers in our organization, and we are now having the problem with this code return...

Developing applications expected to run over RDP; any tips ?

Supposing I was developing a fairly graphically intensive application (C++ or C#, graphics API undecided) for which most of the usage will be by remote users over RDP (either terminal server sessions or remote access to a single-user machine). It's obvious that non-essential "eye-candy" effects and animations should be avoided. My ques...

Retrieving Terminal Services Session ID In .NET?

Can anyone please help me discover the .NET equivalent of the following C++ code: DWORD session_id; ProcessIdToSessionId(GetCurrentProcessId(), &session_id); I'm trying to find the current terminal services session number to uniquely name a named pipe that two programs inside the same session are using to communicate with each other. ...

is there online citrix testing available?

Is there any way to access CITRIX remotely for doing some simple QE testing, our customer has a compatibility issue with our product and we dont have CITRIX in house PS: Also VMWARE image would be an option ...

WCF: Debugging service through Terminal Services.

Hello, I'm part of a distributed development team. We all work through terminal services, accessing a remote server where our applications are located. We're working on a project in which a client application consumes a WCF service, which exposes all the business logic functionality. In our development process, a developer is often ask...

(How) Can Terminal Services / Remote Desktop be used to share an Access Database?

The only type of 'remote desktop' application I've used previously is VNC viewer. My understanding of this kind of application is that when multiple users log in to the same VNC server, they share the keyboard, mouse and desktop, so only one person can actually use the computer, whilst the other users can watch what is happening. This ...

Keep alive code fails with new RDP client

Hello - For our Secure Terminal Server project, we have a need to keep the RDP session open, that is, to prevent the remote computer from timing out and locking the session. A little background: We have several virtual servers configured as go-between agents, with a client piece that launches a RDP session to the virtual servers, and ...

Guidelines to follow when making your program Active Directory/Terminal Services compatible

Wondering if there's any guidelines that should be followed when writing an application that should work not only on a plain ol' non-networked computer but also on a computer/network that is setup with Active Directory (or some other directory service) and/or Terminal Services? Anything I should look out for, be aware of, etc? ...

Can the Terminal Services session ID change during the lifetime of a process?

When using .NET's Process.SessionId property or the Windows API call ProcessIdToSessionId(), can the result be relied on to be the same throughout the lifetime of the process? i.e. If I want to use this value, do I only have to determine what it is once? ...

On Terminal Server, how does a service start a process in a user's session?

From a Windows Service running on a Terminal Server (in global space), we would like to be able to start up a process running a windows application in a specific user's Terminal Server sessions. How does one go about doing this? The Scenerio: the windows service starts at boot time. After the user has logged into a Terminal Server user...

Selecting TS redirected printer by name

I maintain an application running on Windows that allows the user to specify that certain reports are always sent to a specific printer. I am currently storing PRINTER_INFO_2::pPrinterName for each configured report into the registry. When the report is run, I use EnumPrinters() to locate the correct printer and pass the appropriate ...

How can I write an installer for terminal server

I am writing an installer( msi file) which needs to be run on a terminal server It must be multi use in other words all logged in users should be able to run that program when the installer is run it writes a set of registry entries to HKLM it also drops an activate.exe in the prog files directory Each user needs to run activate.exe so...

Terminal Services on Windows Mobile - "Paste" doesn't preserve punctuation?

I have here a Windows Mobile-based PDA (Mobile Compia M3 Sky) equipped with a barcode scanner. This barcode scanner works by reading the data from the scanner into the Clipboard and then simulating a Paste on whatever application is currently running. The problem is, when you're using Terminal Services from the device and you scan a bar...

Excel programming module running slow on Terminal Server 2008

I have a Windows application that exports to Excel using the Excel Object Module (programming module). It has worked fine on all Winodws versions except Windows Server 2008. It takes about 2 seconds to do anything in Excel, making the process take minutes or even hours to complete what normally takes a few seconds. This happens when usi...

Prevent lock of windows detecting user idle time

I work in a Windows Terminal Server enviroment where if you left the computer for a while, windows lock the session and terminal is power off. What i need is the code needed to send a message to Windows for it to believe the user is in front of the PC (mouse or keyboard activity). Thanks in advance ...

How to use Terminal Services EasyPrint from a Server 2003 client

I'm trying to get EasyPrint to work from workstations running Windows Server 2003, connecting to a Server 2008 TS pool. I noticed that there is a RDP 6.1 client for XP clients. I couldn't get that to install on the Server 2003 box. I was able to install RDP 6.0 client for Server 2003. However it appears EasyPrint isn't actuall...

How to Know If I am in a Terminal Service (TS) Session?

Is there any windows API function to check if I am in a terminal service session? ...

ASP .NET - Get username on Windows Server 2003 (Terminal Service)?

On a intranet ASP .NET (C#) page I am trying to retrieve the current username. From my local machine (Firefox 3.5) I can see results (from my local login) for the following possibilities: <% Response.Write(User.Identity.Name); %> <% Response.Write(HttpContext.Current.User.Identity.Name); %> <% Response.Write(Page.User.Identity.Name); %...

Microsoft Terminal Services

Any idea about opening a remote app (Microsoft Terminal Services) on client through .Net? ...