Re: Start a service instance for each Terminal Service session
- From: "Jeff Pitsch" <jeff@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 25 Apr 2006 13:32:50 -0400
Services are computer specific NOT user specific therefore you cannot have a
windows service run separately for each instance.
I am not sure if Win2k3 supports Smartcard auth, I'll have to look that up
but I know Presentation Server does so you may want to look into that.
Jeff Pitsch
Microsoft MVP - Terminal Server
Forums not enough?
Get support from the experts at your business
http://jeffpitschconsulting.com
"Erik B" <erik.bostrom@xxxxxxxxxxxx> wrote in message
news:1145479803.726487.211080@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello!
I would like to know how to start a service instance for every Terminal
Service session. The instances also need to run in the session's
context. The background is that the service need to access remote smart
cards located on the client. The service is running as LOCAL_SYSTEM.
The service access the smart cards through the resource manager and the
SCard interface.
In Windows XP it seems almost OK without modification. There the
service can list the remote smart card reader with SCardListReaders()
but only after the user has logged in to the system. And then it's too
late since I want to use the smart card for authentication on the
server...
In Windows Server 2003 the service can't access the remote readers and
smart cards at all. I suppose this is because the service is running in
the Console Session with session ID 0.
Hopefully, a service instance for each session would make it possible
to access the smart cards at login time.
Thanks for any help.
Erik
.
- References:
- Prev by Date: Re: Creating Registry Profile on login
- Next by Date: Re: Black Screen while active
- Previous by thread: Start a service instance for each Terminal Service session
- Next by thread: 5 Terminal Licenses, only 3 work
- Index(es):
Relevant Pages
|