File locked but indeed no program is using it

gabitao

New member
Local time
8:24 PM
Messages
6
Location
Barcelona
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 Computer

OS
windows 7

My Computer

Computer type
PC/Desktop
OS
Win7 Home Premium x64 SP1, Archlinux x86_64. Elementary Luna

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell XPS 420
OS
Windows 10, Home Clean Install
CPU
Intel Core2 processsor Q8200(2.33Ghz 1333FSB) Quad Core Tech
Motherboard
Dell
Memory
6 gb
Graphics Card(s)
ATI Radeon 256MB HD3650
Sound Card
Intergrated 7.1 Channel Audio
Monitor(s) Displays
Dell SP2009W 20"
Hard Drives
640 GB Serial ATA Hard drive
Cooling
Fan
Keyboard
Dell USB Keyboard
Mouse
Dell Premium Optical USB
Internet Speed
DSL 2.85

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell XPS 420
OS
Windows 10, Home Clean Install
CPU
Intel Core2 processsor Q8200(2.33Ghz 1333FSB) Quad Core Tech
Motherboard
Dell
Memory
6 gb
Graphics Card(s)
ATI Radeon 256MB HD3650
Sound Card
Intergrated 7.1 Channel Audio
Monitor(s) Displays
Dell SP2009W 20"
Hard Drives
640 GB Serial ATA Hard drive
Cooling
Fan
Keyboard
Dell USB Keyboard
Mouse
Dell Premium Optical USB
Internet Speed
DSL 2.85
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
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 Computer

OS
Windows 7 - Vista
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 Computer

OS
windows 7
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 Computer

OS
Windows 7 - Vista
Back
Top