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

 18 Jan 2016 #1 chuckhig Windows 7 Home Premium 64 bit 154 posts Adirondack Mountains..upstate New York Delete Stubborn File I have tried every un -locker that I could find. Cannot delete this file. It is empty. I cannot move it to my desktop to delete either. Any help appreciated. Thanks. Attached Images My System Specs
 .
 18 Jan 2016 #2 plodr Home Premium and Pro 32 bit and 64 bit (4 computers) 54 posts I use a small linux distro, Porteus. I have it burned to a CD and also "written" to a USB stick. I boot into that, send the file in Windows that I'm unable to delete/move/erase/rename and delete it. Several times I've had 0 byte files that I could see but no program would remove them. Porteus has saved me from having to restore an image just to get rid of something. If you want the ISO, send me a PM with an email address. I have the file on gdrive and I will email you the link to download it. My System Specs
 18 Jan 2016 #3 Layback Bear Windows 7 Pro. 64/SP-1 25,707 posts Northern Ohio plodr could you just post a website to download Porteus? My System Specs
 .
 19 Jan 2016 #4 Taplice windows 7 Home 64 bit 71 posts The first thing to try is to simply press F5 to Refresh, if you are unable to remove the file using Explorer, you might have better luck using the command prompt. press windows key + r type cmd.exe, press enter cd \to\the\folder\containing\the\problem\file dir /x Note the short filename of the problem file. It will look for example like BLAH~1. del BLAH~1 My System Specs
 19 Jan 2016 #5 UsernameIssues W7 Pro SP1 64bit 10,516 posts chuckhig, Perhaps you have already done this - but before you delete the problematic folder, I would spend some time attempting to make sure that there is no problem with the file system (e.g. run a check of the file system with chkdsk). Was one of the un-locker apps that you tried named Unlocker? If not, you can read a bit more about it in this old post. It would be interesting to know if any apps are locking the folder. My System Specs
 19 Jan 2016 #6 chuckhig Windows 7 Home Premium 64 bit 154 posts Adirondack Mountains..upstate New York Yes unlocker tells me it cannot find file. All I tried cannot delete a file it cannot see. The folder is empty. Thanks..I will keep trying. My System Specs
 19 Jan 2016 #7 UsernameIssues W7 Pro SP1 64bit 10,516 posts Did chkdsk come back clean? (It can takes hours to run.) Disk Check Check Disk (chkdsk) - Read Event Viewer Log My System Specs
 19 Jan 2016 #8 DavidE Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 6,297 posts NC, USA I found this MS thread that sounds like the same issue. Renaming folders causes "Item Not Found" error in Windows 7 - Microsoft Community I would create a system backup image before deleting registry keys, or attempting any fixes. My System Specs
 19 Jan 2016 #9 Pyprohly Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan 725 posts Sydney, NSW Where "unlocker" applications couldn't detect a handle, deleting stubborn files using either the 8.3 short path naming convention or the long path naming convention have proven quite successful strategies in the past... Chuckhig, create the below batch file and drag your problem file onto this script. Code: if "%~1"=="" exit /b del /a /f \\?\%1 tskill explorer goto 2>NUL & del %0 Or if your problem item is actually a folder (as per what your attached image suggests), then create the below instead. Code: if "%~1"=="" exit /b rd /s /q \\?\%1 tskill explorer goto 2>NUL & del %0 My System Specs
 19 Jan 2016 #10 plodr Home Premium and Pro 32 bit and 64 bit (4 computers) 54 posts Sure. But be aware that Porteus is a build-it-yourself distro. You have to pick and choose items to get the distro. Have fun building: Porteus Wizard My System Specs