0%

Chapter 2 Getting Started with Kernel Development

1.编写驱动程序

img

2.加载驱动

创建服务

sc create sample type= kernel binPath= c:\dev\sample\x64\debug\sample.sys

查看注册表创建成功

img

驱动签名

bcdedit /set testsigning on

(依旧不能解决,需要在bios禁用签名,但是其实在设置中重启就可以解决)

设置-更新和安全-恢复-立即重启-疑难解答-高级选项-启动设置

以上,其实最好的方式是用virtualkd工具,在进OS一开始就关闭强制签名(f8)