Windows tools and drivers

Download the Windows Driver Kit (WDK)

The WDK is used to develop, test, and deploy Windows drivers.

Runtime requirements

You can run the Windows 10, version 2004 WDK on Windows 7 and later, and use it to develop drivers for these operating systems:

Client OS Server OS
Windows 10 Windows Server 2019, Windows Server 2016
Windows 8.1 Windows Server 2012 R2
Windows 8 Windows Server 2012
Windows 7 Windows Server 2008 R2 SP1

WDK for Windows 10, version 2004

Step 1: Install Visual Studio 2019

The WDK requires Visual Studio. For more information about system requirements for Visual Studio, see Visual Studio 2019 System Requirements.

The following editions of Visual Studio 2019 support driver development for this release:

When you install Visual Studio 2019, select the Desktop development with C++ workload. The Windows 10 Software Development Kit (SDK) is automatically included, and is displayed in the right-hand Summary pane. Note that the version of the SDK that is compatible with the WDK for Windows 10, version 2004 may not be the default SDK. To select the correct SDK:

In Visual Studio Installer, on the Individual components tab, search for Windows 10 SDK (10.0.19041.0), select this version and continue with install. Note that Visual Studio will automatically install Windows 10 SDK (10.0.19041.1) on your machine.

If you already have Visual Studio 2019 installed, you can install the Windows 10 SDK (10.0.19041.1) by using the Modify button in Visual Studio install.

WDK has Spectre mitigation enabled by default but requires spectre mitigated libraries to be installed with Visual Studio for each architecture you are developing for. Additionally, developing drivers for ARM/ARM64 require the build tools for these architectures to also be installed with Visual Studio. To locate these items you will need to know the latest version of MSVC installed on your system.

To find the latest version of MSVC installed on your system, in Visual Studio Installer go to workload page, on the right pane under installation details, expand Desktop development with C++ and locate the MSVC v142 — VS 2019 C++ x64/x86 build tools (V14.xx) — note where xx should be the highest version available.

With this information (v14.xx), go to Individual components and search for v14.xx. This will return the tool sets for all architectures, including Spectre mitigated libs. Select the driver architecture you are developing for.

For example, searching for v14.25 returns the following:

Step 1.5 Install Refreshed Windows SDK 10.0.19041.685 for Windows 10, version 2004

This SDK is strongly recommended and will eventually be made available through Visual Studio

Step 2: Install Refreshed WDK for Windows 10, version 2004

The WDK Visual Studio extension is included in the default WDK installation.

If you can’t find driver project templates in Visual Studio, the WDK Visual Studio extension didn’t install properly. To resolve this, run the WDK.vsix file from this location: C:\Program Files (x86)\Windows Kits\10\Vsix\VS2019\WDK.vsix.

Enterprise WDK (EWDK) for Windows 10, version 2004

The EWDK is a standalone, self-contained command-line environment for building drivers. It includes the Visual Studio Build Tools, the SDK, and the WDK. The latest public version of the EWDK contains Visual Studio 2019 Build Tools 16.7.0 and MSVC toolset v14.23. To get started, mount the ISO and run LaunchBuildEnv.

The EWDK also requires the .NET Framework version 4.7.2. For more information about other requirements for the .NET Framework, see .NET Framework system requirements.

EWDK with Visual Studio Build Tools

You can use the Visual Studio interface with the build tools provided in the EWDK.

  1. Mount the EWDK ISO.
  2. Run LaunchBuildEnv.cmd .
  3. In the environment created in step 2, type SetupVSEnv, and then press Enter.
  4. Launch devenv.exe from the same environment, using the full file path. Example: «C:\Program Files (x86)\Microsoft Visual Studio\2019\\%Community|Professional|Enterprise%\Common7\IDE\devenv.exe»

Note that the Visual Studio major version should match with the version in the EWDK. For example, Visual Studio 2019 works with the EWDK that contain VS16.X build tools.

Driver samples for Windows 10

To download the driver samples, do one of the following:

  • Go to the driver samples page on GitHub, click Clone or download, and then click Download ZIP.
  • Download the GitHub Extension for Visual Studio, and then connect to the GitHub repositories.
  • Browse the driver samples on the Microsoft Samples portal.

Getting Started with Windows Drivers

Starting at some point after Windows 10, version 2004, drivers that run on Windows will be classified as either Windows Drivers or Windows Desktop Drivers.

Windows Drivers will run on all Window 10 variants, including Windows 10X and Windows 10 Desktop editions. Windows Desktop Drivers will only run on Windows 10 Desktop editions.

The Windows Driver classification will extend and replace the current Universal Driver classification.

This page provides a preview of the upcoming requirements for Windows Drivers.

The distinction between Windows Drivers and Windows Desktop Drivers does not affect any driver being submitted and certified for Windows 10 Version 2004. Changes in certification and submission will happen at a later date.

Windows Drivers Requirements

When Windows Drivers become a certification option, the following requirements will apply:

  • Compliant with DCH Design Principles.
  • Follow the principles of Driver Package Isolation.
  • Follow API Layering Requirements.
  • Certified with Windows Hardware Compatibility Program Certification Process using the Hardware Lab Kit. Note that the Windows Hardware Compatibility Program Certification Process requirements apply to both KMDF and UMDF drivers.

Windows Drivers vs. Windows Desktop Drivers

The following table summarizes the distinctions above:

Feature Windows Drivers Windows Desktop Drivers
Run on Windows 10 Desktop Yes Yes
Run on Windows 10X Yes No
Must be certified with WHCP Yes No
WDK & HLK are primary vehicles for developing and certifying drivers Yes Yes
Adhere to stricter reliability and serviceability requirements (e.g. driver package isolation) Yes No

