tfs2010 - How to Unlock TFS Project Files? -


i migrated tfs(mytfsserver) server tfs server(mynewtfsserver). in migration have restored database old new server , of files awere locked in old server workspace. in migration tfs2010 tfs2012 checked out files status of each pending file migrates along source code

so how can unlock files in new sever. old server deleted. , when trying checkout file saying user have checked out file. following error occurs:

microsoft visual studio unable perform operation on $/myproject/code/myfile.cs. item $/myproject/code/myfile.cs locked in workspace dalvir-pc;dsing. no files checked in. 

but file checked out in old tfs server(mytfsserver) , having new user on new tfs(mynewtfsserver) name "dalvir". unable checkout , checkin file.

please me rid of this.

thanks in advance.

it doesn't matter if checked out in old server or in new one. such administrative task use tfs sidekicks http://www.attrice.info/downloads/index.htm#tfssidekicks2012, free use. need admin rights task undoing checkouts other users. in sidekicks use status sidekick , search checkouts want undo.

another option tf.exe using undo command:

tf undo [/workspace:workspacename[;workspaceowner]]     [/recursive] itemspec [/noprompt] [/login:username,[password]]     [/collection:teamprojectcollectionurl] 

Comments