在执行 bcdedit -set TESTSIGNING ON 时,总是出现如下错误:
An error has occurred settiing the element data.
The Value is protected by Secure Boot policy and cannot be modified o deleted.
在网上找了好久,没找到答案。在错误信息中,有个Secure Boot ,因此我就试着重新设置一下Secure Boot的值,更改后测试成功。
首先开机进入 BIOS设置, 不同计算机快捷键不一样,我的是F1. 进行设置界面以后,找到 Security --> Secure Boot . 将Secure Boot 设置为 DISabled. 保存后重启,再尝试一下 testsigning设置是否成功。
找了老半天,终于设置成功了!