@Stylo
Not quite sure what you want to do:
1) be able to load unsigned driver permanently (it IIRC is not impossible, except kernel hack in memory or files at disk)
2) use test signing
Also I would like to know your actions step by step.
For example, based on MSDN information, I successfully signed test driver with test ceriticate and loaded it on Windows 7 SP1. Of course it will work only in test mode and only on current test machine.
turn on test mode:
1) Run cmd as admin, use bcdedit
bcdedit.exe /set TESTSIGNING ON
Do not use nointegritychecks option - it is ignored on everything higher Vista.
2) Reboot - Test Mode watermark should appear on desktop
3) Install WDK, as you playing with drivers I assume you already have it. You need signtool and makecert utilities, all located in "bin" folder, respectively to architecture used.
4) Create your own test certificate
makecert -r -n "CN=MyCertificate" -ss "MyCertStore" -sr LocalMachine
Note: "-r" is required, as we are creating selfsigned certificate
5) Now add generated certificate to the trusted root certificates -> use mmc console (see
http://technet.microsoft.com/en-us/libr ... 54431.aspx for more info).
6) Sign driver. From the same console use:
signtool sign /a /v /s MyCertStore /n "MyCertificate" mydrv.sys