Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results


More Info on Driver Writing and Debugging

The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.

Check out The OSR Learning Library at:

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

SDK sample minispy

DWDriverDWDriver Member Posts: 6

I'm quite new to driver development and WinDbg but I'm an experienced Windows, Android and CUDA programmer. I just started with driver development two weeks ago and walked through samples like echo and others.

Right now I'm analyzing the "minispy" sample to get familar with miniFilter programming. After built, I copied .sys, .exe and .pdb to the target computer. I can start minispy.exe in a cmd, it works and I'm able to debug with WinDbg. So far everything works perfect!

However, if I start minispy.exe from my development machine via VS2017-Remote-Debugging (LAN, Domain), FilterConnectCommunicationPort(...) returns with an "E_ACCESSDENIED General access denied error."


  • I'm locally logged in at the target as (domain) Administrator. I logged in as MachineName\Administrator, but same error.
  • msvsmon.exe connects via the machineName\Administrator
  • VS2017 Remote-Debugging logs in with the machineName\Administrator credentials

I assume that I have not the right permission on the Traget if I'm using the remote debugger.
Any advise?



  • DWDriverDWDriver Member Posts: 6


    Could anyone give me an advise to solve my problem? In the web there are many postings regarding "E_ACCESSDENIED General access denied error.", however non of them addressed remote debugging.


  • Peter_Viscarola_(OSR)Peter_Viscarola_(OSR) Administrator Posts: 8,448

    (I would respectfully suggest you wait until the first week of January if you really need an answer. Many of us are on holiday, and not "working" by answering posts to the forum. MAYbe you'll get lucky and somebody will answer before then. Maybe not. It's not that we're not interested, it's that we're "away.")

    Peter Viscarola

  • DWDriverDWDriver Member Posts: 6

    Thank you for your kind reply and sorry it was not my intention to push anyone. I wish you a blessed Christmas and a Happy new Year.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Developing Minifilters 24 May 2021 Live, Online
Writing WDF Drivers 14 June 2021 Live, Online
Internals & Software Drivers 27 September 2021 Live, Online
Kernel Debugging TBD 2021 Live, Online