Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-11-20
9
Medium Priority
?
211 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 1000 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 93

Expert Comment

by:nobus
ID: 17985665
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

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!

Question has a verified solution.

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

Occasionally Windows/Microsoft Updates will fail to update. We have found a code that will delete all temporary files and re-register all dll's related to Windows/Microsoft Updates! This works 99% of the time to get the updates working again! The…
Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
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.

886 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