How to remove locks done by a member which is deleted from TFS

Vikrant picture Vikrant · Mar 18, 2013 · Viewed 7.3k times · Source

We are using TFS 2010. A guy has left the organization and his member user is deleted from TFS team members. Now there are files that are locked on him. Using TFS Team Explorer 2010 GUI, we can right-click on a team member and undo any file that's checked out and locked. But how to do the same for the team member which is now no more a part of TFS i.e. how to undo pending changes and locks on files done by a TFS member which is now deleted from the TFS team members? If anyone has faced a similar problem, please help, because of this reason we are not able to merge from one branch to the other.

I have also tried tf lock /lock:none /workspace:< workspace name >; < username > /recursive $/

I am currently part of the TFS Project Administrators group but still can not use this command. I get TF30063 error. Any help or pointer is appreciated.

Answer

rocky picture rocky · Mar 18, 2013

Use TFS Sidekicks - Status sidekick. Find the file you want to unlock, click on that specific file and then click Undo.