Link to home
Start Free TrialLog in
Avatar of Alicia Perillo
Alicia PerilloFlag for United States of America

asked on

File locked for editing by user that has been deleted from the Active Directory

All,

I have an interesting situation where a file is being locked for editing by a user that has been deleted from our Active Directory for several months.  The folder is on a file server. The folder was copied and renamed but the deleted user did not have permissions before or after the folder was copied and renamed.  I've checked the Active Directory for this user using the find option in AD and I was unable to find the user in the AD.  I also have searched the registry of the file server and did not find any entries for the deleted user.

I would like to be able to open this file.  Any help will be appreciated.  Thanks.

Alicia
Avatar of sk_raja_raja
sk_raja_raja

did you try to create a new account with the same user name and try to open the file
What type of file is it?  It sounds to me like it's simply been changed or corrupted such that the application believes it's already open, and the former username may actually be in the file data as the "current" user.
 
If it's an MS Office document, you can try to do a "Open and Repair" on it, but that might not get you any further.  Select the file from within the Open dialog in the application, and use the drop-down list next to the Open button to select "Open and Repair".
 
Something else you can do just to try to get an idea of the file contents is to simply open it in Notepad (if you can).
 
Dimarc67
New York, NY
is it a word or excel file ?
Avatar of Alicia Perillo

ASKER

All, I know that the file is an Excel file .xls.

I'll try an open and repair when I get into the office tomorrow AM.

I'd rather not try and create a special user account to open this.  I'd really like to find out why a deleted user account has a file locked - i.e. I'd like to understand the cause as well as get to a solution.

Thx.
Something else just occurred to me.  Usually when an Excel file is locked for editing, you can open it as read-only.  I take it that's not the case here...
Something else I just realized--

The username that's being reported to you is not the Active Directory username.  It comes from the information that was entered when Excel was installed on the user's computer (which you can view in Excel by going to Help-->About Microsoft Excel).  So, the computer that allegedly has/had the file open simply had Excel installed with that user name entered.

Don't know if that helps, but it could explain how a deleted user is being indicated.
Dimarc67,

Yes,  I can open it read-only.
You could always copy the file and paste it into a new spreadsheet, then give it a new name.  It's worked before for us.
ASKER CERTIFIED SOLUTION
Avatar of Dimarc67
Dimarc67
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Dimarc67,

Yes,  that is correct - my original request was to  open the file. I would however still like to find out how this file is being locked out.  The file is on a file server with security permissions for certain users in our Active Directory.  I've checked the users with access to the file and their MS Office is not configured with the person 's name who  has the file locked.

Alicia
Dimarc67,

I've followed your advice and I've made a copy of the original file.  Now I'd like to move the file to another folder but I can't because it's in use.  Any ideas short of rebooting the server?

Alicia
Alicia,

What error message are you receiving when trying to move the file?  Are you attempting to move it while logged on to the server itself, or through a network share?

If your receiving an error message when trying to move the file while logged on to the server itself, then I would double-check the current open files in the Computer Manager on the server to make sure it isn't listed.  If it is listed, you should be able to right-click it and select Close Open File.  If it is not listed, then rebooting the server may be your only option.  You can always schedule a reboot to happen during the night, if you're comfortable with it happening when you're not watching.

David
David,

Thanks so much for your insightful suggestions.  I was able to look at the open file on the server and using Computer Manager. | Open Files I was able to determine the user that had the file open.  When I checked his MS Office it was registered to the "deleted user" who was locking the file.

Thanks for your help!

Alicia
Well done!  I so love it when things work the way they're supposed to.  :-)

Now that you know who the actual user was, I thought you might like to see this Microsoft article on how to change the user name info in Office 2003:
http://support.microsoft.com/kb/821550

Take care.

David
Dimarc67
New York, NY



Awesome - thanks again!