question

RJMcDown-5594 avatar image
0 Votes"
RJMcDown-5594 asked DimasPereiradeSouzaJunior-4321 published

Visual Studio Pro 2019 missing filesystem mini-filter template

I have been working on developing various drivers for the last 6 months and now I am looking to implement a filesystem mini-filter driver. However, I am missing the driver template ("Filter Driver: Filesystem Mini-filter") within Visual Studio 2019. I do have the WDK installed and again have been developing drivers for several months successfully, but I have been using the "Empty WDM Driver" template up to this point.

I only found a couple of references to this issue and only one that had a proclaimed solution, which was to reinstall the WDK and then to try and reinstall the Visual Studio "Windows Driver Kit" extension (https://developercommunity.visualstudio.com/t/no-template-for-filesystem-minifilter-driver-proje/1549562). I have tried both of these things multiple times to no avail. I do not receive any errors or indication there is an issue when installing these components or when developing drivers from templates that are available. It simply seems the template is not available. I will provide the specific version information to my setup below in hopes someone is able to help me resolve this issue or clarify if I am doing something incorrectly. Thanks!

OS: Windows 11 Pro - 21H2 - 22000.675 - Windows Feature Experience Pack 1000.22000.675.0
Processor: 12th Gen Intel(R) Core(TM) i9-12900KF
Visual Studio: Visual Studio Professional 2019 - 16.11.14
WDK: Windows Driver Kit - Windows 10.0.22000.1
Debugging Tools for Windows: 10.0.21381.1000



windows-hardware-wdk
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I too have been struggling with the same issue on Windows 10. The only way I can get it to work is by doing the following.

  1. Uninstall the Windows Driver Kit extension in Visual Studio 2019 (I had to launch Visual Studio 2019 as admin to do this). Can be done under Extensions -> Manage Extensions -> Installed.

  2. Uninstall any WDK instances from add remove programs.

  3. Install WDK for Windows 10, version 2004 (https://docs.microsoft.com/en-us/windows-hardware/drivers/other-wdk-downloads). Install the Visual Studio extension when prompted.

  4. Install WDK for Windows 11. Do not install the Visual Studio extension when prompted.

  5. Launch Visual Studio and the template should be there.


3 Votes 3 ·
RJMcDown-5594 avatar image RJMcDown-5594 MichaelJurado-9781 ·

Thanks @MichaelJurado-9781! That worked!

0 Votes 0 ·

Thanks!

0 Votes 0 ·

0 Answers