Solved

Cannot Delete a file on a network drive

Posted on 2012-03-13
7
653 Views
Last Modified: 2012-03-14
I have a user with an Excel file on a shared network drive and the file cannot be deleted.  The error we get is "action cannot be completed because the file is open in another program".  It has been nearly two weeks since this problem started and they have given up and did a save-as to have a new working copy.  I have removed all user permissions to the file, so that now the user(s) who were accessing the file cannot even see or use it.  Now I just want to delete the file but cannot.  Shy of rebooting the file server (a Windows Server 2008 machine), how else can I possibly remove whatever lock is currently on the file?
0
Comment
Question by:benjaminfam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 
LVL 5

Expert Comment

by:EVeuger
ID: 37715275
Check in computer management if the file is still open, you can close it there and remove it!
0
 
LVL 5

Expert Comment

by:EVeuger
ID: 37715284
It's in computer management (on the file server) under shared folders>open files
0
 

Author Comment

by:benjaminfam
ID: 37716958
This is actually the first thing we tried - however, when I go there, it does not show up as an open file in the list of open files.  That's part of the reason this one has us stumped.  Any other ideas?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Accepted Solution

by:
EVeuger earned 500 total points
ID: 37718643
Hmmm, many of the solutions require a reboot of the server. You can maybe schedule a reboot during the night??? Create a batchfile with the command "shutdown -r" and schedule it to run when everybody is (supposed to be) sleeping ;-)

Another option is the Open Handle tool, this tool provides information on which process has an open handle on the file.

Type oh /? at the command prompt for options and syntax.
0
 
LVL 5

Expert Comment

by:EVeuger
ID: 37718652
Sorry, just tried OH on a 2008 server and it doesn't work anymore, only on 2003 and earlier...
0
 
LVL 5

Expert Comment

by:EVeuger
ID: 37718665
Found another open handle tool: Handle Tool

You can download it here: Handle download

Or the GUI version: Process explorer

I would go for the nightly reboot option first though...seems a lot less work!
0
 

Author Comment

by:benjaminfam
ID: 37720187
I did in fact check out the Handle Tool at your suggestion.  However, I'm reluctant to kill any processes and potentially cause server instability.  I think your idea to just schedule an off-hours reboot is probably the most prudent approach.  Especially since this is merely an annoyance.  It is otherwise inconsequential.  Thanks!
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

I was asked if I could set up a fax machine so that incoming faxes were delivered to people's Exchange inboxes and so that they could send faxes from their desktops without needing to print the document first.  I knew it was possible but I had no id…
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

735 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