Skip to main content

Boot Environment Audit

Summary

Displays boot environment audit results for managed Windows devices, populated from the pvl_boot_environment_details custom table by the Boot Environment Audit script.

Use this dataview to review Secure Boot status, UEFI CA 2023 certificate enrollment, BIOS firmware readiness, pending driver updates, cumulative update compliance, and boot configuration anomalies across your device fleet.

This dataview also includes computed remediation columns that identify devices requiring Secure Boot CA2023 remediation and recommend the next remediation action. These columns support the Secure Boot CA2023 Autofix Targets internal monitor and the Remediate SecureBootCompliance2026 script workflow.

Dependencies

Remediation Detection Logic

The dataview calculates the Problematic column as 1 when all of the following are true:

  • The device has boot environment audit data.
  • SecureBootStatus is Enabled.
  • Either DBCertificateStatus or KEKCertificateStatus is one of:
    • Out of date
    • Not present
  • UEFICA2023_Status is not 1 or 2.

Otherwise, Problematic is set to 0.

The following servicing states are excluded from the immediate autofix target list because they indicate that the device is already in a reboot-required state:

UEFICA2023_StatusMeaning
1In progress - reboot required
2Updated - reboot required

The RemediationAction column returns the recommended next action for the device.

RemediationActionMeaning
Run audit scriptNo boot environment audit data exists for the device.
Manual BIOS: enable Secure BootSecure Boot is disabled or unknown. Manual BIOS/UEFI action is required.
None - already compliantBoth DB and KEK certificates are reported as updated.
Reboot required before recheckThe UEFI CA2023 servicing state indicates that a reboot is required.
Investigate UEFI CA 2023 errorA UEFI CA2023 error value is present and should be reviewed.
Run remediationSecure Boot is enabled, required certificates are missing or out of date, and the device is eligible for automated remediation.
ReviewNo specific remediation rule matched. The device should be reviewed manually.

The RemediationReason column provides a human-readable explanation of the contributing factors, such as:

  • DB certificate status
  • KEK certificate status
  • Secure Boot state
  • UEFI CA2023 servicing state
  • UEFI CA2023 error value

The Problematic, RemediationAction, and RemediationReason columns are calculated in the dataview query. They are not stored in the pvl_boot_environment_details custom table.

Columns

ColumnDescription
ClientIDThe unique identifier of the client. (Hidden)
LocationIDThe unique identifier of the location. (Hidden)
ComputerIDThe unique identifier of the computer. (Hidden)
ClientThe name of the client for this computer.
LocationThe name of the location for this computer.
ComputerThe name of the computer where the audit was performed.
OperatingSystemThe OS installed on the endpoint.
LastContactThe last check-in date of the agent.
LastLoggedInUserThe last user logged into the device.
FormFactorThe physical form factor of the machine.
ManufacturerThe device manufacturer, for example Dell, HP, or Lenovo.
ModelThe device model name.
SerialNumberThe device serial number.
OEMUpdatesCountNumber of available driver updates from the device manufacturer's tool.
SecureBootStatusSecure Boot state: Enabled, Disabled, or Unknown.
TelemetryStatusWindows telemetry state: Enabled or Disabled.
DBCertificateStatusStatus of the UEFI db certificate for CA 2023: Updated, Out of date, or Not present.
KEKCertificateStatusStatus of the UEFI KEK certificate for CA 2023: Updated, Out of date, or Not present.
DBDefaultCertificateStatusStatus of the default db certificate for CA 2023: Updated, Out of date, or Not present.
CurrentCumulativeUpdateName or KB identifier of the most recently installed cumulative update.
Nov2025CUInstalledYes if the November 2025 or newer cumulative update is installed; otherwise No.
BiosNameBIOS name reported by the device.
BiosVersionRaw BIOS version string as reported by the device.
BiosVersionNumberNormalized numeric BIOS version extracted from BiosVersion.
CA2023SupportedBIOSVersionMinimum BIOS version required for CA 2023 Secure Boot certificate support.
CA2023SupportedBIOSVersionNumberNormalized numeric version from CA2023SupportedBIOSVersion.
PXE_PresentYes if PXE or network boot options are detected in firmware boot entries; otherwise No.
DualBootOrNonWindowsEFIYes if non-Windows EFI boot entries are detected, for example Ubuntu, Debian, or GRUB; otherwise No.
WinRE_EnabledYes if the Windows Recovery Environment is enabled; otherwise No.
PresentComma-separated summary of detected conditions.
PXE_EvidenceRaw evidence lines from bcdedit output confirming PXE or network boot indicators.
DualBoot_EvidenceRaw evidence lines from bcdedit output confirming non-Windows EFI boot entries.
Available_UpdatesSecure Boot registry value for available updates, or Not exist if the key is absent.
UEFICA2023_StatusSecure Boot servicing registry status for UEFI CA 2023, or Not exist if absent.
UEFICA2023_ErrorSecure Boot servicing registry error code for UEFI CA 2023, or Not exist if absent.
WindowsUEFICA2023_CapableSecure Boot servicing registry value indicating CA 2023 capability, or Not exist if absent.
ConfidenceLevelSecure Boot servicing registry confidence level metric, or Not exist if absent.
ConfidenceUpdateTypeSecure Boot servicing registry confidence update type, or Not exist if absent.
BucketHashHash used for telemetry grouping from the Secure Boot servicing registry, or Not exist if absent.
ScriptRunDateTimestamp of when the audit script last ran and populated this record.
Problematic1 when the device requires Secure Boot CA2023 remediation and is eligible for autofix; otherwise 0.
RemediationActionRecommended remediation action, such as Run remediation, Reboot required before recheck, Manual BIOS: enable Secure Boot, Investigate UEFI CA 2023 error, or None - already compliant.
RemediationReasonHuman-readable explanation of why the device was flagged or why a specific remediation action is recommended.

Changelog

2026-08-04

  • Added Problematic column to identify devices requiring Secure Boot CA2023 remediation.
  • Added RemediationAction column to recommend the next remediation step.
  • Added RemediationReason column to provide a human-readable explanation for the remediation state.
  • Added remediation detection logic documentation.
  • Added references to the Secure Boot CA2023 autofix internal monitor and the Remediate SecureBootCompliance2026 script.

2026-05-06

  • Initial version of the document.