The following command will undo checkout of unmodified files in TFS

c:\myProject> tfpt uu . /noget /recursive

Thanks to stackoverflow.