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: Undeletable File - Delete

23 Aug 2014   #10

Windows 7 Professional x64
Thank you

That's a great solution for me...

My System SpecsSystem Spec
06 Nov 2014   #11

Windows 7 Pro (64)

Solution worked! But, besides an English file, I had one in Russian and another in Arabic. All 3 files showed the extension name "eastobuy" in explorer window but no (dot)extension. All were downloaded from Youtube using website. I created a second temp folder Download 2 and moved all files except undeletable files. Then instead of naming each file to delete inside the Download folder I entered del *.* and BAM... GONE! Thanks for the solution!
My System SpecsSystem Spec
04 May 2015   #12

Windows 7 Ultimate x86

thanks man g8 ,,, keep going
My System SpecsSystem Spec
07 May 2015   #13


This look like the solution for me. It is a very undocumented registry entry. I use this for 6 months now and I haven't had the problem anymore.


I found that the same value is also queried in HKCU first.

It might be to high, the default value looks to be 5.

My System SpecsSystem Spec

30 Dec 2015   #14

win 7 pro x64

I have had the undeletable file problem when I end up with a file name that is reserved by windows. In my case, it has been "NUL".

The solution I found to this problem, from Del - Delete Files | Windows CMD | is this:

Files are sometimes created with the very long filenames or reserved names: CON, AUX, COM1, COM2, COM3, COM4, LPT1, LPT2, LPT3, PRN, NUL
To delete these use the syntax:
DEL \\.\C:\somedir\LPT1
Alternatively SUBST a drive letter to the folder containing the file.
My System SpecsSystem Spec
18 Jan 2016   #15


Thank you, Not So Gray Matter! I have Windows 8.1 and the command prompt instructions that you posted, along with the brilliant graphic instructions worked very well. I have never had this problem (folder on desktop would not delete) and I have almost never had to search so long for a solution that applied to my issue. I joined the Seven Forums especially to thank you!
My System SpecsSystem Spec
11 Mar 2017   #16

Win 7 Ultimate 64-bit

I've been using the utility Unlocker for years. It works in Windows mode.
My System SpecsSystem Spec
09 Apr 2018   #17



I've got a huge problem. I tried this trick because I can't delete one folder which was downloaded from Google drive. I have this folder on D:. Just D, no additional path. So, when i tried to erase it like it was described here, I mistakenly erased many other very important folders (the problematic one is of course still there). Please help me bring my folders on D back, some very important stuff for me are there!

Thanky you!
My System SpecsSystem Spec
09 Apr 2018   #18

64-bit Windows 10 Pro

Hello Gib, and welcome to Seven Forums. :)

You might see if the free programs "Unlocker" or "FileAssassin" may be able to delete it for you.

Download Unlocker - MajorGeeks

FileASSASSIN - Free Software to Delete Locked Files | Malwarebytes
My System SpecsSystem Spec
10 Apr 2018   #19

Windows 7 HP x64

Quote   Quote: Originally Posted by gib View Post

Please help me bring my folders on D back, some very important stuff for me are there!

Thanky you!
Stop using the D drive - don't write any new files to it. Then, download and install Recuva from Priform, on the C drive, and use it to try to recover the folders and their contents. Run a "deep scan" in Recuva if it doesn't find everything. As long as you didn't overwrite the free space where your files were, you should be able to recover them. Be aware that they may not be organized in the folders they were originally in.

Recuva: Download Recuva | Recover deleted files, free!
My System SpecsSystem Spec

 Undeletable File - Delete

Thread Tools

Similar help and support threads
Thread Forum
How to get rid of this undeletable file?
I was downloading torrents when one of the torrent I wanted didn't seems to download properly. Instead of a torrent file, it was just a file. I check my download history and it appears as a "window icon next to a hard drive" rather than a torrent file. So I go about trying to delete it but it...
General Discussion
Undeletable File
Hello, I stopped a download part way through today and a .exe.part file was left on my desktop and I have not been successful at deleting it so far . . . I tried this solution: and it didn't work for me. Any help?
Performance & Maintenance
How to delete Undeletable folders or files from any Drive
Help me. I have three partitions/drives i.e drive C, drive D and drive E. I have installed windows7 Ultimate x86 on drive C. But i have a problem in drive E. There is a folder on drive E which I want to delete. I tried many times to delete that folder but failed every time. If someone know than...
General Discussion
undeletable file
hi, i have a problem deleting a directory from my desktop. a while ago i installed a program (wich was working fine) and afterwards i was installing another program. during this install my pc crashed and deleted both of the programs. i couldnt reinstall the first program becouse the computer...
Undeletable File
Hey all, I recently re-installed Windows 7 Home Premium 64bit, and after deleting the Windows.old file, I've found myself left with a small folder that will not be deleted by any means. The error message I get is: "This is no longer located in C:\. Verify the item's location and try again." ...
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 20:04.
Twitter Facebook Google+