While it won’t be required for a driver running only on Windows 10 Desktop to meet the additional requirements for a Windows Driver, doing so will enhance driver serviceability and reliability, as well as preparing the driver for possible future certification on Windows 10X.

DriverPack бесплатно установит драйверы и решит проблемы с любыми устройствами

DriverPack — самый удобный и быстрый способ настроить компьютер

DriverPack — самый удобный и быстрый способ настроить компьютер

Наши партнеры

Opera Software — глобальная компания-разработчик браузеров и программного обеспечения для работы в интернете.

Насчитывает более чем 20-летнюю историю. Opera Software участвует в развитии веб-стандартов в рамках проекта W3C. Продуктами Opera пользуются более 350 млн человек во всем мире.

Штаб-квартира расположена в столице Норвегии — Осло.

Яндекс — глобальная компания-разработчик одноименной поисковой системы и популярных интернет-сервисов.

В России, откуда Яндекс родом, его поисковая доля составляет 56,4% (Яндекс.Радар, март 2018). Компания одна из немногих, кто успешно выдерживает конкуренцию с поисковым гигантом Google.

Штаб-квартира расположена в столице России — Москве.

Avast Software — глобальная компания-разработчик программного обеспечения в области информационной безопасности.

Выпускает самый популярный в мире бесплатный антивирус. Каждый месяц программы от Avast предотвращают 1.5 млрд атак на компьютеры и сети.

Штаб-квартира расположена в столице Чехии — Праге.

Из маленькой программы, написанной на чистом энтузиазме 8 лет назад, мы превратились в компанию, которая помогла настроить компьютеры более чем 40 миллионам людей по всему миру!

За эти 8 лет работы программа стала невероятно быстрее и умнее. Сегодня, DriverPack это самая большая в мире база уникальных драйверов, которая расположена на сверхскоростных серверах по всему миру. Для того, чтобы установка драйверов всегда проходила не только быстро, но и максимально качественно, мы используем технологии машинного обучения, что делает наш алгоритм подбора еще лучше и точнее. При всем этом, нам удалось оставить программу абсолютно бесплатной, чтобы каждый желающий мог ей воспользоваться.

Я и моя команда гордимся нашим продуктом и надеемся, что он станет вашим надежным помощником, который сможет быстро настроить любой компьютер. Мы тратим все наше время, чтобы экономить ваше!

Driver Development Tools

Purpose

The Windows Driver Kit (WDK) provides a set of tools that you can use to develop, analyze, build, install, and test your driver. The WDK includes powerful verification tools that are designed to help you detect, analyze, and correct errors in driver code during the development process. Many of these tools can be used very early in the development process where they are most critical and can save you the most time and effort.

Overview

The Windows Driver Kit (WDK) is fully integrated with Microsoft Visual StudioВ 2015. The WDK uses the same compiler and build tools that you use to build Visual Studio projects. The code analysis and verification tools can now be easily configured and launched from the Visual Studio development environment, so that you can find and fix problems in your driver source early in the development cycle.

The WDK provides a sophisticated driver test framework and a set of device fundamental tests that you can use to automatically build, deploy, and test your driver on remote test systems. The WDK provides the tools to make testing and debugging drivers more convenient and effective than before.

Driver Development Tools Documentation

This section describes the tools and techniques that can help you during development:

Resources

Universal Windows drivers allow developers to create a single driver that runs across multiple different device types, from embedded systems to tablets and desktop PCs. Hardware developers can use their existing components and device drivers across different form factors.

You can convert projects and solutions that you created with WDK 8 or Windows Driver Kit (WDK) 8.1 to work with Windows Driver Kit (WDK) 10 and Visual Studio 2015. Before you open the projects or solutions, run the ProjectUpgradeTool. The ProjectUpgradeTool converts the projects and solutions so that they can be built using WDK for Windows 10.

You can use the ApiValidator.exe tool to verify that the APIs that your driver calls are valid for a Universal Windows driver. The tool returns an error if your driver calls an API that is outside the set of valid APIs for Universal Windows drivers. This tool is part of the WDK for Windows 10.

More information and tips for driver developers about using the WDK and the Visual Studio build environment.

For specific information about building drivers, and using the verification tools and tests in the Visual Studio development environment.

Hardware drivers category page Microsoft Download Center

Microsoft 365

Premium Office apps, extra cloud storage, advanced security, and more—all in one convenient subscription

What will you do?

Office 365 unlocks the potential of your device, and brings out the best in you

Surface Pro

The most versatile laptop

Microsoft® ODBC Driver 13.1 for SQL Server® — Windows, Linux, & macOS

The Microsoft ODBC Driver for SQL Server provides native connectivity from Windows, Linux, & macOS to Microsoft SQL Server and Microsoft Azure SQL Database.

Surface Pro 4 Drivers and Firmware

All current drivers and firmware for the Surface Pro 4; including optional WinTab drivers

Surface Pro 3

All current software, firmware, and drivers for the Surface Pro 3; including optional WinTab drivers

Surface Pro 7 Drivers and Firmware

All current drivers and firmware for the Surface Pro 7

Microsoft® OLE DB Driver 18 for SQL Server®

This page is no longer maintained. Please read the details below.

Surface Dock 2 Firmware and Drivers

All current software, firmware, and drivers for the Surface Dock 2

Surface Book 2 Drivers and Firmware

All current drivers and firmware for the Surface Book 2

Microsoft® ODBC Driver 17 for SQL Server® — Windows, Linux, & macOS

This page is no longer maintained. Please read the details below.

Surface Pro 6 Drivers and Firmware

All current drivers and firmware for the Surface Pro 6

Surface Book Drivers and Firmware

All current drivers and firmware for the Surface Book; including optional WinTab drivers

Читайте также:  Uefi change windows key
Оцените статью