Stuff needed to start making drivers are:
• Visual Studio 2017 or 2019 with latest updates. Make sure the C++ workload is selected during installation. At the time of this writing Visual Studio 2019 has just been released and can be
used for driver development. Note that any SKU will do, including the free Community edition.
• Windows 10 SDK (generally the latest is best). Make sure at least the Debugging Tools for Windows item is selected during installation.
• Windows 10 Driver Kit (WDK). The latest should be fine, but make sure you also installs the project templates for Visual Studio at the end of the standard installation.
• The Sysinternals tools, which are invaluable in any “internals” work, can be downloaded for free from Click on Sysinternals Suite on the left of that web page
and download the Sysinternals Suite zip file. Unzip to any folder and the tools are ready to go.
Commands used -
sc create sample type= kernel binPath= c:\dev\sample\x64\debug\sample.sys
sc start sample
sc stop sample
You can find your driver listed in registry here
HKLM\System\CurrentControlSet\Services\Sample
If there is any ERROR that shows failed to verify driver signature or anything similar, run this command and restart
bcdedit /set testsigning on
0 Comments