Session 0 Isolation
Session 0 Isolation
Session 0 Isolation
Session 0 Isolation
Session 0 Isolation
Session 0 Isolation Session 0 Isolation Session 0 Isolation Session 0 Isolation Session 0 Isolation Session 0 Isolation Session 0 Isolation Session 0 Isolation
Session 0 Isolation Session 0 Isolation
Session 0 Isolation
Go Back  Xtreme Visual Basic Talk > > > Session 0 Isolation


Reply
 
Thread Tools Display Modes
  #1  
Old 06-22-2010, 09:19 PM
izzy4505 izzy4505 is offline
Regular
 
Join Date: Dec 2004
Location: IL, USA
Posts: 84
Default 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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Session 0 Isolation
Session 0 Isolation
Session 0 Isolation Session 0 Isolation
Session 0 Isolation
Session 0 Isolation
Session 0 Isolation Session 0 Isolation Session 0 Isolation Session 0 Isolation Session 0 Isolation Session 0 Isolation Session 0 Isolation
Session 0 Isolation
Session 0 Isolation
 
Session 0 Isolation
Session 0 Isolation
 
-->