Question about ServiceGroupOrder
-
I am not sure I should put this post here. I couldn't find a proper category. My question is about the service's load order. Most services that appear in the HKEY_LOCAL_MACHINE\CurrentControlSet\Services subkey have "Group" keys which are part of a Service Group. The order of groups in the load ordering group list. This information is stored in the ServiceGroupOrder value in the following registry key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control Windows should first load drivers according to the ServiceGroupOrder. There are also some services that belongs to groups that are not in the ServiceGroupOrder and services that don't belong to any group (they don't have registry "Group" keys). Of course, the two kind of services will be loaded after services belonging to groups that are in the ServiceGroupOrder list. My question is that for these two kind of services, who will be loaded first? Or no guaranteed? Thanks.
-
I am not sure I should put this post here. I couldn't find a proper category. My question is about the service's load order. Most services that appear in the HKEY_LOCAL_MACHINE\CurrentControlSet\Services subkey have "Group" keys which are part of a Service Group. The order of groups in the load ordering group list. This information is stored in the ServiceGroupOrder value in the following registry key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control Windows should first load drivers according to the ServiceGroupOrder. There are also some services that belongs to groups that are not in the ServiceGroupOrder and services that don't belong to any group (they don't have registry "Group" keys). Of course, the two kind of services will be loaded after services belonging to groups that are in the ServiceGroupOrder list. My question is that for these two kind of services, who will be loaded first? Or no guaranteed? Thanks.
rosiki wrote:
There are also some services that belongs to groups that are not in the ServiceGroupOrder and services that don't belong to any group (they don't have registry "Group" keys).
Only services which have the SERVICE_SYSTEM_START or SERVICE_BOOT_START flags will have ServiceGroupOrder keys. The services without entries are probably SERVICE_DEMAND_START or SERVICE_DISABLED. Some reference documentation: What Determines When a Driver Is Loaded[^] How To Control Device Driver Load Order[^] Best Wishes, -David Delaune