Alfredo Uen

I have a service program with OWN_PROCESS, AUTO_START, no any dependency. This service works on Vista as well as w2k/wxp, except the Vista start it in a very late statement.

In w2k/wxp, my service program can start before user logon. But in Vista, even the user has logon, it takes about 40 or more seconds before my service program start running.

My PC is Celeron 3.0GHz, with 1GB RAM, I don't think it's the hardware's problem.

Since my service is one part of the drivers for an input device, this is very important for me to load the service ASAP. Does any one know how to boost the load order for this type of services




Re: Security for Applications in Windows Vista Service started very late in Vista?

LiveAa

Using Process Explorer to see its role at first. Vista have diff role mode with Windows2k/XP.




Re: Security for Applications in Windows Vista Service started very late in Vista?

Jerry Ou

I have found the service start sequence will be different when user log on, may this time , the service will start at 5th(for example), next time, it will start at 8th...It's strange




Re: Security for Applications in Windows Vista Service started very late in Vista?

Elod Kironsky

I have the same problem in Vista. My service is sometimes started after my process, that actually depends on my service. Is there any dependency mechanism to manage a service to be started before its dependent processes




Re: Security for Applications in Windows Vista Service started very late in Vista?

benda

I have the same problem. My service needs to start ASAP. I think you can play with the group order list but its not standard. I have a feeling that its a BUG of Vista because they do offer a late load of services but I understood that its only if you specify the flag in the serivce entry in the registry.




Re: Security for Applications in Windows Vista Service started very late in Vista?

Devbee

We ran into this problem, too, and just found the problem.

If you have an ethernet card or interface that is configured to obtain an DHCP address but can't for whatever reason (no DHCP server for example), then Vista will take 30 - 50 seconds before it even starts services (it seems to wait on this DHCP to timeout).

Note that VMWare Player (and presumably the full VMWare) will install 2 virtual ethernet cards, one of which is configured for DHCP but which will not be able to get an address and timeout after 30 - 50 seconds, thus causing the above problem.




Re: Security for Applications in Windows Vista Service started very late in Vista?

qgindi

I just changed SERVICE_AUTO_START to SERVICE_BOOT_START.