|
|
本帖最后由 2012swd 于 2026-6-20 22:09 编辑
1.前提:电脑以uefi+Secure Boot enabled启动。
2.以管理员运行PowerShell,输入:Confirm-SecureBootUEFI,回车,应输出“True”。若输出“false”,进bios确认电脑是否以uefi启动,是否已开启安全启动。
3.检查安全启动证书的到期日。输入:[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match 'Windows UEFI CA 2023',回车。
a.若输出“True”,恭喜你已获得了CA2023(有效期至2053年)。退出powershell即可。
b.若输出为“False”,说明仍可能是2011年证书(2026年到期)。go on next step.
4.设置注册表密钥以部署所有所需证书。输入:reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Secureboot /v AvailableUpdates /t REG_DWORD /d 0x5944 /f,回车。
5.手动触发证书更改。输入:Start-ScheduledTask -TaskName "\Microsoft\Windows\PI\Secure-Boot-Update",回车。
6.重启电脑
7.重复第3步,检查是否已获得2023年安全启动证书。
原帖:How to install the 2023 Secure Boot certificates on Windows 11 (and 10) before the 2026 expiration - Pureinfotech
|
|