Git Product home page Git Product logo

windows-kernel-driver-development's Introduction

Windows-Kernel-Driver-Development

Hi Folks, I created this repository 3 years ago althrough I haven't able to continue contribute. I aim to create a documentation on how to develop the kernel driver.

Enviroment Setup:

Host Machine Virtual Machine
Visual Studio Community 2022 Preview DebugView
Windows Software Development Kit (SDK) OSR Driver Loader
Windows Driver Kit (WDK) VirtualKD-Redux Target Platform
VirtualKD-Redux -
Windbg -

Requirements actions to be done for the Host Machine :

  • Windows 10 Pro x64 22H2 19045.3803
  • VirtualKD-Redux must be installed, İf wanted to use the latest version of VMware
  • Windbg must be installed for debugging in Virtual Machine on the host machine
  • .sympath C:\Symbols;srvC:\Symbolshttps://msdl.microsoft.com/download/symbols

image

Requirements actions to be done for the Virtual Machine :

  • Windows 10 Home x64 22H2 19045.2965
  • bcdedit /set nointegritychecks on; bcdedit /set testsigning on
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter\ DEFAULT :0xF

image

Create Project

Before creating a project that we need to know what is the difference between WDM and KMDF. While Windows Driver Model (WDM) interacts directly with the operating system, Windows Driver Framework (WDF) focuses on how to handle most of the interactions with the system.

After creating a project and successfully building it, there is a need to change some of the properties.

  • Set project architecture
  • In the C/C++ section, change the warning level value to Level 1
  • In the Linker section, change the Treat Linker Warning As Errors to No
  • In the Driver Settings, change the Target Platform to Desktop and Target OS Version to according to your current operating system
  • If after creating the solution, If you encounter the error "Device driver does not install on any devices, use primitive driver if this is intended." that is necessary to remove the Manufacturer value in the *.inf file.

windows-kernel-driver-development's People

Contributors

captanmoss avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.