In Visual Studio go to the menu item Tools–>Options…
Then navigate to the Source Control –> Visual Studio Team Foundation Server section.
In that section is a check box that says “Show deleted items in the Source Control Explorer”
Once you’ve ensured that the checkbox is checked, press “OK”
Then navigate to the Source Control Explorer and you’ll see that deleted files, folders and branches are now displayed with a large red cross next to them.
Right click the item you want to recover and select “Undelete” from the menu.
At this point Visual Studio stops responding to input. It displays a wait spinner briefly, but mostly it just looks like it has hung.
When Visual Studio does come back to life you can go to the Pending Changes to see the newly recovered files, folders, or branches.
If you are happy with this change, you can check it in to TFS as normal.
You really save my life i can recover some files 1 by 1 on tfs online, but 2300 files, will be crazy, a beer for you!