It turns out that I was building the x86 instead of the x64 version of the driver and that's why it wouldn't load
Why am I getting error 1275 when trying to load my driver?
Hello,
I am trying to follow Chapter 2 of Pavel Yosifovich’s book Windows Kernel Programming in a “Windows 10 Dev Environment” Hyper-V VM. I have a driver which just loads, returns true, and can unload, super EZ (Source code from the author can be found here). I have built a .sys file for the driver and run sc create with the necessary parameters to create the Windows Service, and also run bcdedit /set testsigning on to hopefully allow the driver to load, but when I run sc start I get StartService FAILED 1275: This Driver has been blocked from loading. I am trying to start the service from an elevated command prompt too.
What other things could I check to figure out why my driver isn’t loading?
Thanks