Solved

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

Posted on 2006-11-20
9
198 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 91

Expert Comment

by:nobus
ID: 17985665
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Just about everyone has an old PC laying around.  Ask anyone in the IT industry, whether they are a professional or play in it as a hobby.  From outdated Desktops to cheap "throwaway" laptops, they are all around and not as hard to "fix up" as you m…
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

744 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

10 Experts available now in Live!

Get 1:1 Help Now