Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 925518 - Last Review: March 15, 2007 - Revision: 2.7
Programs that try to send a message to Session 0 may stop responding in Windows Vista
Certain programs, such as installation programs, services, or drivers, may appear to stop responding in Windows Vista.
This issue may occur if the program tries to use an interactive service to send a message dialog box to the user that is logged on to Session 0, or the "console session."
The issue occurs because Windows Vista isolates services in Session 0 and runs user programs in other sessions. Because the user is no longer logged on to Session 0, the user cannot see the message dialog box. Therefore, the user cannot respond to the message dialog box that is sent to Session 0. The program appears to stop responding to wait for a response.
To resolve this issue, contact the manufacturer of the program for an updated version that is compatible with Windows Vista.
For information about your hardware manufacturer, visit the following Web site:
To work around this issue, the interactive service detection service may provide notification to the user when a message dialog box is sent to Session 0. Then, the user has the option to interact with the dialog box. This service will not be available in future releases of Windows Vista.
Windows Vista isolates services in Session 0 and runs programs in other sessions. Therefore, services are protected from attacks that originate in program code. In Microsoft Windows Server 2003 and earlier versions of Windows, all services run in Session 0 together with programs. This behavior can pose a security risk because services run with elevated permissions. Therefore, these services are targets for malicious agents who are looking for a way to elevate their permissions.
For more information about how Session 0 isolation affects services and drivers, visit the following Microsoft Web page:
Service guidance
Services should not provide direct user interaction by using the
SetProcessWindowStation function and the
SetThreadDesktop function. A service should never open a window on the default desktop. This includes simple user notification dialog boxes such as a "Printer Out of Paper" notification or a Driver Package restart request. Instead, services that need user interaction should use a client/server model. Such services should communicate through client/server style mechanisms such as remote procedure call (RPC) or COM. The use of named objects must follow the "Terminal Services Programming Guidelines for Kernel Object Namespaces." These guidelines are documented in the SDK because the service runs in Session 0 and the client computer runs in a later session.
APPLIES TO
- Windows Vista Business
- Windows Vista Enterprise
- Windows Vista Home Basic
- Windows Vista Home Premium
- Windows Vista Starter
- Windows Vista Ultimate
- Windows Vista Enterprise 64-bit Edition
- Windows Server 2008 Datacenter without Hyper-V
- Windows Server 2008 Enterprise without Hyper-V
- Windows Server 2008 for Itanium-Based Systems
- Windows Server 2008 Standard without Hyper-V
- Windows Server 2008 Datacenter
- Windows Server 2008 Enterprise
- Windows Server 2008 Standard
- Windows Web Server 2008
| kbtshoot kbinfo kbexpertiseadvanced KB925518 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate