BootVerification Service Entries

The Services subkey for the BootVerification service does not appear by default in the Registry. You can add this subkey if you want to verify system startup from a remote location using the BOOTVRFY.EXE program provided with Windows NT. This service can be started from a remote computer. The service tells the Windows NT service controller that it should save the current startup system configuration as the LastKnownGood control set, and then the service terminates itself.

When you add the BootVerification subkey using Registry Editor, add the following value entries:

Value entry

Data type

Value

Comment

ErrorControl

REG_DWORD

0x1

Normal

ImagePath

REG_EXPAND_SZ

bootvrfy.exe

ObjectName

REG_SZ

LocalSystem

Start

REG_DWORD

0x3

Demand

Type

REG_DWORD

0x2

Win32 shared process


You must also specify a value of 1 for the ReportBootOK entry under the following Registry path:


HKEY_LOCAL_MACHINE\Software\Windows NT\CurrentVersion\WinLogon

When the value of ReportBootOK is set to 0, it disables the automatic (default) startup acceptance, which happens after the first successful logon.

This alternative method of verifying system startup cannot be used in conjunction with BootVerificationProgram (as described earlier in this chapter). See Chapter 12, "Configuration Management and the Registry" for the procedure for verifying system startup from a remote computer.