Question

I am learning to create drivers for windows. Upon trying to deploy my first driver I encounter this error when I try to start the service:

System error 1275 has occurred.

This driver has been blocked from loading

I am using Windows Driver Kit Version 7.1.0. Tried to build the .sys file for /386 and /ia64 architectures. Tried to sign both files with a self-signed certificate. Finally disabled the signature checking (F8 during boot-up and selected "Disable Driver Signature Enforcement") and tried with both signed and unsigned driver. Still getting the same error.

Any ideas what could be done?

Update: Signing is done using the command: Signtool sign /v /s PrivateCertStore /n MyCert /t http://timestamp.verisign.com/scripts/timestamp.dll driver.sys i.e. I use an embedded signature. Also the MyCert certificate is from the Trusted Root Certification Authorities certificate repository (available certificates can be seen by executing Ctrl+R, certmgr.msc)

Was it helpful?

Solution

I have resolved this issue on my test setup. Issue was compiler incompatibility. After compilation on win-7 build environment My test driver loaded successfully on win2k8r2 machine

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top