首先需要开启测试模式,内容如下:
@bcdedit -set loadoptions DDISABLE_INTEGRITY_CHECKS @bcdedit -set TESTSIGNING ON
取消测试模式: @bcdedit -set loadoptions ENABLE_INTEGRITY_CHECKS @bcdedit -set TESTSIGNING OFF