How to test sign a driver in Windows 7 or 8 with your own certificate


Do you want to test a new driver? Here’s how you can sign your own drivers in Windows 7 or 8.

How to test sign a driver in Windows 7 8

When Windows 7 complains that Windows requires a digitally signed driver, you can try this.

1. Read this tutorial to enable test mode and disable digital driver signing for a little background

2. Basically, you need to enter this command into an elevated command prompt to enable the test mode:

bcdedit.exe -set TESTSIGNING ON

Create Certificate And Sign Driver With It

3. Copy your driver to a directory like C:\test

4. Open the Windows SDK Shell from your Start Menu (MicrosoftSDKs)

5. Create a self signed certificate for your PC by entering makecert -r -ss PrivateCertStore -n “CN=EnterName” (replace EnterName with a name)

6. Enter signtool sign -s PrivateCertStore -n “entername” C:\test\mydriver.sys (replace entername with the name from step 4)

test signing a driver Windows 8
ENLARGE IMAGE

IMPORTANT: If you don’t replace entername with the actual name of your own certificate (step 5) then you will get the error:

SignTool Error: No certificates were found that met all the given criteria

If you want to test sign drivers in Windows 8, you need to install the Windows 8 Developer tools (If I remember correctly it was optional to install them, so you might have to reinstall them before you can test sign a driver in Windows 8)

Rate this article:
This article was rated 5 out of 5 stars
Based on 1 votes

How to password protect a folder in Windows 8
What Are ETL Files And How To Open Them
How To Clone A Hard Drive in Windows 7 Using Macrium Reflect

Juicy Logo White You love Windows, Gaming and everything digital? Great, we too! We have thousands of great Windows 7 themes, registry tweaks, tutorials, so please use our search box if you look for anything specific.

If you have some awesome desktop themes, tips or want to write for us, then drop us a mail!



Written by: Oliver Krautscheid (Nick: oliversk)
Oliver is the founder and lead editor of this site. He is interested in finding new ways to break Windows, find common e.... Full Bio

Contact The Author: Get Free Help.png

Connect:

facebook google twitter LinkedIn


Need help? Ask a question at our QA site, click the red button to get started:

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>