Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows API
  4. Question about ServiceGroupOrder

Question about ServiceGroupOrder

Scheduled Pinned Locked Moved Windows API
questionwindows-adminlearning
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    btmanlu
    wrote on last edited by
    #1

    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.

    L 1 Reply Last reply
    0
    • B btmanlu

      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.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups