Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: File locked but indeed no program is using it

30 Mar 2010   #1
gabitao

windows 7
 
 
File locked but indeed no program is using it

Hi fellows,

The problem: I tried to delete a file or a folder and Windows7 says that it is being used by a program so I cannot delete it.
And the truth is that it WAS being used by a program but it is not any more !!
Of course if i just reboot the system I'll be able to delete it or maybe after some time...

I have observed this happens specially when you are using PowerPoint files.

It is amazing this problem - frequent in XP- have not been solved.
Why are they adding a new bunch of non-essential features while these basic things have not been really deeply solved ?!?

Thxs,

Gabi


My System SpecsSystem Spec
.
30 Mar 2010   #2
Nem

Win7 Home Premium x64 SP1, Archlinux x86_64. Elementary Luna
 
 

My System SpecsSystem Spec
30 Mar 2010   #3
richc46

Microsoft Community Contributor Award Recipient

Windows 10, Home Clean Install
 
 

My System SpecsSystem Spec
.

30 Mar 2010   #4
richc46

Microsoft Community Contributor Award Recipient

Windows 10, Home Clean Install
 
 

Well the post above mine was identical, so I feel that I still owe you a remedy. If all else fails try this.

File - Delete from Command Prompt
My System SpecsSystem Spec
30 Mar 2010   #5
logicearth

Windows 10 Pro (x64)
 
 

Quote   Quote: Originally Posted by gabitao View Post
It is amazing this problem - frequent in XP- have not been solved.
Why are they adding a new bunch of non-essential features while these basic things have not been really deeply solved ?!?
Solve it how? The system is only obeying what it is suppose to be obeying. These things happen now and then when something is using the file in the background. Sometimes if you wait for a bit it might clear itself up or might not. But there is nothing to solve when the system is doing what it is suppose to be doing.
My System SpecsSystem Spec
31 Mar 2010   #6
jcgriff2

Windows 7 - Vista
 
 

Run SysInternals Process Monitor - summary by file to see what app(s) is using the file.

Free from Microsoft TechNet --> Process Monitor

No installation required - it's a stand-alone execuatable file. RIGHT-click on procmon.exe, select "Run as Administrator".

Regards. . .

jcgriff2

.
My System SpecsSystem Spec
31 Mar 2010   #7
gabitao

windows 7
 
 

Thanks you all for your quick response.
I'll try your suggestions when the problem arise again.

I'm particularly curious about knowing which program is locking a file so thanks jcgriff2 for your help.

By the way, this problem could be solved just giving the user (at least if it have administrator privileges) the ability to unlock the file "ejecting" all the other processes which are locking the file. So instead of just saying "Not possible to delete because is locked", Windows7 could say "Some program is locking, do you want to fully unlock the file and proceed deleting ?".
I guess it is easier to say it than to do it but I'm suprised the Microsoft Team is not focussed on solving this issues.

Anyway thanks again,

Gabi
My System SpecsSystem Spec
01 Apr 2010   #8
jcgriff2

Windows 7 - Vista
 
 

I forgot to mention that ProcMon writes output to the page file, so don't let it run for more than a few hours - or your system will freeze as the page file reaches virtual memory limitations.

You can change the output file if you wish.

Regards. . .

jcgriff2

.
My System SpecsSystem Spec
Reply

 File locked but indeed no program is using it




Thread Tools




Similar help and support threads
Thread Forum
how to unlock a locked file
I have never had this before...I have a locked file and I cannot figure out how to unlock it. I am an avid Photoshop user. To day I was editing a picture and when I went to save it, message is locked go to explorer to unlock. I did and I cannot figure what to do. I have about 12 files in a file,...
General Discussion
iTunes .itl file is locked
How do I change the attributes of the iTunes library folder And get rid of the read only attributes as right now I can't access my iTunes for windows music library as it says the .itl file is locked on disk or you do not have permission to access this file. Apparently it has something to do...
Music, Pictures & Video
Locked file in Program File (x86) and I'm administrator
Sorry if I'm placing this question in the wrong place. Please move if necessary. This is a combination question both virus and administrative issues. I have a file called C:/Program Files(x86)/sweetm that is a known virus that I cannot remove. When I try to do so, my system tells me "You...
Performance & Maintenance
can't restart Windows 7, it just resumes & stops on a locked program
Hello, all, I am stumped. I am running Windows 7. I have had very little trouble with it until now. I have Spybot installed on it, and it worked perfectly. Today I ran it and it found 6 threats. I clicked to fix the problems and it said all but 2 could be fixed, and those 2 could be fixed by...
General Discussion
Trouble removing a program -not on control panel - Locked Files Wizard
What is the select in locked files wizard option - in the right click menu - for my folders and files I currently have an option on my files and folders that has the option to select in locked folders and files in locked files wizard. I have previously troubleshooted for what was keeping my...
Software
ISO files locked, viewable by program but NOT BY WINDOWS
Hi all: I need your great expertise for a strange occurence. I have 3 ISO files of 4GB each, that the program DVD Shrink can see when opening them. It can even play them. They are supposedly located right under C:. But they have locks on each of them. Perhaps for this reason, Windows cannot see...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:42.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App