Kernel mode display-only miniport driver (KMDOD) sample
Installation
In Microsoft Visual Studio, press F5 to build the sample and then deploy it to a target machine. For more info, see Deploying a Driver to a Test Computer.
In some cases you might need to install the driver manually, as follows.
- Add the following files to the directory given by …\[x64]\C++\Package:
- SampleDriver.cat
- SampleDriver.inf
- SampleDriver.sys
- SampleDriver.cer
- Unless you’ve provided a production certificate, you should manually install the SampleDriver.cer digital certificate with the following command:
Certutil.exe -addstore root SampleDriver.cer
- Then enable test signing by running the following BCDEdit command:
Bcdedit.exe -set TESTSIGNING ON
Note After you change the TESTSIGNING boot configuration option, restart the computer for the change to take effect.
For more info, see The TESTSIGNING Boot Configuration Option.
- Manually install the driver using Device Manager, which is available from Control Panel.