Georgii Firsov
Georgii Firsov

Reputation: 316

Start windows service before LogonUI appears

I've wrote a service, that should start before WinLogon launches LogonUI, but I can't find any solution to ensure it.

My service belongs to MS_WindowsLocalValidation group, that is located before, for instance, SmartCardGroup, which SCardSvr belongs to. I suppose, LogonUI needs some SCard functionality, so it should wait until this service starts, but it is just a guess. The obvious guess is that WinLogon waits for COM infrastructure launches, but I can't add my service to this group, because it uses COM, so it should start before my service too.

The question is: is there a way to ensure, that my service will start completely (will set its state to SERVICE_RUNNING) before LogonUI?


I found, that winlogon waits for a named event Global\\UMSServicesStarted, but during setup only :( Maybe there is something, that winlogon waits always before starting LogonUI?

Maybe there is some service, that winlogon depends explicitly on...

Upvotes: 0

Views: 155

Answers (0)

Related Questions