There are two ways to do it
1. Enable Test Signing Mode
Windows includes a “Test Mode”. Enable this mode and driver signature enforcement will be disabled until you choose to leave Test Mode. You’ll see a “Test Mode” watermark appear at the bottom right corner of your desktop near your clock. You’ll need to run a command from an Administrator Command Prompt to do this. To launch one, right-click the Start button or press Windows+X and select “Command Prompt(Admin)”.
Enter the following command into the Command Prompt If you see a message saying the value is “protected by Secure Boot policy”, that means Secure Boot is enabled in your computer’s UEFI firmware. You’ll need to disable Secure Boot in your computer’s UEFI firmware (BIOS) to enable test mode or test signing mode. Restart your computer to enter test mode. You’ll see the “Test Mode” watermark appear at the bottom right corner of your desktop and you’ll be free to install whatever unsigned drivers you want. To leave test mode, open a Command Prompt window as Administrator once again and run the following command:
2. Use an Advanced Boot Option
You can use the advanced boot options menu to boot Windows 10 with driver signature enforcement disabled. This isn’t a permanent configuration change. The next time you restart Windows, it will boot with driver signature enforcement enabled—unless you go through this menu again.
Under Advanced Startup, click Restart Now. NOTE: In Windows 8.1, the ‘Restart Now’ button has moved to ‘PC Setting > Update & Recovery > Recovery.’ 2. After restarting, click Troubleshoot.
Click Advanced Options.
Click Windows Startup Settings.
Click Restart.
Type “7” 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. However, the next time you restart your computer, driver signature enforcement will be disabled. You’re now free to install drivers from untrusted sources.