如何檢查安全開機憑證

Summary: 本文提供如何檢查使用 PowerShell 的電腦上是否有 2011、2023 或兩種安全開機憑證的資訊。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

受影響的作業系統:

  • Windows 11
  • Windows 10

您可以使用 cmdlet 從 PowerShell 檢查安全開機憑證。您必須 以系統管理員身分執行 PowerShell ,以避免發生存取問題。

有兩種方法:

  • 方法 1
    • 檢查使用中的 DB:
      • ([System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match 'Windows UEFI CA 2023')
        注意:Active DB 是電腦用來啟動電腦的資料庫。
      這些是作業系統用來將電腦安全開機的憑證。
      此範例顯示 Windows UEFI CA 2023 憑證 (CA) 未出現在使用中的 DB:
      使用中 DB 中不存在 Windows UEFI CA 2023 憑證 (CA)
    • 檢查預設 DB:
      • ([System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI dbdefault).bytes) -match 'Windows UEFI CA 2023')
      此範例顯示 Windows UEFI CA 2023 憑證 (CA) 存在於預設 DB 中:
      Windows UEFI CA 2023 憑證 (CA) 存在於預設資料庫中
  • 方法 2
    注意:若要安裝 PowerShell 模組,必須使用網際網路連線。
    • 安裝 PowerShell 模組
      • Install-Module -Name UEFIv2
        • 在命令前頭輸入 Y (對於是)有關安裝 NuGet 提供程式和從 PSGallery 安裝的問題
      • Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
      • Import-Module -Name UEFIv2
    • 檢查使用中的 DB:
      • (Get-UEFISecureBootCerts db).signature
        注意:活動資料庫是計算機用於啟動計算機的資料庫。這些是作業系統用來將電腦安全開機的憑證。
      此範例僅顯示 Active DB 中的 2011 憑證 (CA):
      使用中 DB 中的 2011 憑證 (CA)
    • 檢查預設 DB:
      • (Get-UEFISecureBootCerts dbdefault).signature
        注意:預設 DB 是 Secure Boot DB 的備份複本。當 BIOS 要求時 (不論是透過專家金鑰模式或 BIOS 重設),這些憑證可用來覆寫 Active DB。請參閱 如何從 BIOS 更新安全開機作用中資料庫
      此範例顯示預設 DB 中的 2011 和 2023 憑證 (CA):
      預設資料庫中的 2011 和 2023 憑證 (CA)

    安全開機憑證:

    2011 憑證 (CAs) 2023 憑證 (CA)
    Microsoft公司 KEK CA 2011 Microsoft 株式會社 KEK 2K CA 2023
    Microsoft Windows 生產 PCA 2011 Windows UEFI CA 2023
    Microsoft Corporation UEFI CA 2011 Microsoft UEFI CA 2023
      Microsoft選項 ROM UEFI CA 2023
    注意:並非所有憑證都會顯示在每張憑證上。啟動 Windows 的重要憑證為 Windows 生產 PCA 2011Windows UEFI CA 2023 Microsoft。

    如需有關 Dell 電腦上安全開機憑證更新的詳細資訊, 請參閱 Microsoft 2011 年安全開機憑證到期

Article Properties
Article Number: 000385747
Article Type: How To
Last Modified: 30 Oct 2025
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.