Tuesday, December 28, 2010

Upgrading Team Foundation Server 2010 RTM Virtual Machine to Full Version

If you are like me, you probably wish to save yourself the time of installing and configuring a full virtual machine set up with Team Foundation Server 2010. 

Considering that a fully working and integrated VM for Team Foundation Server 2010 consists of installing Windows Server 2008, IIS, SQL Server 2008, Microsoft Office 2007 or above, Visual Studio 2010 Premium or Ultimate Edition and finally Team Foundation Server 2010, you can save yourself a lot of time and a lot of unnecessary hassle by simply downloading and utilizing the VMs that are pre-configured for you by Microsoft and available as a free download in VHD format.  The download formats are available for virtual platforms ranging from Virtual PC 2007 SP1 to Windows 7 Virtual PC to Hyper-V.

If you have not already downloaded the Team Foundation Server 2010 RTM Virtual Machine, you can download them from here:

For Windows 7 Virtual PC:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=509c3ba1-4efc-42b5-b6d8-0232b2cbb26e
For Windows Server 2008 Hyper-V:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e0198b64-4acb-4709-b07f-359fb4d523bc&displaylang=en
For Virtual PC 2007 SP1:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=5e13b15a-fd74-4cd7-b53e-bdf9456855bd&displaylang=en

Once you have done that and launched the virtual machine, now you can begin the process of converting the virtual machine to full versions/full editions so that the virtual machine does not expie (by default the entire virtual machine is installed with evaluation editions which are set to expire after a certain period of time).

So, if you have an MSDN subscription (which most developers do), you should be able to enter new product keys for all of the various products and activate them respectively.

The product keys you will need to have available are the following:

  1. Windows Server 2008 Standard Edition
  2. Visual Studio 2010 Ultimate Edition
  3. SQL Server 2008 Enterprise Edition
  4. Microsoft Office 2007 Enterprise Edition
  5. Team Foundation Server 2010
The easiest piece to activate will be Microsoft Office 2007, so I will start with that first:

  1. Launch Microsoft Office Word 2007 (or another respective Office application)
  2. You will immediately be prompted for a product key
  3. Enter your Office 2007 Product Key
  4. After the product key has been successfully validated, click on the Install Now button
  5. Once the installation has completed, click on the Close button
Next, you can activate your copy of Windows Server 2008:

  1. Open the Control Panel
  2. Go to the System icon
  3. Click on the link for "Change product key"
  4. Enter your Windows Server 2008 product key
  5. Click Next to begin the process of activating your copy of Windows Server 2008
Now, upgrade your edition of SQL Server 2008:

  1. Insert the media (or mount the ISO image) for the SQL Server 2008 Enterprise installation
  2. Once the SQL Server Installation Center dialog pops up, click on the navigation link for Maintenance
  3. Click on the link for Edition Upgrade
  4. Click through the wizard dialogs until you reach the screen for "Select Instance"
  5. Select the MSSQLSERVER instance
  6. Click Next until you reach the "Ready to upgrade edition" dialog
  7. Click on Upgrade to proceed with the SQL Server edition upgrade
  8. Click Close once the upgrade has completed.
Now, upgrade Visual Studio 2010 Ultimate Edition:

  1. Mount the ISO image for Visual Studio 2010 Ultimate Edition from your MSDN subscription
  2. Browse to the Setup directory
  3. Open the file setup.sdb file in the text editor of your choice
  4. Look for an element named [Product Key]
  5. Beneath this element you will find the Product Key for your copy of Visual Studio 2010 Ultimate Edition
  6. Now open the copy of Visual Studio 2010 Ultimate Edition on your virtual machine
  7. From the Help menu, select Register Product
  8. Enter the Product Key that you copied from your setup.sdb file
Finally, upgrade your copy of Team Foundation Sever 2010:

  1. Mount the ISO image for Team Foundation Server from your MSDN subscription
  2. Browse to either the TFS-x64 or TFS-x86 directories
  3. Open the file setup.sdb file in the text editor of your choice
  4. Look for an element named [Product Key]
  5. Beneath this element you will find the Product Key for your copy of Team Foundation Server 2010
  6. Now open the Team Foundation Administration Console
  7. Look on the main Team Foundation Server Administration Screen
  8. Click on the link for Update License
  9. Enter the Product Key that you copied from your setup.sdb file
That should be it!  

You have now fully converted your evaluation version Team Foundation Server 2010 Virtual Machine to a fully functional virtual machine with no time limits or restrictions!

No comments:

Post a Comment