Thanks!!! We were unaware of that tfpt command. That sounds perfect! Unfortunately we may not be able to attempt this until tomorrow; stay tuned.
Main Topics
Browse All TopicsOne of our developers managed to pooch the directory structure on one of our TFS Source Control projects such that the files are invisible/inaccessible in Source Control Explorer.
Is it possible to "undo" checkins, or recover/restore the servers' version as at a specific changeset? ...without affecting other projects on the same server?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: Admin3kPosted on 2009-05-18 at 11:43:43ID: 24415183
Basically TFS does not provide a native method to do this , when we wanted to rollback o a previous version we used to Checkout the item we need to rollback , then GET the specefic version we wish to restore to in a different workspace, copy its contents to the first workspace and checkin, this should work formodified files / projects but not for folder structure like in your case
however with the release of Team foundation power tools , you can rollback a changeset using the command tfpt rollback /changeset:X
where X is your changeset number, you have to have Team foundation power tools installed
- open visual studio command prompt
- CD to your orkspace folder
- type the command as above tfpt rollback /changeset:X
Notes:
-you must not have any pending changes for this to work
-The tfpt rollback command will enforce a get latest before rolling back
Please post back should you have any further question or run into any difficulties.