Driver loader windows 10

WinDDK-7 вот , что нужно для создания драйвера

У нас Windows 10-64.

Задача разработать например драйвер устройства под Windows.
Устанавливаем Windows Device Driver Kit 7 :
Скачиваем с офф.сайта microsoft ISO, разархивируем , запустим KitSetup.exe

Так выглядят в Панель управления\Программы\Программы и компоненты

Установлен у меня в C:\WinDDK\7600.16385.1

В C:\WinDDK\7600.16385.1\src много примеров исходных кодов.
Примечание : если у вас уже установлен Win Driver Kit 10 , то придется удалить.

Фишка в том , что сборку надо запускать через запуск сначала командного файла (который устанавливает переменные среды) :
см. Пуск->Windows Driver

Открывается консоль, где и надо ввести build (в каталоге вашего проекта). Процесс сборки выглядит примерно так:

Для x64 входим через C:\Windows\System32\cmd.exe /k C:\WinDDK\7600.16385.1\bin\setenv.bat C:\WinDDK\7600.16385.1\ fre x32-64

Windows 10 — надо сначала отключить проверку цифровой подписи (у меня срабатывает при нажатой SHIFT + клик Перезагрузка)
Отключаем.

Далее просто пробуем написать простейший kernel драйвер

На самом деле в дальнейшем в этой ветке сайта мы будем заниматься UMDF драйверами, но для проверки первого драйвера подвернулся пример driver.sys (kernel драйвер, драйвер уровня ядра)

Компилируем простейший драйвер (sys — кернел драйвер)

Для варианта сборки x86 пробуем зарегистрировать драйвер

Для варианта сборки amd64 получаем

Теперь по другому пробуем проверить запущен ли все-таки драйвер через программу OSR Driver Loader:

Получается драйвер все-таки запускается несмотря на ругань по поводу сертификата.

Смотрим например еще так :

Osr driver loader — прекрасно и сама регистрирует / запускает / останавливает / удаляет драйвер. Только не забывайте перезагружаться.

Отладка

У нас на сайте см. отдельный раздел по отладке драйверов.

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.

Kernel-Mode Driver Loader v1.2

Kernel-Mode Driver Loader is a Windows OS utility useful for software developers and for beta testers to debug errors occured while loading or unloading a kernel-mode driver. This little tool can be sent to users that cannot load or unload a kernel-mode driver of other security software to find the error code
and the error message that is causing the issue.

For Windows XP, Vista, 7, 8, 10 (32\64-bit)

Load\Unload Kernel Drivers

This little tool can help in debugging errors occured while loading a driver in the system by displaying useful information about the ZwLoadDriverZwUnLoadDriver Windows API error code. This program is particularly useful for software developers and for beta testers.

Load Drivers

Simple tool useful to quickly load a kernel-mode driver in the system.

Unload Drivers

You can easily unload a previously loaded kernel-mode driver.

Easy to Use

Just select the driver file and driver name and click Load or Unload button.

Very Lightweight

The software application uses only a few MBs of memory, you will not even notice it.

No Spyware\Adware

The program is free from spyware, adware or other pests, nothing extra is installed.

Free to Use

This software is completely free to use for anyone, at home and at work.

Application Screenshots

Here there are some screenshots of the application.

Драйверы ⇒ Outbyte Driver Updater 2.1.1.60362

Outbyte Driver Updater — это интеллектуальный инструмент, который может указывать на устаревшие драйверы, искать самые свежие и устанавливать их вручную или автоматически. Кроме того, он также предоставляет подробную информацию об оборудовании.

Сканирует и обновляет ваши драйверы
Driver Updater просканирует ваш компьютер на наличие устаревших, поврежденных или отсутствующих драйверов и позволит вам легко обновить их до последних стабильных версий сразу или по одной. Это может решить проблемы с ПК, связанные с драйверами, и сбои в работе устройства, помогая обеспечить лучшую производительность.

Экономия времени и обеспечивание эффективности
Попытка найти нужный драйвер вручную требует времени и может привести к неправильной версии драйвера или даже к заражению вредоносным ПО, что приведет к еще большим проблемам. Driver Updater экономит ваше время и снижает эти риски, гарантируя, что вы получите правильные драйверы для вашего типа и модели устройства.

Улучшает стабильность и производительность ПК
Производители иногда включают улучшения в свои обновления драйверов, чтобы их оборудование работало еще лучше или быстрее. Driver Updater позволяет воспользоваться этими улучшениями, получая обновления драйверов сразу после их выпуска. Это помогает предотвратить сбои, связанные с драйверами, и обеспечить более быструю и бесперебойную работу вашего ПК.

Язык интерфейса: мультиязычный/английский (русского нет)
ОС: Windows 10, Windows 8/ 8.1, Windows 7

Скачать программу Outbyte Driver Updater 2.1.1.60362 (14,1 МБ):

Substitutes for OSR Driver Loader (windows kernel driver )

I build a kernel driver sample on VisualStudio and I attempt to deploy and debug it.

PC’s environment : windows10 64bit pro ,visualstudio2017, wdk 1803

I don’t have 2 PCs, so I want to deploy and debug on virtual machines for example VirtualBox.

I’m still learning windows kernel device driver following to a windows kernel driver programing tutorial’s youtube video

I attempt to download OSR Driver Loader , but error messages appears:

«The Lists are moving! Logins to this site are disabled. For details see this post in the OSR Devs Blog.»

I searching driver loader the site of the link destination,but I can’t find it.

Does substitutes for Driver Loader exist ? Please give a answer to the questions.

1 Answer 1

Right now, you can’t. We’re in the process of trying to determine what to do with these hideously old, legacy, utilities. We haven’t touched them in years and, to be frank, I’m not even sure we have the sources for some of these anymore. If we can find the sources, we’ll probably move the sources for the innocuous and useless utilities to GitHub so people can do whatever they want with them, which hopefully will not including mocking our command of writing applications, 20 years ago, using MFC and C++. Some utilities which are complex and disruptive (I’m thinking of my favorites DeviceTree and IrpTracker) we may just stop distributing entirely.

Like most of the utilities on OSRONLINE, OSR Driver Loader was nice when it was written, which was like 20 years ago. Now, it provides very close to zero value. IIRC, there is nothing you can do with Driver Loader that you can’t do today using the «SC» command.

You can though find some mirrors on the internet by googling the loader’s full filename in quotes «osrloaderv30.zip» . I found one here (or direct link) but I woudln’t recommend downloading it from unknown locations actually, up to you.

Not the answer you’re looking for? Browse other questions tagged virtualbox wdk or ask your own question.

Hot Network Questions

Subscribe to RSS

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2021.4.16.39093

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Читайте также:  Установка линукса вместо андроида
Оцените статью
Оцените новость / программу!
3.9 из 5, всего оценок — 12