Start a service instance for each Terminal Service session
- From: "Erik B" <erik.bostrom@xxxxxxxxxxxx>
- Date: 19 Apr 2006 13:50:03 -0700
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
.
- Follow-Ups:
- Re: Start a service instance for each Terminal Service session
- From: Jeff Pitsch
- Re: Start a service instance for each Terminal Service session
- Prev by Date: Re: Installing a new app on a TS server?
- Next by Date: Re: What caused Remote Desktop Connection to suddenly stop working?
- Previous by thread: Re: PDF Printing
- Next by thread: Re: Start a service instance for each Terminal Service session
- Index(es):