Windows 11 Driver Development Kit: Everything you Need to Know

It all starts with getting Visual Studio

Reading time icon 3 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Everything you need to know about the Windows 11 Driver Development Kit
A message from our partner

To fix various driver issues on your PC, you will need a dedicated tool to find the freshest and the original drivers. You can use PC HelpSoft Driver Updater to do it in 3 easy steps:

  • Download PC HelpSoft Driver Updater and install it on your PC
  • Start the scanning process to search for outdated or missing drivers that cause problems
  • Right-click on Update Now to allow the update process.
Download now PC HelpSoft has been downloaded by 0 readers this month

Diving into driver development on Windows 11 can seem daunting, but with the right tools and setup, it becomes a smooth journey. Whether you’re a seasoned developer or just starting, getting the Windows Driver Development Kit (WDK) up and running is essential. Let’s walk through the steps to master this setup.

How do I Download and Install the WDK for Windows 11?

1. Download the Windows Driver Kit (WDK) using Visual Studio

  1. Go to the Visual Studio download page.
  2. Choose the desired version (Community, Professional, or Enterprise).Download and install it by following the on-screen instructions.
  3. During installation, select the Desktop development with C++ workload.
  4. Under Individual Components, add:
    • MSVC v143 – VS 2022 C++ ARM64/ARM64EC Spectre-mitigated libs (Latest)
    • MSVC v143 – VS 2022 C++ x64/x86 Spectre-mitigated libs (Latest)
    • C++ ATL for latest v143 build tools with Spectre Mitigations (ARM64/ARM64EC)
    • C++ ATL for latest v143 build tools with Spectre Mitigations (x86 & x64)
    • C++ MFC for latest v143 build tools with Spectre Mitigations (ARM64/ARM64EC)
    • C++ MFC for latest v143 build tools with Spectre Mitigations (x86 & x64)
  5. Now, visit the Windows SDK download page.
  6. Download and install the Windows SDK version 10.0.26100.1.
  7. Go to the WDK download page.
  8. Download WDK version 10.0.26100.1.
  9. Run the installer and follow the instructions.

Note: The WDK installs a Visual Studio extension by default. If you don’t see driver project templates in Visual Studio, run the WDK.vsix file located at C:\Program Files (x86)\Windows Kits\10\Vsix\VS2022\10.0.26100.1\WDK.vsix.

By following these steps, you will have the Windows Driver Kit set up and ready for developing drivers on Windows 11.

2. Using the Enterprise WDK (EWDK)

  1. Visit the EWDK download page.
  2. Download the latest EWDK version 10.0.26100.1. The EWDK is a standalone, command-line environment that includes Visual Studio Build Tools, the SDK, and the WDK.
  3. Right-click the downloaded ISO file and select Mount. This will make the contents of the ISO accessible as a virtual drive.
  4. Open a Command Prompt with administrative privileges.
  5. Navigate to the mounted ISO drive.
  6. Run LaunchBuildEnv.cmd. This command sets up the build environment with all the required tools and paths.
  7. In the Command Prompt, type SetupVSEnv and press Enter.
  8. Launch Visual Studio by typing the full path to devenv.exe. For example: "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\devenv.exe"

With the EWDK, you can develop drivers using a command-line interface, which can be integrated into automated build systems.

3. Using NuGet Packages for the WDK

  1. Follow the steps mentioned in Solution 1 to install Visual Studio 2022.
  2. Open Visual Studio and create a new driver project.
  3. Go to Tools > NuGet Package Manager > Manage NuGet Packages for Solution….
  4. Search for Microsoft.Windows.Wdk and install the package.
  5. Using NuGet simplifies the management of WDK dependencies and keeps your development environment up to date.

By using these steps, you ensure that your development environment is well-equipped for driver development in Windows 11 using the Windows Driver Kit.

Remember to keep your tools updated and regularly check for new versions of the WDK to ensure compatibility and access to the latest features.

More about the topics: drivers, Programming tools and tips, Windows 11

User forum

0 messages