
06-22-2010, 08:19 PM
|
Regular
|
|
Join Date: Dec 2004
Location: IL, USA
Posts: 84
|
|
Session 0 Isolation
Under XP it wasn't possible for a service to launch a program in the local session, but it was possible to call things such as LockWorkstation, and play sounds. Now with Windows 7's full session 0 isolation, these things are no longer possible. It also is no longer possible to listen for the user session switch event.
Everything I've read on the internet says no, but I figured I'd ask here...
Is it possible do the following things as a service in Windows 7: - Execute a program in a user session
- Play sounds out of the local sound card
- Detect user session switch
For the time being, I've moved any code for these items to my client application which communicates with my service. I would like to get these things working in the service though, if at all possible.
It seems backwards to me that a service installed with elevated permissions cannot gain control or execute on a session with lesser privileges.
|
|