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 FilesMicrosoft Visual StudioVSSwin32SSEXP.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.