How to fix "The system cannot find the file specified. (Exception from HRESULT: 0x800700002)

Bob Ross 0 Reputation points
2023-09-05T03:58:49.6333333+00:00

When trying to create a new KMDF kernel project, I get that error. I can create other types of projects just fine. I've tried repairing Visual Studio, re-installing SDK and WDK. This is happening on my Laptop and PC.

I'm using Current Windows 11 SDK/WDK

Developer technologies Visual Studio Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
    2023-09-05T09:07:34.1966667+00:00

    Hello @Bob Ross,

    Welcome to Microsoft Q&A forum.

    Since repairing VS doesn’t work, I may suggest trying to reinstall VS. Firstly uninstall SDK and WDK, then from VS Installer, uninstall VS and then from Control Panel, uninstall VS Installer. Download a new VS bootstrapper file from here: Downloads, put it into a clean folder, run to reinstall VS(follow this guide to choose workloads and components). After that reinstall the latest SDK and WDK from here: Download SDK and WDK. If this doesn't work, please try to reboot your machine and check again.

    If you installed any other extensions or modified something on your machine, please let us know.

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


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.