How to install this driver?

I downloaded the IOCTL driver sample from MSDN . I try to run the executable in this example to load the driver from its SYS file, but I get this error when calling StartService:

StartService failure! Error = 577 Unable to install driver. ControlService failed! Error = 1062 

577, in accordance with the documentation of error codes , means:

 ERROR_INVALID_IMAGE_HASH 577 (0x241) Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. 

I do not understand why it will not start, because in Visual Studio I went to the project settings in the driver and installed them on it:

Registration Mode → "Test Sign"

Test Certificate → I used the Create Test Certificate option to create and select a test certificate.

So what's the problem now? How can I install this driver?

0
c ++ visual-c ++ code-signing driver wdm
source share
1 answer

Starting with the 64-bit version of Windows Vista, Microsoft began to require signed drivers , unless it comes with using the developer options at boot time.

There are options for unsigned drivers (option F8 or attaching a kernel debugger) and test drivers (setting TESTSIGNING boot). The easiest workaround is to press F8 during boot and select "Disable driver forced signing", which will last until the next boot.

+2
source share

All Articles