Delete Stubborn File

Page 1 of 3 123 LastLast

  1. Posts : 194
    Windows 7 Home Premium 64 bit
       #1

    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 Thumbnails Attached Thumbnails Delete Stubborn File-snap-2016-01-18-12.00.37.png  
      My Computer


  2. Posts : 54
    Home Premium and Pro 32 bit and 64 bit (4 computers)
       #2

    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 Computer


  3. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #3

    plodr could you just post a website to download Porteus?
      My Computer


  4. Posts : 71
    windows 7 Home 64 bit
       #4

    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 Computer


  5. Posts : 10,485
    W7 Pro SP1 64bit
       #5

    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 Computer


  6. Posts : 194
    Windows 7 Home Premium 64 bit
    Thread Starter
       #6

    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 Computer


  7. Posts : 10,485
    W7 Pro SP1 64bit
       #7

    Did chkdsk come back clean?

    (It can takes hours to run.)

    Disk Check

    Check Disk (chkdsk) - Read Event Viewer Log
      My Computer


  8. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #8

    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 Computer


  9. Posts : 721
    Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
       #9

    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 Computer


  10. Posts : 54
    Home Premium and Pro 32 bit and 64 bit (4 computers)
       #10

    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 Computer


 
Page 1 of 3 123 LastLast

  Related Discussions
Our Sites
Site Links
About 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 11:27.
Find Us