Sie sind auf Seite 1von 2

JSI Tip 0324 - Registry entries for services. http://www.jsifaq.com/SF/Tips/Tip.aspx?

id=0324

0324 » Registry entries for services. 24-Nov-97

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
0
message appears.
Normal: If the driver fails to load or initialize, startup proceeds, but a warning
1
message appears.
Severe: If the driver fails to load or initialize, declares the startup as having failed
2 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
3 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
0
(startup) volume must be loaded by the kernel loader.
System: Loaded by I/O subsystem. Specifies that the driver is loaded at kernel
1
initialization.
Automatic: Loaded by Service Control Manager. Specifies that the service is
2
loaded or started automatically.
Manual:. The service does not start until the user starts it manually, such as by
3
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 Description
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.
A Win32 program that runs in a process by itself. This type of Win32
16 (0x10)
service.can be started by the Service Controller.
A Win32 program that shares a process. This type of Win32 service can be
32 (0x20
started by the Service Controller.
272 A Win32 program that runs in a process by itself (like Type16) and can
(0x110) interact with users.
288
A Win32 program that shares a process and can interact with users.
(0x120)
See tips 069 and 260 for additional entries.

1 of 2 9/27/2006 12:27 PM
JSI Tip 0324 - Registry entries for services. http://www.jsifaq.com/SF/Tips/Tip.aspx?id=0324

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.

SPONSORED LINKS FEATURED LINKS

windows patch management Everyday Active Directory Disasters Save $40 off Windows IT Pro Magazine
Deploy patches in Microsoft Windows and Are you at risk? Learn more - read the new Quest Offer ends soon!
Linux OS. Web-based software
PatchQuest.com/Free-Download
white paper now.
Windows Connections Conference 2006
PDF: Windows NT Services Measuring the ROI of Monitoring Software November 6-9. Don’t miss the event that
Process PDF with simple Drag & Are you getting the most bang for your buck? Find will rock Las Vegas!
Drop Automatic processing & printing out now.
www.pdf-tools.com/ Master the Windows IT Universe
Argent versus MOM 2005 Save 50% off the Windows IT Pro
Top 5 Registry Cleaners
Free scan from top registry cleaner Fix errors Experts Pick the Best Windows Monitoring Solution Magazine Master CD
& optimize your computer
www.InstantRegistryFix.com Fast & Easy Windows Server Backup Register Now For TechX World 2006
Affordable, High-Performance Backup Software. Free Don’t miss the interoperability event of
Service Windows Nt Trial. the year!
Quality Pre-Reviewed Resources For Service
Windows Nt
Strongest SSL Encryption Available Monthly Online Pass--only $5.95 per month!
www.Expert-Expert.com
Protect your data with the strongest SSL available Includes instant online access to all
from VeriSign. articles and a digital issue of Windows IT
Pro Magazine
Want to Copy, Move or Migrate Printers?
Microsoft to Microsoft or Novell to Microsoft. Oracle and SQL Roadshows Start Sept 7
The latest in 64-bit db computing, BI, &
A Linux Server For Windows Admins high-availability - 12 Cities
Power, security and value in a familiar GUI. Free
30-day trial!
FREE Download – New Diskeeper® 10
Your fastest computers can run even faster—try now
& see for yourself!

CertTutor Connected Home IT Community Research SQL IT Library SuperSite FAQ Wininfo News Europe Edition MSD2D Windows Excavator

Windows IT Pro is a Division of Penton Media Inc.


Copyright © 2006 Penton Media, Inc., All rights reserved. Legal | Privacy Policy

2 of 2 9/27/2006 12:27 PM

Das könnte Ihnen auch gefallen