I downloaded the IOCTL sample driver from MSDN. I am trying to run an executable in this example to load the driver from its SYS file, but I get this error when it calls StartService:
StartService failure! Error = 577
Unable to install driver.
ControlService failed! Error = 1062
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.
Starting with Windows Vista 64-bit, Microsoft began requiring signed drivers unless bypassed using boot-time developer options.
There are options for both unsigned drivers (F8 option or attaching a kernel debugger) and test-signed drivers (TESTSIGNING boot configuration). The easiest bypass is to press F8 at boot time and select "Disable Driver Signature Enforcement", which will last until the next boot.