How do I break into WinDbg when RC or NTSTATUS equals STATUS_ACCESS_DENIED?

I am trying to debug a UDFS driver’s issue when trying to rename a file created during a Git clone operation. It gives me a permission denied error when renaming a pack file.

I ended up setting breakpoints to all instances of STATUS_ACCESS_DENIED being set and found the one that was causing the issue.

1 Like