 <p>There's a <a href="http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/remove-zombie-locks.py" rel="nofollow noreferrer">Python</a> script (referenced here: <a href="http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&amp;dsMessageId=2369399" rel="nofollow noreferrer">http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&amp;dsMessageId=2369399</a>). I'd either use that, or translate it to .NET if you needed to.</p>