See What Other Users Have Checked Out in TFS

There are lots of good reasons why you might want to identify which files are checked out by your fellow TFS users. Maybe you’re going to merge a branch and want to make sure everybody’s changes get included. Or perhaps an intern has gone back to school. Regardless of the reason, and whether you’re looking for all users or a specific user, it’s very easy to do!

If you’re a point-and-clickster, and you like working within the friendly confines of the Visual Studio IDE, you’ll be happy to know that there’s a menu option. Note this menu option is installed with the Visual Studio Team Foundation Server Power Tools, available from the Visual Studio Gallery.

  1. File > Source Control > Find in Source Control > Status…
  2. Find

But don’t fret if you’re a command-line purist, either. Microsoft’s got you covered with the tf status command. Here are some sample usages:

c:\tfs\tf status /user:*
c:\tfs\tf status /user:dave
c:\tfs\tf status c:\SomeOtherDir /recursive
Advertisements

6 thoughts on “See What Other Users Have Checked Out in TFS”

  1. Hello – thanks for the helpful blog post. I’ve never used TFS Power Tools before – just tried to install it. Looked like the install was successful, but I’m not seeing the new options in the VS menu. I’m using VS 2013 and installed Power Tools for 2013 as well. All I see under File -> Source Control are : Find, and Advanced.

    Any idea as to where to fine the new tools? Thanks.

    1. look under File->Source Control->Find menu

      To find files in source control, open the File->Source Control->Find menu. This menu lists the two new types of find operations that may be performed in source control:

      · Status – The find files by status feature enables you to locate files in source control based on their check-out status. Using this feature, you can specify a path and a user for which a status search should be performed.

      · Wildcard – The find files by wildcard feature enables you to locate files that match a given wildcard string.

      On the results screen, the items matching the supplied criteria are returned in a table that lists the file/folder name, the user that has checked out the file, the workspace containing the check-out, pending changes, and the path to the file.

  2. I installed tfs 2013, sql server 2012. I want to know how to trace the cheched in files.. deleted files ..all operations done in tfs 2013 from sql server 2012.. where and how to find this details. Also in tbi.command table how to identify the details..

  3. Does PowerTools only display the “source Code” files that are checked out, or will it also display binary files? We store binary files in TFS too.

  4. I’m using Visual Studio 2015. When I search for checked out files, the results always show the user name as a guid. Does anyone know how to resolve this to a name. The search dialogue will only filter on user if I use the guid as well.

Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s