Windows 7 Forums


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

30 Mar 2010   #1

windows 7
Barcelona
 
 
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
Naranjito, PR
 
 

My System SpecsSystem Spec
30 Mar 2010   #3

Windows 7 Home Premium SP1, clean install, upgrade disc
CT
 
 

My System SpecsSystem Spec
.


30 Mar 2010   #4

Windows 7 Home Premium SP1, clean install, upgrade disc
CT
 
 

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 7 x64 (SP1)
 
 

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
New Jersey, USA
 
 

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
Barcelona
 
 

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
New Jersey, USA
 
 

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 problems?



Thread Tools



Similar help and support threads for: File locked but indeed no program is using it
Thread Forum
Can't Open Encrpted File (Locked?) Software
Exe file locked temporarly with unknown user id System Security
Solved ISO files locked, viewable by program but NOT BY WINDOWS General Discussion
Admin Privilages / File Locked General Discussion
Locked taskbar masks program's status bar when maximize General Discussion


All times are GMT -5. The time now is 08:10 PM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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
  

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