- 1 year ago
Install a seft signed driver on Windows 10 64 bit
Comment
1 / 1
To install a self-signed driver on Windows 10 64-bit, you need to follow these steps:
Prepare the Driver Package:
- Compile or obtain the driver files that you want to install. These files typically include a .inf file, .sys file, and any other necessary supporting files.
- Make sure that the driver package is signed with a valid certificate. In the case of self-signed drivers, you will generate a self-signed certificate to sign the package.
Generate a Self-Signed Certificate:
- Open the Developer Command Prompt for Visual Studio. This command prompt provides the necessary tools for generating a self-signed certificate.
- Use the following command to generate a self-signed certificate:
Replacemakecert -r -ss PrivateCertStore -n CN=YourCertificateName
YourCertificateName
with the desired name for your self-signed certificate. - This command generates a self-signed certificate and stores it in the certificate store named "PrivateCertStore". You can change the store name if desired.
Sign the Driver Package:
- Use the following command to sign the driver package using the self-signed certificate:
Replacebashsigntool sign /v /s PrivateCertStore /n YourCertificateName /t http://timestamp.digicert.com YourDriverPackage.inf
PrivateCertStore
andYourCertificateName
with the same values used when generating the self-signed certificate. Also, replaceYourDriverPackage.inf
with the path to your driver's .inf file. - This command signs the driver package with the self-signed certificate and adds a timestamp to the signature.
- Use the following command to sign the driver package using the self-signed certificate:
Disable Driver Signature Enforcement:
- By default, Windows enforces the requirement for digitally signed drivers. To install a self-signed driver, you need to disable driver signature enforcement temporarily.
- Restart your computer and press F8 repeatedly during startup to access the Advanced Boot Options menu.
- Select "Disable Driver Signature Enforcement" from the list of options using the arrow keys.
- Windows will start with driver signature enforcement disabled.
Install the Self-Signed Driver:
- Open the Device Manager by right-clicking on the Start menu and selecting "Device Manager".
- Locate the device category that your driver belongs to and right-click on the device you want to install the driver for.
- Select "Update Driver" and choose the option to install the driver manually.
- Specify the path to your signed driver package (.inf file) and follow the on-screen instructions to complete the installation.
Re-enable Driver Signature Enforcement:
- After installing the self-signed driver, you should re-enable driver signature enforcement for security reasons.
- Restart your computer and let Windows start normally.
- Driver signature enforcement will be enabled again.
Please note that installing self-signed drivers may have security implications, and it's generally recommended to use drivers signed by trusted authorities. Exercise caution and ensure that you fully trust the source of the self-signed driver before proceeding.