Solved

How to remove a locked file in a Windows 2003 R2  server

Posted on 2006-11-20
9
204 Views
Last Modified: 2008-03-17

I have a pdf file  in a shared folder . I tried to delete it, but it keeps on telling me there is an user or another problem is using it.

I tried to use Compouter Management to disconnect session and open file for this .pfd file, then try to delete it, it still give me the same problem,  the only way I can do it is that, I have to restart the server, then after restart I can them delete that file.

Is there any method I need to delete this file, without have to restart it each time.
0
Comment
Question by:star404
9 Comments
 
LVL 16

Accepted Solution

by:
Brian Pringle earned 250 total points
ID: 17984395
0
 

Expert Comment

by:FarFromHome
ID: 17984757
I have to agree with btpringle. This is an awesome little utility that will show you what processes are locking a file. You can then easily kill or remove the locks they hold on your file. After that you are free to delete.

BTW this is a FREE utility!!
0
 
LVL 92

Expert Comment

by:nobus
ID: 17985665
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 20

Expert Comment

by:jimmymcp02
ID: 17987980
try using this tool but it has to be done from a win2k/xp machine to access the file
http://www.softpedia.com/get/System/System-Miscellaneous/Unlocker.shtml

also there are several others here that you can try
http://www.thefreecountry.com/utilities/deletelockedfiles.shtml
0
 
LVL 22

Expert Comment

by:orangutang
ID: 17993409
Why can't you just disable sharing of that folder that it's in and then delete it?
0
 
LVL 2

Expert Comment

by:The_Maverick
ID: 18006548
Is it possible that someone does still have it open? (or a session has crashed out and it hasn't cleaned up properly)?

Have you tried right-clicking on "My Computer" - clicking on "Manage" then expand "Shared Folders" then take a look for it in the "Open Files" folder?

0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

832 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