Can a MiniFilter Driver Intercept Network Share File Access Requests?

Jack QP Zhang/WSH/Wistron 0 Reputation points
2024-10-27T15:02:33+00:00
 I have tested and found that when intercepting IRP_MJ_CREATE requests in a minifilter driver, the request is not intercepted by the minifilter driver when executing the following command: `copy \\server\share\file.txt`. My requirement is to intercept this request and redirect the access path to a local file, but I found that the minifilter driver does not detect this access request. How can I intercept this request properly?
Windows for business | Windows Client for IT Pros | Devices and deployment | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jing Zhou 7,770 Reputation points Microsoft External Staff
    2024-10-29T00:57:40.85+00:00

    Hello,

     

    Thank you for posting in Q&A forum.

    To further troubleshoot this issue, please kindly try below steps:

    1.Double check if the MiniFilter driver is correctly set up to handle IRP_MJ_CREATE requests.

    2.Check if the MiniFilter driver has the correct altitude to intercept the requests.

    3.Configure a debugging and logging tool to trace the I/O request and see if the filter is being bypassed or not.

     

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

     

    Best regards,

    Jill Zhou

     


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

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.