共用方式為


BcdLibrary_SafeBoot enumeration

Specifies the safe boot options.

Syntax

typedef enum BcdLibrary_SafeBoot { 
  SafemodeMinimal   = 0,
  SafemodeNetwork   = 1,
  SafemodeDsRepair  = 2
} BcdLibrary_SafeBoot;

Constants

SafemodeMinimal

Load the drivers and services specified by name or group under the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal.

SafemodeNetwork

Load the drivers and services specified by name or group under the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network

SafemodeDsRepair

Boot the system into a repair mode that restores the Active Directory service from backup medium.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]

See also

BCD WMI Provider Enumerations

BcdOSLoaderElementTypes