How to install windows sample drivers (blue screen occurs)?

344 views Asked by At

I created a sample project with Visual Studio (Filter Driver: Filesystem Mini-Filter) and builded it for x64 platform.

Following File System Filter Driver Tutorial I found that I have to use sc command to install it (run as administrator):

sc create FsFilter1 type= filesys binPath= "C:\Users\user\Documents\visual studio 2015\Projects\FsFilter1\Debug\FsFilter1.sys"
sc start FsFilter1

But I still get a blue screen with "system_thread_exception_not_handled", how to check why is that, and how could I resolve it to work poperly?

Is that a proper way of installing windows driver? or I have to create virtual machine for testing?

I thougth that it is a problem with singing of the driver, but when building with VS - it says:

Signability test complete. No errors no waringns everything works fine...

So any tips or responses will be greatly appreciated how to start with windows driver development the right way.

I could not imagine that it would be that hard to follow windows documetatnion.

My Environment:

  • Windows 10 (x64)
  • Wdk 10
  • Visual Studio 2015
  • Set testing on (Bcdedit.exe -set TESTSIGNING ON)
0

There are 0 answers