Solved

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

Posted on 2008-10-21
15
512 Views
Last Modified: 2012-06-27
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
0
Comment
Question by:Alicia Perillo
  • 6
  • 6
  • 2
  • +1
15 Comments
 
LVL 18

Expert Comment

by:sk_raja_raja
ID: 22771625
did you try to create a new account with the same user name and try to open the file
0
 
LVL 4

Expert Comment

by:Dimarc67
ID: 22771645
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
0
 
LVL 18

Expert Comment

by:sk_raja_raja
ID: 22771656
is it a word or excel file ?
0
 

Author Comment

by:Alicia Perillo
ID: 22772133
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.
0
 
LVL 4

Expert Comment

by:Dimarc67
ID: 22772155
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...
0
 
LVL 4

Expert Comment

by:Dimarc67
ID: 22772185
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.
0
 

Author Comment

by:Alicia Perillo
ID: 22773018
Dimarc67,

Yes,  I can open it read-only.
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 3

Expert Comment

by:plt63640
ID: 22773159
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.
0
 
LVL 4

Accepted Solution

by:
Dimarc67 earned 500 total points
ID: 22773168
Your original request here was to be able to open the file.  Since you can open it as read-only, you can always then save it as a different file that would be fully editable.  Would this not accomplish what you want?
0
 

Author Comment

by:Alicia Perillo
ID: 22776817
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
0
 

Author Comment

by:Alicia Perillo
ID: 22776928
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
0
 
LVL 4

Expert Comment

by:Dimarc67
ID: 22777370
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
0
 

Author Comment

by:Alicia Perillo
ID: 22778237
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
0
 
LVL 4

Expert Comment

by:Dimarc67
ID: 22778911
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

0
 

Author Comment

by:Alicia Perillo
ID: 22780875


Awesome - thanks again!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now