Skip navigation

JSI Tip 0324 - Registry entries for services.

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services contains sub-keys for services and device drivers. The following value entries appear in most sub-keys:

ErrorControl is a type REG_DWORD which specifies how to proceed if the driver fails to load or to initialize properly:

 Value   D e s c r i p t i o n 
   Ignore: If the driver fails to load or initialize, startup proceeds, and no warning message appears. 
   Normal: If the driver fails to load or initialize, startup proceeds, but a warning message appears. 
   Severe: If the driver fails to load or initialize, declares the startup as having failed and restarts by using the LastKnownGood control set. If startup is already using the LastKnownGood control set, continues startup. 
   Critical: If the driver fails to load or initialize, declares the startup as having failed and restarts by by using the LastKnownGood control set. If startup is already using the LastKnownGood control set, stops startup and runs a debugging program. 

ImagePath is a type REG_EXPAND_SZ that contains the full path to the executable. This entry is not used for network adapters.

ObjectName is a type REG_DWORD which contains the account name for services or the driver object that the I/O manager uses to load the device driver.

Start is a type REG_DWORD which specifies how the service is loaded or started. If the service is a Win32 service, the value of Start must be 2, 3, or 4. This value entry is not used for network adapters.

 Value   D e s c r i p t i o n 
   Boot: Loaded by kernel loader. Components of the driver stack for the boot (startup) volume must be loaded by the kernel loader. 
   System: Loaded by I/O subsystem. Specifies that the driver is loaded at kernel initialization. 
   Automatic: Loaded by Service Control Manager. Specifies that the service is loaded or started automatically. 
   Manual:. The service does not start until the user starts it manually, such as by using Services or Devices in Control Panel. 
   Disabled: Specifies that the service should not be started. 

Type is a type REG_DWORD that specifies what this object represents:

 Value   D e s c r i p t i o n 
   A kernel-mode device driver. 
   A file system driver. 
   A set of arguments for an adapter. 
   A file system driver service, such as a file system recognizer. 
 16 (0x10)   A Win32 program that runs in a process by itself. This type of Win32 service.can be started by the Service Controller. 
 32 (0x20   A Win32 program that shares a process. This type of Win32 service can be started by the Service Controller. 
 272 (0x110)   A Win32 program that runs in a process by itself (like Type16) and can interact with users. 
 288 (0x120)    A Win32 program that shares a process and can interact with users. 

 Learn more: System Restore Registry Entries

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish