Missing WDK / SDK files.

George Gilman 1 Reputation point
2023-02-27T03:17:39.3233333+00:00

I need files such as ntddk.h and ntoskrnl.lib to build an executable for a client. From what I have read on the Internet, these files should be installed when I install the Windows SDK and WDK at location c:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\km. After the installations, I have a dir :\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0, but no dir km under that. Any clues as to what I may be doing wrong or how to get these files?

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Castorix31 90,686 Reputation points
    2023-02-27T11:41:08.75+00:00

    Those files are in the WDK : https://learn.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk

    (but usually not needed if you don't develop a Driver...)

    0 comments No comments

  2. Limitless Technology 44,766 Reputation points
    2023-02-27T12:40:28.7266667+00:00

    Hello there,

    The WDK now supports Visual Studio 2022. All editions are supported. The WDK no longer supports Visual Studio 2019.

    This page contains installation instructions for Insider Preview (pre-release) versions of the Windows Driver Kit (WDK). The download links for the latest pre-release version of the WDK and the EWDK are on https://www.microsoft.com/software-download/windowsinsiderpreviewWDK.

    Installing preview versions of the Windows Driver Kit (WDK) https://learn.microsoft.com/en-us/windows-hardware/drivers/installing-preview-versions-wdk

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.