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

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

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium SP1, clean install, upgrade disc
 
 

My System SpecsSystem Spec
.


30 Mar 2010   #4

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium SP1, clean install, upgrade disc
 
 

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

Windows 8.1 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

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

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

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




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 12:42 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33