Team Foundation Server, Windows

Team Foundation Server – Anti-Virus Exclusions

If your company policy is that a anti-virus has to be present on all environments and you happen to be running TFS then here is my list of exclusions which I have gathered from various places across the internet and compiled it together for my own future reference as well being of help to others.

Not only will the exclusions help with troubleshooting but also improve the performance of the servers.

Exclusions

  • C:\Windows\System32\inetsrv\w3wp.exe –  IIS Worker Process or w3wp.exe
  • C:\Users\TFSBuild\AppData\Local\Temp – The temporary work area used by the build server identity, if your build server runs as TFSBuild
  • C:\Program Files\Microsoft Visual Studio 11.0
  • C:\Program Files\Microsoft Team Foundation Server 2010
  • C:\Program Files\Microsoft Team Foundation Server 11.0
  • C:\Program Files (x86)\Microsoft Visual Studio 11.0
  • C:\Windows\Microsoft.NET\Framework\ –  SharePoint Portal & Web Access
  • C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Team Foundation – TFS local cache folder
  • D:\Builds – Build Agent(s) working directory. Look at your Build Agent Properties: Builds -> Manage Build Controllers -> Select Build agent(s) and click on Properties. Whatever the Working Directory is should be addded to your antivirus exclusion list. You should also include your “Drop” directory if you are using that.

Of course locations may vary depending on your setup and environment, but this should give you a good starting point.

twitterredditpinterestlinkedinmail

Leave a Comment

Your email address will not be published. Required fields are marked *