How to check if the program is running on a terminal server?



It is possible to check if the program run a remote session with
GetSystemMetrics(SM_REMOTESESSION)
but it is possible to find out if this is a terminal server or a remote
desktop connection (to XP Pro)?

- Runar


.



Relevant Pages

  • Terminal Server copy/paste broken. Restarting rdpclip doesnt work
    ... We have a 2003 Terminal server which several clients log into to access ... as a course of their normal activity they copy and past from the ... Remote session to their local desktops. ... I made a one line batch file to kill and restart rdpclip, ...
    (microsoft.public.windows.terminal_services)
  • Error "The remote session was dissconnected becasue another user has connected to the session&q
    ... Medisoft and Server 2003 Terminal server? ... "The remote session was dissconnected becasue another user has ... Dell hasn't any clue what this error means and nothing on ...
    (microsoft.public.windows.terminal_services)
  • Re: Internet Browsing in a TS session
    ... > We have a client that is complaining about Internet browsing ... > through a Remote session. ... A user connects to the Terminal server using Remote ...
    (microsoft.public.windows.terminal_services)
  • Re: USB printer redirection
    ... KB302361 on the client PC, ... I know that printer redirection is working as the client PC has another ... remote session. ... I've read numerous posts here and on the Terminal Server discussion group, ...
    (microsoft.public.windows.server.sbs)
  • Re: Problem with Windows 2003 TS and SQL connection
    ... If the remote session is still active, it's not a problem with the ... MCSE, CCEA, Microsoft MVP - Terminal Server ... One Fileserver (Windows 2003 SB) ... SQL-server. ...
    (microsoft.public.windows.terminal_services)