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
2
votes
6 answers

Enumerate printers for a specific Terminal Server session

I am looking for a way to see what printers a specific user has mapped into his or her TS session. How can I achieve this with WMI (via PowerShell) or VB-Script? Is there a built-in way I'm not aware of? EDIT: In our construct mapping of local…
VVS
  • 19,405
  • 5
  • 46
  • 65
2
votes
1 answer

ERROR:browser_gpu_channel_host_factory.cc(121)] Failed to launch GPU process

i am trying to configure debugging port for google chrome extension for Visual studio for client side debugging in terminal using below commands and getting the below error, /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome…
2
votes
2 answers

Programmatically detecting console (administrative) session on Windows Server 2008?

My application is running as service under Windows Server 2008. I'm looking for a way to detect an active console session. This can either be the console or a RDP session started as administrative session ("mstsc /admin"). The console session is…
Tinus
  • 31
  • 4
2
votes
1 answer

Exception calling "Put" with "0" argument(s): "" on Win32_TerminalServiceSetting

I have created a Powershell function to enable or disable session logons remotely on a server. It is basically the Powershell equivalent of "change logon /enable". It works on most machines, but for some reason I don't understand, for some it…
geoced
  • 693
  • 3
  • 16
2
votes
3 answers

How to read TermainsServices IADsTSUserEx Property from LDAP in C#?

I have read the following properties from AD, TerminalServicesProfilePath TerminalServicesHomeDirectory TerminalServicesHomeDrive I've tried DirectoryEntry and DirectorySearcher. But they does not include the properties. I found some example in…
Dennis C
  • 24,511
  • 12
  • 71
  • 99
2
votes
0 answers

Terminal zsh commands stopped working suddenly

I was attempting to update my npm version and suddenly received errors and now my zsh commands stopped working. I attempted to move the PATH but noticed my path is strangely massive... How do i reset zsh and correct my path? Path: $ echo…
chaneyz
  • 95
  • 1
  • 1
  • 6
2
votes
0 answers

Powershell: How to Delete a User Profile

I'm trying to delete unused user profiles off a terminal services server to gain some free space. However, I can't seem to find a way to delete the AppData folder as I keep getting "Access Denied" errors. I was wondering if anyone had a technique…
2
votes
1 answer

Run process from other user

I'm trying to execute a process from windows service that run under local administrator account. The machine is Windows 7 and its using the Remote Desktop/Terminal Service APIs. The code failed on the WTSQueryUserToken with error code = 5. First I…
Joseph
  • 1,716
  • 3
  • 24
  • 42
2
votes
0 answers

VFP App gets This app can't run on your PC running Terminal Services on Windows 2012

I've got a VFP 9 SP2 app that is running on a Windows 2012 server via Terminal Services. Sporadically the users will get the message "This app can't run on your PC". Any idea what causes this? This is a 32-bit app running on a 64-bit server. We've…
2
votes
0 answers

How to start a program in another Windows Terminal session? (as an Administrator)

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 start a program from session 2 in session 3? For example, let's say I want to start calc.exe in session 3 (in…
bodacydo
  • 75,521
  • 93
  • 229
  • 319
2
votes
1 answer

Calling WTSEnumerateSessions from a Local System service

I am using Cassia to connect my C# code to our network of terminal servers. If I run the program as an Administrator user it works fine. However when I load the same code up as a service with the Local System user and Cassia makes a…
Scott Chamberlain
  • 124,994
  • 33
  • 282
  • 431
2
votes
1 answer

What Beep() method to use with Terminal Services Server?

System.Media.SystemSounds.Beep.Play(); That's what I use at the moment but it does not Beep on client(Windows7) within a Terminalserver/ Citrix(Windows2008). What should I use instead?
blindmeis
  • 22,175
  • 7
  • 55
  • 74
2
votes
1 answer

Strange crash with WTSOpenServer on Windows 7 (Only in Delphi 2009/2010)

I am troubleshooting a problem with existing code that always worked fine (it's the Terminal Server unit from the Jedi Windows Security Library). After some investigation the problem part has been brought down to a call to WTSOpenServer: while…
Remko
  • 7,214
  • 2
  • 32
  • 52
2
votes
0 answers

How to retrieve the path to a client machine Special Folders running RemoteApp as a filepath string?

// Set default workspace directory string initialDirectoryString = @"C:\work\"; // Check if remote session, and get the local drive location if(System.Windows.Forms.SystemInformation.TerminalServerSession) { initialDirectoryString =…
Bob.
  • 3,894
  • 4
  • 44
  • 76
2
votes
1 answer

Skype & Terminal Services information exchange?

We have sales reps who access our 'system' via terminal services. In our system we would like to enable clicking the number of a client and launching skype on their local machine not in the terminal services session. We see two potential ways of…
Dan
  • 367
  • 1
  • 5
  • 17