none
WDK10 + Visual Studio 2015 + WDK Sample = Failed to run compiled driver on Win8.1 RRS feed

  • Question

  • Hello, Everyone.

    My OS is Win8.1

    I compiled the following driver Windows-driver-samples-master\network\trans\inspect in MS Visual Studio 2015 Enterprise using default project settings:

    Platform Toolset = WindowsKernelModeDriver10.0

    Target OS Version = Windows10

    Target Platform = Universal

    and s.o.

    I installed compiled driver via inspect.inf and tried to run via "net start inspect" from "cmd" ran as administrator but failed. 

    I have the following error: 

    "System error 2 has occured.

    The system cannot find the file specified."

    Can any one advice me how to build sample driver to run one on win7+?

    Many thanks in advance.


    • Edited by kds2006 Thursday, April 14, 2016 8:37 AM addition
    Thursday, April 14, 2016 8:31 AM

All replies

  • was the driver binary in the same directory as the INF file? does the INF specify a different file location other than the default?

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Thursday, April 14, 2016 5:40 PM