Windows Driver Kit (wdk) For Windows 10

0 views
Skip to first unread message

Hilda Bagnoli

unread,
Aug 5, 2024, 6:58:44 AM8/5/24
to birpicaco
TheWindows Driver Kit (WDK) is used to develop, test, and deploy Windows Drivers.This topic contains information about versions of the Windows Driver Kit (WDK),Enterprise WDK (EWDK), and additional downloads for support purposes. To develop drivers,use the latest public versions of the Windows Driver Kit (WDK) and tools, available fordownload on Download the Windows Driver Kit (WDK).

To target Windows 8.1, Windows 8, and Windows 7, install an older WDK (Windows 11, version 21H2 and previous) and an older version of Visual Studio either on the same machine or on a separate machine. For links to older kits, see the table below.


Additionally, starting with Windows 11, version 22H2 release of the WDK and EWDK, WDF redistributable co-installers are no longer supported. To learn how to work around this change, see WDK Known Issues.


If your development targets systems that run Windows 10, version 1607 or Windows 10, version 1703, you should install Visual Studio 2015, and then also download and install the version of the Windows SDK for the targeted version of Windows 10, as identified in the following table.


If you have installed the WDK for Windows 10, version 1703 on a system that had the WDK for Windows 10, version 1607 installed, some files from the earlier version of the WDK might have been removed. To restore these files:


The Enterprise WDK (EWDK) is a standalone, self-contained, command-line environment forbuilding drivers and basic Win32 test applications. It includes theVisual Studio Build Tools, the SDK, and the WDK. This environmentdoesn't include all the features available in Visual Studio, such asthe integrated development environment (IDE).


Using the EWDK requires .NET Framework 4.7.2. For more information about which systems run this version of the framework, see .NET Framework system requirements. For links to download the .NET Framework, see .NET Framework system requirements.


To work with HAL Extensions, prepare your development system, running Windows 10, version 1709 or a later version of Windows 10. Also install the WDK or the EWDK, and then install the updated version of the Windows OEM HAL Extension Test Cert 2017 (TEST ONLY), available for download as a ZIP file: HAL_Extension_Test_Cert_2017.zip.


WinDbg is the latest version of WinDbg with more modern visuals, faster windows, a full-fledged scripting experience, built with the extensible debugger data model front and center. Formerly known as WinDbg Preview, it supports Windows 10 and Windows 11.


If you're debugging Windows XP, Windows Server 2003, Windows Vista, orWindows Server 2008 (or using one of these operating systems to runDebugging Tools for Windows), you need to use the Windows 7 release ofthe debugging tools. It's included in the SDK for Windows 7 and .NETFramework 4.0.


To install the Debugging Tools for Windows as a standalone component,start the SDK installer, and in the installation wizard, selectDebugging Tools for Windows, and clear all other components.


I'm trying to read from an USB HID device, I know how to do it in C# using DLLImport hid.dll, but I want to do it from C++, this way I don't have to declare all the structures, etc, and just include the headers files.


OK so I read somewhere that I have to upgrade the Windows SDK too, I had the Microsoft Windows SDK v6.0A, I downloaded and installed the windows SDK v7.0. But then looks like I have two SDK now? How I properly do the SDK upgrade in visual studio?


Open the crash dump file that it saved to C:\Windows\MEMORY.DMP in WinDbg (download it as part of the debugging tools for windows: Download the Windows Driver Kit (WDK) - Windows drivers Microsoft Learn ) and it will tell you which file it was that actually caused the BSOD, along with a few more details about the error. Once you know which file it was you can probably find a fix online


So like I said you need to examine the crash dump (which is basically a copy of everything that was held in memory at the time of the BSOD) in WinDbg to see which driver or system file it was that was actually executing when the blue screen was triggered.


oo actually that looks like it might be giving us some useful information. Its showing that the crash actually happened in the process NisSrv.exe which apparently belongs to Microsoft Security Essentials - do you have that installed? Some people seem to be saying that just uninstalling it and reinstalling from fresh resolves the problem. Others recommend downloading the latest update manually as per: How to manually download the latest definition updates for Microsoft Security Essentials - Microsoft Support


The screenshot below shows the minimal set of features you need to install to do signing: Windows IP over USB (required by SDK for UWP), Windows SDK Signing Tools for Desktop Apps (installs signtool.exe), and Windows SDK for UWP Managed Apps (installs certmgr.exe). You can install more if you're doing Windows development.


Go to -us/windows-hardware/drivers/download-the-wdk and download the latest WDK (not ADK, scroll down!). You don't need to install Visual Studio first even though it looks like a prerequisite. Install into the same location:


For security reasons, an e-mail has been sent to you acknowledging your subscription. Please remember that this subscription will not result in you receiving any e-mail from us about anything other than the restocking of this item.

3a8082e126
Reply all
Reply to author
Forward
0 new messages