Windows Driver Kit (WDK) is a software toolset from Microsoft that enables the development of device drivers for the Microsoft Windows platform. It includes documentation, code samples, build environments, headers, libraries, and tools for driver developers. A complete toolset for driver development also requires a compiler (Visual Studio), the Windows SDK, and the Windows Hardware Lab Kit (HLK).
Overview
The WDK provides the necessary components to create, test, debug, and deploy drivers for Windows operating systems. It is distributed by Microsoft as proprietary commercial software and is available in several forms:
- Windows Driver Kit (WDK) – The primary MSI-based installation that integrates with Microsoft Visual Studio and includes headers, libraries, documentation, and driver development/testing tools.
- Enterprise Windows Driver Kit (EWDK) – A standalone, self-contained command-line environment that includes build tools, headers, and libraries needed to build Windows drivers without installing Visual Studio. Commonly used in automated build systems or isolated toolchains.
- WDK NuGet Packages – Package-based distributions of WDK components consumable through NuGet in Visual Studio, allowing per-project referencing of driver development headers and libraries without installing the full WDK. Also usable in CI/CD environments.
History
The WDK was originally known as the Device Development Kit (DDK) for Windows 3.x and Windows 9x, supporting the development of VxD (Virtual Device Driver) drivers. Later versions for Windows NT and Windows 98SE/ME were called Driver Development Kit (DDK) and supported Windows Driver Model (WDM) development.
The kit received its current name, Windows Driver Kit, when Microsoft released Windows Vista. At that time, previously separate tools were incorporated, including the Installable File System Kit (IFS Kit) and Driver Test Manager (DTM), though DTM was later renamed and removed from the WDK.
Early DDK versions for Windows 2000 and earlier did not include a compiler; developers had to install Visual C++ separately. Starting with the Windows XP DDK, a command-line compiler was included. Microsoft stated this was to improve driver quality by ensuring drivers were compiled with the same compiler version used to compile Windows itself. The WDK 8.x and later series returned to requiring a matched version of Visual Studio, but with deeper integration allowing editing, building, and debugging directly from within Visual Studio.
Distribution Forms
| Form | Description |
|---|---|
| WDK | Full MSI-based installation integrated with Visual Studio |
| EWDK | Standalone ISO-based environment with build tools, SDK, and WDK |
| NuGet Packages | Package-based distribution for per-project use and CI/CD |
Supported Driver Models
The WDK supports development for multiple driver models depending on the version:
- VxD – Virtual Device Drivers (Windows 3.x, 9x)
- NTDM – NT Driver Model (Windows NT)
- WDM – Windows Driver Model (Windows 2000 and later)
- WDF – Windows Driver Frameworks (including KMDF and UMDF)
- Universal Windows Drivers – For Windows 10 and later
Latest Release
As of November 2024, the stable release is version 10.1.26100.2454. The WDK is available for Windows 7 and later, and the latest release can build drivers for Windows 10, Windows Server 2016, and later client and server versions. Starting with WDK version 10.0.26100.1, native support for ARM64 development, testing, and deployment is included.
See Also
- Windows Driver Frameworks (WDF)
- Windows Driver Model (WDM)
- Windows Hardware Lab Kit (HLK)
- Windows SDK
- Visual Studio
References
- Microsoft Learn: Download the Windows Driver Kit (WDK)
- Wikipedia: Windows Driver Kit
- Enrico Perla; Massimiliano Oldani (2010). A Guide to Kernel Exploitation: Attacking the Core. Elsevier Science. p. 277. ISBN 9781597494878.
- BHATT, PRAMOD CHANDRA P. (2019). An Introduction to Operating Systems: Concepts and Practice. PHI Learning. p. 529. ISBN 9789387472884.