I have a test driver that must run on 64-bit Windows 7.
According to MSDN, there are two methods to disable OS to check driver's digital signature:
Method 1. Connect the machine to a debugger, such as WinDBG;
Method 2. During booting the machine, hit F8 and choose "disable driver signature enforcement".
I used method 2 to start my OS, and loaded my test driver; however, when the driver was loaded, a message box popped to warn me the driver is unsigned and it will not work. I ignored it, my test driver worked as expected.
My question are:
Why did the message box pop under having disabled driver signature enforcement?
How to prevent the message box from popping?