How to remove TFS lock of other user


Problem:

Window corrupt and need to be format and install with new window with different PC name. After format notice that in Team Foundation Server (TFS) certain file is lock from editing by old PC name.

Solution:

From within Visual Studio 2012(and 2013):

File -> Source Control -> Advanced -> Workspaces...

In the dialog that came up, I checked "Show remote workspaces" and the locked workspace came up in the window. I then selected it and clicked "Remove".

The locked file is release.

0 comments: