Monday, March 7, 2011

TFS 2010 Test Controller - Workaround for TestRunStorage issue

When worked with Test Controller for lab management in TFS 2010, you might have experienced that you start running out of disk space soon. The reason for that is the test results keep accumulating at the path C:\Users\<Account>\AppData\Local\VSEQT\QTController\TestRunStorage

Even if you do the following in MTM (Lab Center -> Controllers -> Right click on controller -> Delete
temporary files), the files in TestRunStorage are not deleted.

To get around this issue, you can create a batch file with the following command:
rmdir /s /q "C:\Users\...\AppData\Local\VSEQT\QTController"

Then create a scheduled task which calls this batch file once every day at
a specific time when no tests would run.

1 comment:

  1. Please use the correct way to solve this, following the blog post at

    Removing the cache can cause VS crashes.