Solved

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

Posted on 2006-11-20
9
208 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
[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
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
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction How to create multiboot configuration with XP\Vista and Windows 7 on it? And most important question - how to do this correctly so not to have any kind of nightmares we get when system gets screwed? First of all one should realize t…
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
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.
Suggested Courses

617 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