One of my colleges is off sick today. I need to edit some files that he was working with on Friday. Unfortunately, he checked out these files in Visual Source Safe (VSS), but did not check them back in. As a result, Visual Studio won’t let me make any changes to these files.
From time-to-time, most VSS users need to check someone else’s files back in because they are not available to do so. Normally, in VSS, the option to undo check out is greyed-out on a file that someone else has checked out. However, if you run VSS as the Admin user, you can undo check out for another user.
To run VSS as Admin (Windows XP, VSS6):
Open a command prompt. Type the command line for VSS explorer, followed by “-yadmin”. For me this is ‘ “C:\Program Files\Microsoft Visual Studio\VSS\win32\SSEXP.EXE” -yadmin’ (including the double-quotes).

Select the database you want, and enter the admin password:
You can now right-click the files you want and undo check out:

You can accept the default on all subsequent prompts.
My thanks to Marc Hoeppner for his excellent article from which I gleaned this information.

September 8, 2008 at 9:43 am |
instead of using ssadmin, use ssexp.exe
September 9, 2008 at 11:58 am |
Dawid:
You’re right. Thanks for the correction. I’ve updated the article.
November 27, 2008 at 3:13 pm |
Thanks for the help! Got me out of a troubling situation.
David.
November 27, 2008 at 3:14 pm |
Thanks for the help! Got me out of a troubling situation.
David.
January 15, 2009 at 3:19 pm |
I have the same problem, but when I login as admin to VSS, I cannot see any of file in the VSS but the folder on the left side. Its different when i use another account. Could help ?