When managing computers, one of the most important tasks for an IT administrator is to ensure that the system is running smoothly and efficiently. This can often require killing off processes that are no longer needed or that are causing problems. Unfortunately, this can sometimes be easier said than done.
One particular process, tgitcache.exe, can be particularly difficult to kill off. This process is related to the Windows Team Foundation Server (TFS) and is part of the Visual Studio Team System (VSTS) client side cache. While this process is usually harmless and can help speed up the loading of TFS data, it can sometimes get stuck or cause errors.
When this happens, it can be difficult to kill the process. Windows Task Manager may not be able to end the process, or if it can be killed, it will usually come back soon after. This is because the process is actually a service that is running in the background, so killing it will only be a temporary solution.
Fortunately, there are a few solutions that can be used to permanently disable the tgitcache.exe process. The first is to use the Services console to disable the Visual Studio Team System Cache service. This can be done by going to Start -> Control Panel -> Administrative Tools -> Services, then finding the Visual Studio Team System Cache service and changing its startup type to Disabled.
Another option is to uninstall the VSTS Client, which will also remove the tgitcache.exe process. This can be done by going to Start -> Control Panel -> Programs and Features, then selecting the VSTS Client and clicking Uninstall.
Finally, the tgitcache.exe process can also be disabled by making changes to the registry. This can be done by going to Start -> Run, then typing in \regedit\ and pressing Enter. Then, navigate to the following key:
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\TeamFoundation\\SourceControl\\Caching
Once there, right-click on the \Enabled\ value and select \Modify\ and set its value to 0.
These methods should all disable the tgitcache.exe process and prevent it from running in the background. However, it's important to note that some of these methods can cause problems with TFS if not done correctly, so make sure to create a backup of the registry before making any changes.
In conclusion, tgitcache.exe can be a difficult process to kill, but there are a few solutions that can be used to permanently disable it. By using the Services console, uninstalling the VSTS Client, or making changes to the registry, an IT administrator can successfully disable the tgitcache.exe process and prevent it from running in the background.