注意打印机是用com1端口,应该提前删除
bcdedit /debug on
bcdedit /dbgsettings serial debugport:1 baudrate:115200
bcdedit /dbgsettings
以下两条是配置调式环境系统用
bcdedit /set testsigning on
bcdedit /set loadoptions DDISABLE_INTEGRITY_CHECKS
在虚拟机里面安装WDK Test Target Setup x64-x64_en-us.msi