How to boost TFS performance under a VM – By Dugie



While at the recent Windows Vista Launch i had a bunch of questions on Team Foundation Server under a VM….Many of which dealt with performance which i immediately dumped on Dugie.  Dugie is also known as Andrew Dugdell, the local VM guru, MVP and local user group president.  He must have really enjoyed these questions becasue almost immediately after the event he wrote a crib sheet so i can answer theses questions myself next time(i believe he also changed his mobile number)!  In either case the seven pointers below addressed all of the Brisbane folks issues.

If you still get stuck i believe Dugies new phone number is 0405179872<g>



Hey Chuck,

Mate, I’ve jammed together 7 simple tips that your guys can use to boost the performance of TFS within a VM.  They are all non-destructive and quite simple for everyone to implement

Here they are;

1.      Move your VM to a second physical disk to your host OS – maybe even a USB drive if you are on a workstation or Laptop

2.      Defragment the filesystem inside your VM

3.      Defrag the pagefile inside your VM – Sysinternals PageDefrag works a treat

4.      Defrag the drive on your host that holds the VHD

5.      Defrag the pagefile on your host as well – again pagedefrag from sysinternals

6.      Install [updated] VM Additions inside your VM – latest version is 13.552

7.      Configure your anti-virus scanning to exclude VHD files on the host

Original tweak list is here:

If your guys want to go all out, the super-deluxe list of tweaks is here  and here

Hope this helps.


–       Dugie


Comments (4)

  1. I’m sure our field guys (many running TFS servers in a VM) will appreciate this advice (initially via

  2. Eric Lee on Work Item Moving Tool is back. Don’t forget this file. Marcel de Vries on How to waste…

  3. There has been a few discussions around on building a VSTF Single-Server Deployment within a Virtual

  4. One of the topics that’s come up a few times recently while talking to TFS users has been Hyper-V. Specifically,