如何檢查安全開機憑證
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')注意:使用中的 DB 是電腦用來啟動電腦的資料庫。
此範例顯示 Windows UEFI CA 2023 憑證 (CA) 未出現在使用中的 DB:

- 輸入,
- 檢查使用中的 DB:
-
- 檢查預設 DB:
- 輸入,
([System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI dbdefault).bytes) -match 'Windows UEFI CA 2023')

- 輸入,
- 檢查預設 DB:
- 方法 2
注意:若要安裝 PowerShell 模組,必須使用網際網路連線。
- 安裝 PowerShell 模組
- 輸入,
Install-Module -Name UEFIv2- 輸入
Y(若為是),回答是否安裝 NuGet 提供者並從 PSGallery 安裝
- 輸入
- 輸入,
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned - 輸入,
Import-Module -Name UEFIv2
- 輸入,
- 檢查使用中的 DB:
- 輸入,
(Get-UEFISecureBootCerts db).signature注意:使用中的 DB 是電腦用來啟動機器的資料庫。這些是作業系統用來將電腦安全開機的憑證。

- 輸入,
- 檢查預設 DB:
- 輸入,
(Get-UEFISecureBootCerts dbdefault).signature注意:預設 DB 是安全開機 DB 的備份複製。當 BIOS 要求時 (不論是透過 Expert Key Mode 或 BIOS Reset),這些憑證可用來覆寫使用中的 DB。請參閱如何從 BIOS 更新安全開機使用中資料庫。

- 輸入,
安全開機憑證:
2011 憑證 (CA) 2023 憑證 (CA) Microsoft Corporation KEK CA 2011 Microsoft Corporation KEK 2K CA 2023 Microsoft Windows Production PCA 2011 Windows UEFI CA 2023 Microsoft Corporation UEFI CA 2011 Microsoft UEFI CA 2023 Microsoft Option ROM UEFI CA 2023 注意:並非所有憑證都會顯示在每個憑證上。啟動 Windows 的重要憑證為 Microsoft Windows Production PCA 2011 和 Windows UEFI CA 2023。如需有關 Dell 電腦上安全開機憑證更新的詳細資訊,請參閱 Microsoft 2011 安全開機憑證到期。
- 安裝 PowerShell 模組
Article Properties
Article Number: 000385747
Article Type: How To
Last Modified: 24 مايو 2026
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.