Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Every now and again when users change the version of Tfs, the client cache will need to be rebuilt. A very easy way to initiate that process is to:
The corresponding Tfs folders to manually delete are as follows:
Tfs 2017: "%localappdata%\Microsoft\Team Foundation\7.0\Cache\"
Tfs 2015: "%localappdata%\Microsoft\Team Foundation\6.0\Cache\"
Tfs 2013: "%localappdata%\Microsoft\Team Foundation\5.0\Cache\"
Tfs 2012: "%localappdata%\Microsoft\Team Foundation\4.0\Cache\"
Optionally, I have created a quick script that may help streamline things. Copy and save the following content to a .bat file, then execute on the client machine.
@echo off ECHO ********************************************************** ECHO Delete the Tfs 2017 client cache ECHO ********************************************************** rmdir "%localappdata%\Microsoft\Team Foundation\7.0\Cache\" /s /q ECHO "All Done!"
I truly hope this helps, cheers!
Anonymous
February 14, 2014
Just a minor feedback: I had to change %%a to %1 in my case.
Anonymous
January 17, 2015
Why on earth is it not simply an option to clear cache automatically on exit, or at least make the option available from the menu bar? Any web browser allows this.
Anonymous
June 28, 2015
I totally agree with your Laurance.. This is really bad.. Why do I have to write tons of lines script code just for cleaning cache ?This is ridiculous.!
Anonymous
January 20, 2016
You may need to run this script in administrator mode.
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in