How can i make sure that my windows service is one of the first services that get started on boot? (C/C++)

  service, winapi, windows, windows-services

Is there anyway i can specify the load order of my startup windows service? for example, is there anything like the altitude in minifilters in windows services, so i can make sure my service is the first or one of the first services that get started in windows boot?

I am using the CreateService API to create my service.

If there is no way to specify the load order, then is the load order random?

Note that my service is already launching at startup, i just want to make sure I’m one of the first services that is started.

Source: Windows Questions

LEAVE A COMMENT