3

My Scenario is this that I am unable to checkout 2 files which are locked by another user but that user is deleted. I have tried every possible method on internet to checkout those files but no method worked. I have also checked in the TFS DB pending changes but I did not find any entry for those files.

Can you please help me resolving this.

  • 1
    Possible duplicate of [How to unlock a file from someone else in Team Foundation Server](https://stackoverflow.com/questions/3451637/how-to-unlock-a-file-from-someone-else-in-team-foundation-server) – stuartd Jul 28 '17 at 13:07
  • @Siddharth Rathore Also check [this thread](https://stackoverflow.com/questions/45347871/eclipse-tfs-check-out-error-cant-show-file) to force unlock the files. – Andy Li-MSFT Aug 01 '17 at 10:14
  • @Siddharth Rathore Have you resolved your issue with the solution mentioned by nschonni? – Andy Li-MSFT Aug 03 '17 at 07:06

1 Answers1

2

To remove all the locks from a deleted user, the easiest way is to delete their workspace. Even when a user is deleted, their workspaces remain.

To delete the workspace you can do:

nschonni
  • 4,069
  • 1
  • 28
  • 37