Delete a project from Team Foundation Server
Posted by Chris Leong | Posted in Archives | Posted on 02-03-2009
Tags: .NET, VSTS
6
Deleting a project on Team Foundation Server is not that straight forward. Here’s how you can delete a team project
- Open the Visual Studio 2008 Command Prompt window.
- Change to the C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE directory. For example: cd "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE"
- Run the TFSDeleteProject utility using the following command line. “TFSDeleteProject /server:YourServerName YourTeamProjectName”
- To confirm the deletion press Y and then press ENTER.
TFSDeleteProject utility then deletes the team project that you’ve selected


Thank You..
Worked Great
I was having a hard time deleting my project. Thank for the hint here.
When I run the command even as administrator from local computer I get “TF30063: You are not authorized to access server.” error
any idea?
Rick, you need to have the appropriate access on the TFS server. Can you check whether you have rights to delete?
Thanks for the article. This helped me to delete the project successfully. Appreciate your time to put this together.
Nowadays, you must be super creative to have a good business idea that works.`’*