INFO: Service Dependencies Not Used During Shutdown
Article ID: 203878
Article Last Modified on 2/22/2007
APPLIES TO
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional Edition
- Microsoft Win32 Application Programming Interface, when used with:
- Microsoft Windows 2000 Standard Edition
- Microsoft Windows XP Professional
This article was previously published under Q203878
SUMMARY
When a service is dependendent on other services, the Service Control Manager (SCM) will automatically start the dependencies before starting the dependent service itself. However, during system shutdown, the SCM does not take dependencies into consideration when stopping services. It simply enumerates the list of running services and sends a SERVICE_CONTROL_SHUTDOWN command to all of them. Thus, a service may stop responding or fail because another service it depends upon has already stopped.
Additional query words: kbDSupport prodnt
Keywords: kbinfo kbinterop kbkernbase kbscm kbservice KB203878