简体   繁体   中英

This driver has been blocked from loading (Windows 2008 R2)

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 ie 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)

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM