Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What changed in the driver signature requirements for Windows 8?

I've got a passthrough NDIS intermediate driver, consisting of two .inf files (one standard and one miniport) and a .sys file. Because of the Windows 7 driver signing requirements, I had to get a code-signing certificate and sign the .sys file in order for the driver to install on a 64-bit system. This works fine, and I have many successful Windows 7 installs.

However, the same installer fails on the Windows 8 Consumer Preview (64-bit). If I boot with Windows Signature Enforcement turned off, it installs correctly, so it's definitely a signature issue. What new requirements were added between Windows 7 & Windows 8 that I need to follow in order to get my driver to install?

like image 658
jeffm Avatar asked Mar 09 '12 20:03

jeffm


People also ask

How do I fix my driver signature?

Go to shut down your computer, then hold “Shift + Left Click” on the Restart option. Select Troubleshoot -> Advanced Options -> Start Up Settings -> Restart -> Disable signature requirement. By putting Windows 10 into test mode, you should be able to install the drivers without issue.

How do I disable driver signature verification on 64 bit Windows 8.1 or 10?

Choose Troubleshoot > Advanced options > Startup Settings and click the Restart button. When your computer restarts you'll see a list of options. Press F7 on your keyboard to select Disable driver signature enforcement. Your computer will now restart and you'll be able to install unsigned drivers.

How do I turn off digital signature in Windows 8?

Click Windows Startup Settings. Click Restart. After restarting your computer a second time, choose Disable driver signature enforcement from the list by typing the number 7 on your keyboard. Your computer will restart automatically.

How do I disable driver signature verification on 64 Windows 8 or 10 so that you can install unsigned drivers?

Windows 8 & 10Type “7” or “F7” at the Startup Settings screen to activate the “Disable driver signature enforcement” option. Your PC will boot with driver signature enforcement disabled and you'll be able to install unsigned drivers.


1 Answers

Regenerate your cat file(s) so that they comply with the signing requirements for the new Window OS.

For example, in my build script I had to add 8_X86,8_X64 to my inf2cat command:

inf2cat /driver:"%CD%" /os:XP_X86,XP_X64,Vista_X86,Vista_X64,7_X86,7_X64,8_X86,8_X64

For Windows 8.1, you will need the inf2cat included in Windows Driver Kit (WDK) 8.1 and depending on your target(s) add 6_3_X64, 6_3_X86, or 6_3_ARM to the /os:WindowsVersionList.

Reference, Inf2Cat

like image 118
Roger Stewart Avatar answered Sep 22 '22 15:09

Roger Stewart