I have a windows service, that makes several COM+ calls during initialization. On some systems this windows service causes a deadlock during startup.

> 
> At least one service or driver failed during system startup
> 
> 
> 

The problem with calling CoCreateInstance during service startup is that it might require other services to startup. And the SCM will not allow other services to startup while waiting for the current service to enter running state. The solution is to ensure that the service dependencies are properly configured when installing the service. See <http://support.microsoft.com/kb/258943>

But what services dependencies should one specify when running on Windows Vista / 2008 / 7 ?