Terminal Services
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.misc only
 
Advanced search
POPULAR GROUPS

more...

comp.os ... programmer.misc Profile…
 Up
Terminal Services         


Author: Alex
Date: Apr 13, 2008 01:48

Hi,

I am trying to come up with something similar to Microsoft's Terminal
Services but am having unfortunately some starting difficulties. Mainly
I am looking into how to log on additional users into a full desktop
environment.

I have found such a kind of feature in the SU implementation "SUperior
SU" for Windows, where its FAQ -
http://www.stefan-kuhr.de/supsu/faq.php4#q:%%3C/b%%3E_what_is_the_d -
states there are several differences between its own implementation and
the Terminal Services/Fast User Switching.

Would anyone have a hint about the right APIs respectively could point
me into the right direction (I would assume LogonUser() and
CreateDesktop() might be two key functions).

Thanks very much.
2 Comments
Re: Terminal Services         


Author: Christian ASTOR
Date: Apr 13, 2008 03:08

Alex wrote:
> Would anyone have a hint about the right APIs respectively could point
> me into the right direction (I would assume LogonUser() and
> CreateDesktop() might be two key functions).

I don't understand what you want to do but TS apis are mainly WTS* apis :
http://msdn2.microsoft.com/en-us/library/aa383464(VS.85).aspx
no comments
Re: Terminal Services         


Author: Alex
Date: Apr 16, 2008 00:27

Sten Westerback (MVP SDK 2005-6 :) wrote:
>
> The correct API to use is called Win32 API ;)

The Misc API might be interested too however (given you referred to the
cross posting ;))
> I would suggest you use http(s) from communication unless you want to make
> life easier and use a named pipe with it's built-in authetication (asuming
> you have a domain).

Well, to be honest I am not having such a big experience with named
pipes so I would likely go with IP (whether UDP or TCP and if TCP
subsequently HTTP is yet to be decided), aside that I suppose it could
be problematic via Internet connections.
> A desktop is needed so the working thread(s) of processes started have
> something to draw on (or at least a console if that's all you need).

Sure, my initial concern was that the desktop/session isolation wouldnt
really be given by using the "regular" calls, which doesnt seem to be
the case with Terminal Services.

This appears of having been confirmed by several responses to the same
question in microsoft.public.win32.programmer.kernel.
Show full article (2.39Kb)
no comments