We know how to undo files checkout by other users:
tf undo $/MyProject/packages/EntityFramework.5.0.0/tools/migrate.exe /workspace:”MyWorkspace;MyName” /server:http://TestTFS:8080/tfs/Project
a. Go to File -> Source Control
b. Find -> Find by Status
c. Provide Path to Search for , Select Radio button: Display All Checked out
Select “Display all checked out” when
1. Orphaned files that are removed and still existing in the workspace
2. Not sure if workspace is active used by user
Select “Display files Checked out to:
1. When you know files are active and accessed by user.
d. Click on Find Button
It gives the list of all the users, who Checkout the files.
e. Select appropriate files and Click Undo