[教学] Win 10 / 11 安全凭证即将到期 - 检查及重新配置

本帖最后由 hongkongfun 于 2026-3-7 18:33 编辑

如何检查有否更新 Secure Boot 凭证

" Microsoft 解释,所有仍受支援的 Windows 系统都使用这三个凭证来支援第三方软硬件及 Windows 生态系统。如果安全凭证过期,将导致 Secure Boot(安全启动)功能失效;系统将无法安装任何安全性更新;无法使用任何于 2026 年 6 月以后以新凭证签署的第三方软件;亦无法安装以新凭证签署的驱动程式。"



检查凭证

。以系统管理员身份执行 Power Shell
。输入 "   [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match 'Windows UEFI CA 2023'
"   后按 enter
。如果显示是 " True ",表示 Windows UEFI CA 2023 凭证已存在于您的安全启动资料库中
。如显示是 " False " 代表您的装置尚未收到凭证。

重新配置凭证

。以系统管理员身份执行 Power Shell
。输入 " reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Secureboot /v AvailableUpdates /t REG_DWORD /d 0x5944 /f " 后按 enter
。输入 "
Start-ScheduledTask -TaskName "\Microsoft\Windows\PI\Secure-Boot-Update" " 后按 enter
。重启 ( Re-start ) 电脑两次
。再用 Power Shell 检查是否转已转变为 " True "

原本False
c0.jpg
c4.jpg

重新配置转True
c7.jpg

.

依个要开左secure boot至做到, 而且有人个task会在reboot loops?

TOP

回覆 2# 恶魔城城主

本身已选用 UEFI,Secure boot 已 enable 了,可在 Power Shell 输入上述 Codes 而不需再开 Secure boot。关于 reboot loops 可能由 CSM 或 Legacy 关闭造成,但详细不清楚,因我未遇上  reboot loops 问题。

TOP

是不是每次开机之后都要入powershell 入codes ?

TOP

是不是每次开机之后都要入powershell 入codes ?
Pc3228 发表于 2026-6-11 13:23


如果 Powershell 显示 " True " 即是安全凭证已更新了,不需要再开 Powershell 入 codes。
或者可打开 Windows 设定内的 Secure Boot 个图案是否绿色。绿色即是无问题。

cert.jpg

.

TOP

如果 Powershell 显示 " True " 即是安全凭证已更新了,不需要再开 Powershell 入 codes。
或者可打开 Wi ...
hongkongfun 发表于 11-6-2026 22:10


试过win10/11 and asus机, 行完个ScheduledTask有部份update到一个, 有D update晒三个
有部份再行埋26-1月份patch就会全update, 但有D又win update失败, ok飘忽

TOP

唔update 凭证的话, 中毒机会大唔大呢?

TOP

唔update 凭证的话, 中毒机会大唔大呢?
Pc3228 发表于 2026-6-13 05:18


未更新的影嚮是......




,

TOP

如果 Powershell 显示 " True " 即是安全凭证已更新了,不需要再开 Powershell 入 codes。
或者可打开 Wi ...
hongkongfun 发表于 2026-6-11 22:10



Powershell 显示 " False "但Windows 设定内的 Secure Boot 个系绿色
咁又点呢 ?

似乎今期非必要都系关Secure Boot关BitLocker保平安.....

TOP

行Microsoft\Windows\PI\Secure-Boot-Update前, 你最好confirm系没原厂的
Sure Start / SafeBIOS / ThinkShield 档住.....如果唔系一reboot就爆炸 (有bitlocker的话)

TOP