Free Power Tools Brochure
Get Mark Minasi's
17-page guide today!



      

advertisement

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

November 24, 1997 09:24 PM

JSI Tip 0324 - Registry entries for services.

Rating: (0)
Windows IT Pro
InstantDoc ID #71649
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 
 0  Ignore: If the driver fails to load or initialize, startup proceeds, and no warning message appears. 
 1  Normal: If the driver fails to load or initialize, startup proceeds, but a warning message appears. 
 2  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. 
 3  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 
 0  Boot: Loaded by kernel loader. Components of the driver stack for the boot (startup) volume must be loaded by the kernel loader. 
 1  System: Loaded by I/O subsystem. Specifies that the driver is loaded at kernel initialization. 
 2  Automatic: Loaded by Service Control Manager. Specifies that the service is loaded or started automatically. 
 3  Manual:. The service does not start until the user starts it manually, such as by using Services or Devices in Control Panel. 
 4  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 
 1  A kernel-mode device driver. 
 2  A file system driver. 
 4  A set of arguments for an adapter. 
 8  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. 

See tips 069 and 260 for additional entries.

Drv.zip is a freeware utility which starts, stops, pauses, continues or lists information about drivers on the specified system.

Svc.zip is a freeware utility which starts, stops, pauses, continues or lists information about services on the specified system.

ARTICLE TOOLS

Add a Comment

I'd like to know if there is a way to ignore all errors by default, instead of going through them one by one to change the value to 0.

ADFDF11/4/2009 10:34:58 PM


You must log on before posting a comment.

Are you a new visitor? Register Here

Related Resources

The Essential Guide to Optimizing OLTP Performance
A Essential Guide by Intel, Microsoft
The Essential Guide to 64-Bit Server
A Essential Guide by AMD
More

VB Script to enable user account

Do any of you guys have a VB script that could be used to enable a AD user account? We are setting up a "firecall" ID which will stay disabled until i...222-96219

advertisement

GOOGLE LINKS
SPONSORED LINKS
FEATURED LINKS

Podcasts

To successfully implement virtual desktops, IT administrators must carefully match user requirements to specific desktop technologies. Listen to this podcast to learn what you need to keep in mind when formulating your approach to desktop virtualization.

Downloads

PacketTrap IT is a comprehensive and affordable network management and application monitoring solution that solves problems associated with bandwidth, network and application performance, and connectivity. Gain insight into your network - try PacketTrapIT free for 21 days!

Web Seminars

Aside from its employees, data is an organization’s most important resource. Join Windows technical specialist and 11-time MVP John Savill to learn the best practices for managing data using features in Windows Server.
View this web seminar on demand!

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.