Microsoft Knowledge Base Email Alertz

KBAlertz.com: (150648) - It is sometimes necessary to undo the checkout of a file or files because the user who originally checked out the file is unavailable, either being out sick, having left the company, or for some other reason. By using the Admin account, you can undo a...

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 150648 - Last Review: July 1, 2004 - Revision: 1.1

How To Resolve Files Checked Out by an Unavailable User

This article was previously published under Q150648

On This Page

SUMMARY

It is sometimes necessary to undo the checkout of a file or files because the user who originally checked out the file is unavailable, either being out sick, having left the company, or for some other reason. By using the Admin account, you can undo a checkout by any other user.

After logging into the Explorer as Admin, go to the project where the user has the file checked out and click the file. If there is more that one file checked out, hold the CTRL key and select multiple files, or click the project name in the left pane to select an entire project. Click the "Undo Checkout" button on the toolbar or select [SourceSafe][Undo Checkout] from the menu. SourceSafe alerts you with the message: "File <filename> is currently checked out by <user name>. Proceed Anyway?". Click "Yes" for one file, or "Yes All" for a group of files, to undo the checkout.

The files are then in the same state, and the same revision, as when the user checked them out originally. No work performed by the original user is included.

MORE INFORMATION

The method for logging in as Admin depends on the operating system on which SourceSafe Explorer is running. The 16-bit operating systems, Windows 3.1, Windows for Workgroups 3.11, etc., prompt for the user name when starting the Explorer unless the SSUSER environment variable has been set. The 32- bit operating systems, Windows 95, Windows NT, etc., log you in automatically as long as the machine name is set to a valid user name, and Use_Network_Name is set to "Yes" in the SRCSAFE.INI file. "Yes" is the Default value. In this situation, you can run the SourceSafe Explorer (SSEXP.EXE) with -y and the Admin name, such as SSEXP -yadmin. Notice that there are no spaces between the -y and the Admin name.

NOTE: The 16-bit version of Visual SourceSafe is only applicable for versions of 4.x of Visual SourceSafe.

Step-by-Step Example

  1. Start SourceSafe Explorer as any user except Admin. Select a project, select a file or files, and check them out.
  2. Start another version of SourceSafe Explorer using the Run command and SSEXP -yadmin. This logs you in as Admin.
  3. Locate the project where you checked the files out as the other user, and select that project.
  4. Ensure that a working directory is specified for the project.
  5. Select the file or files, and click "Undo Checkout," or select [SourceSafe][Undo Checkout] from the menu.
  6. A dialog box appears with the message "File <filename> is currently checked out by <user name>. Proceed Anyway?".
  7. Click "Yes" for one file, or "Yes All" for a group of files, and note that the original user's checkout is undone.

APPLIES TO
  • Microsoft Visual SourceSafe 4.0 Standard Edition
  • Microsoft Visual SourceSafe 5.0 Standard Edition
  • Microsoft Visual SourceSafe 6.0 Standard Edition
Keywords: 
kbhowto KB150648
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please