Note: The information in this article applies to Team Foundation Server 2010.
In order to fully remove an unwanted project from the Team Foundation 2010 server, you will need to make sure that you have a compatible version of
TFSDeleteProject.exe executable available on your workstation so you will need to make sure that you either have Visual Studio 2010 installed or the Visual
Studio 2010 Shell application available.
To use the Visual Studio 2010 Shell, you will need to download and install the Microsoft Visual Studio Team Explorer 2010 - ISO
on your system.
You will also need to verify that your user account is a member of the "Project Administrators" group through the Project Groups utility
Before proceeding, please note that any data that you have stored in the project will be permanently removed from the server and we may not be able to recover a snapshot from our backup repository.
To remove your Team Project, please perform the following steps:
1. Open a Command Prompt window and then access the "IDE" directory for your installation of Visual Studio 2010/Visual Studio 2010 shell which should
typically be "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE" or "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE"
2. You will need to run the following command:
TFSDeleteProject.exe /collection:https://tfsXX.discountasp.net/tfs/CollectionName "ProjectName"
Please note that tfsXX should be replaced by your Team Foundation 2010 server, CollectionName will be the name of your collection and ProjectName is the name
of the project you're looking to remove. For example, if your Team Foundation Server is tfs21, your collection name is "mycollection" and your project name is "My TFS Project," the command that you
would run is:
TFSDeleteProject.exe /collection:https://tfs21.discountasp.net/tfs/mycollection "My TFS Project"
3. When you're prompted for the credentials, supply your user name that's an administrator and the corresponding password.
4. Type "y" to confirm the deletion.