Closed Kashio closed 1 year ago
DISABLE_INTEGRITY_CHECK is ignored since Windows 7. You need to test sign the driver and enable testing mode or disable driver signature enforcement in the advanced boot options:
It's very convenient to use a virtual machine and create a snapshot with driver signature enforcement disabled.
All versions are the same for both host and target Windows version: Windows 10 home 21H2 19044.1826 WDK version: 10.0.22621.0
I try to run on host:
this is the output I get when I query for the service:
Problem it doesn't happen when I try to run driver as a service if I compile a test driver with a vs solution. I tried to compare the compiler and linker options but could find something relevant that is missing that might cause this. Here's the vs solution compiled driver compiler and linker options:
EDIT: Actually after some playing I don't know what I did but I get this everytime I try to run the service:
Integrity check is disabled, test signing and debug are on, bcdedit output:
To be clear I never signed the driver with a test signature before this problem occurred, so I don't know how I even got this?