Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Rikitav/Unified.Firmware/llms.txt
Use this file to discover all available pages before exploring further.
LoadOptionAttributes is a [Flags] enum stored in each Boot####, Driver####, or SysPrep#### NVRAM variable. It controls how the UEFI boot manager handles the load option — whether it is automatically processed, visible in the boot selection menu, and how it is categorised. The underlying type is uint, directly matching the 32-bit Attributes field defined by the UEFI specification.
Namespace
Unified.Firmware.BootService.LoadOption
Members
| Member | Value | Description |
|---|---|---|
ACTIVE | 0x00000001 | The boot manager will automatically attempt to boot this entry during the standard boot sequence. Entries without this flag are stored but skipped during auto-boot. |
FORCE_RECONNECT | 0x00000002 | Applies to Driver#### entries only. After the last Driver#### option is processed, all UEFI drivers are disconnected and reconnected, allowing newly loaded drivers to bind to previously enumerated devices. |
HIDDEN | 0x00000008 | The entry does not appear in any boot selection menu presented by the boot manager. The entry can still be activated programmatically or via direct selection. |
CATEGORY | 0x00001F00 | A sub-field mask covering bits [12:8]. Use this mask to isolate or clear the category bits from a raw Attributes value, then compare against CATEGORY_BOOT or CATEGORY_APP. |
CATEGORY_BOOT | 0x00000000 | The entry is part of normal boot processing. This is the default category and has a numeric value of zero — no category bit is set. |
CATEGORY_APP | 0x00000100 | The entry is an application that is not part of the normal boot sequence. It can optionally appear in the boot menu or be triggered via a configured Hot Key. |
Common Usage
Normal Bootable Entry
An active entry that participates in the standard boot sequence and appears in the boot menu.CATEGORY_BOOT is zero, so specifying it explicitly or omitting it produces the same result.
Hidden Entry
An active entry that is excluded from the boot selection menu. Useful for maintenance or recovery entries that should only be invoked programmatically.Application Entry
An EFI application that is not part of the normal boot sequence. It may be shown in a boot menu or triggered by a Hot Key if the firmware supports it.Inspecting the Category of an Existing Entry
Use theCATEGORY mask to isolate the category bits from a raw attributes value before comparing:
CATEGORY_BOOT has the value 0x00000000, meaning it is the default state when no category bits are set — not an independently toggled bit. Do not use HasFlag(LoadOptionAttributes.CATEGORY_BOOT) to test for boot category entries; instead, mask with CATEGORY and compare the result to CATEGORY_BOOT as shown above.