Test Attachment Cleaner for Visual Studio Ultimate 2010 & Test Professional 2010


Test Attachment Cleaner can be used to: a. Determine which set of diagnostic captures (run as part of manual/automated test runs) are taking up how much space AND b. Reclaim the space for test runs which are no longer relevant from business perspective

(4) Review
Visual Studio
Download (5,468)
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Reviews (4)
Q and A (8)
Sign in to write a review
Sort by:

by Juan Zamudio | September 20 2012

This is a pain to use, our TFS has like 100 projects, I was running this tool for the 10th project when I wanted to punch the monitor, this should be per collection not per project.

by Mattias Sköld | May 05 2012

Does the job, But would be even better if I could run it to collect the size for each team project, as it's now I need to run it for every teamproject, having 200+ team projects it's quite hard to determin witch projects to clean.

by Anna Russo | November 16 2011

This tool is definitely a must have for any TFS admin needing to clean up old test attachments.

by perez6558 | January 04 2011

When VStudio 2010 came out in beta, my database grew way too big because of a beta bug in TFS. The team let me use this tool after putting in an issue in Connect. The tool wiped out the extra data with ease and quickly. This tool is definately needed for any TFS admin.

Sign in to start a discussion

  • File extensions of the Test files
    2 Posts | Last post December 07, 2015
    • What is the file extension for this type of test file "TMITestRunReverseDeploymentFiles"?
      What is the file extension for code coverage files and is there any reason to keep these files around long term?
    • Did you ever get anywhere with this BRThomas?
  • Schema and documentation
    2 Posts | Last post February 05, 2014
    • Is the schema file for the settingfile file available?  And just as with the cleanup settings in Team Build, I'd like to be able to filter on build status, use the x latest builds option of a specific status and to exclude any test data associated to a Retain Indefinitely build.
      Is this possible with the current tool?
    • I would like to know the same things and specifically to exclude locked (retain indefinitely) builds.
  • What TFS permissions are required to run?
    1 Posts | Last post October 07, 2013
    • Does one have to be a project collection or team project admin? Since normal users can delete attachments from a work item, I'd imagine it doesn't require admin rights.
  • Error TF51005
    4 Posts | Last post August 28, 2012
    • If I run the clean up with a linkedbugs element I get the error TF51005 "query is using a field which does not exists <<state>>". I'm using the german templates where it has another name so I guess the cleaner is only working with the english templates 100%.
    • Hello Torsten, 
          I'am using a french version of TFS and we are facing the same issue. Have you found a workaround ?
    • Hello, 
         I found a bug in the tool for when TFS runs non english operating system. The issue is related to a wit query which use a field "state" whitout prefix it with system.
         To workaround I had to build my own tool (not a command line one, I prefer a windows services.)
    • I gave the information to microsoft team concerning that bug on the TCMPT tool with non english system. They planned to correct it in the next release of the powertools.
  • Missing Space
    3 Posts | Last post May 26, 2012
      Over at http://social.msdn.microsoft.com/Forums/en-US/vststest/thread/2136f235-af66-47e5-a3b7-b7436ad96312 i have docuemnted my issue with TCMPT. 
      The DB has grown 2G in the last week, and the manual SQL reports show tis is in the .dll & .pdb extensions, however a 
      <AgeInDays OlderThan="1" NewerThan="7" />
      query finds nothing ?
      => Does the tool have a bug ?
    • Ignore, replace user, resolution tool is project bases, SQL scripts are collection based. Missing space found in another project.
    • I had about the same problem, so I added  Test Attachemt Size window to the Tfs Administrators Toolkit (http://visualstudiogallery.msdn.microsoft.com/11f5e313-ced1-4713-9794-d7300c7d12e0) , with integration towards the Test Attachment Cleaner tcmpt.
  • How to determine which team project to clean
    1 Posts | Last post May 05, 2012
    • If you have a collection with 200+ projects it's quite problematic to determin which team project to clean. It would be good to be able to run it preview mode without specifing team project. 
  • Doco Wrong ?
    1 Posts | Last post April 22, 2012
    • I tried using /settings and got an error message about unknown settings
      I eventually tried /settingsFile: and this worked
      Also out/ came up as unknown.. 
      Why would the doco be wrong ?
  • Error
    1 Posts | Last post June 17, 2011
    • When I try to delete attachements, I get the following error message:
      "Error deleting attachments: 'Team Foundation services are not available from server XXX.
      Technical information (for administrator):  The operation has timed out'"