Solved

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

Posted on 2006-11-20
9
205 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
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.

829 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