Recommended Posts

I have 6 files that absolutely will not delete...

 

every file is 0KB, if you try to rename them it says could not find this item this is no longer located in {x} verify the items location and try again..

 

if you try to delete them in explorer you get the same message...

 

go to command prompt same message...

 

boot in windows pe and do it in that command line same message....

 

I've tried 3rd party tools no luck.

 

It's almost like the MFT table record was made but no actual file and now it's just confused?

 

Reformatting the drive of course fixes the problem... but the program that makes them keeps randomly making them (it's a file transfer utility) when doing a temp file for storage while the transfer is in progress..

 

Check disk doesn't help.....

 

any ideas?

Link to comment
https://www.neowin.net/forum/topic/1383854-cant-delete-0-byte-file-windows-10/
Share on other sites

it's an annoying NTFS bug. I've run into it more than once myself since the XP days.

it's supposedly a rare bug though so if it's happening consistently like you say then I'd report it to the program owner of the file-transfer tool.

 

Usually the above suggestion from Eternal Tempest will solve it but I have had the rare occasion where I ended up having to format the drive to get rid of a glitched entry.

  On 17/06/2019 at 12:29, softwaretested said:
  • Make sure the apps associated with those files are not running. You might need to check Task Manager to look at the running processes there. 
  • Try deleting in Safe Mode. 
  • Close all Windows Explorer processes (via Task Manager). 
  • Or use an app. 
Expand  

I don't think you read this thread first :P

 

  On 17/06/2019 at 13:02, CrashGordon said:

I'd look into finding a file transfer utility that didn't cause this issue in the first place.

Expand  

it's system we can't ditch... it's a data feed from a company we deal with that sends EDI files.. this isn't just some FTP client, it's their requirement we use this specific system

  On 17/06/2019 at 13:09, Laser said:

Unlocker usually works on these types of files

 

https://unlocker.en.softonic.com/

Expand  

nope, doesn't work

 

I can't even get them to delete from a linux USB boot 

I'll add this, we did NOT have this issue until we went to server 2016 and windows 10... now it's all the time

  On 15/06/2019 at 03:21, bledd said:

Do this.

 

Open CMD in an elevated mode (right click, run as admin)

 

If the file is in..

 

C:\Users\USERNAME\Documents\filename.wtf

 

del "\\?\C:\Users\USERNAME\Documents\filename.wtf"

 

 

 

 

One of those stupid Windows filesystem bugs.

Expand  

doesn't work either

you can try malwarebytes fileassassin https://www.malwarebytes.com/fileassassin/

 

Usually a third party tool, utilizing a apple mac, or linux would be able to delete those files.  

 

can't you utilize robocopy to copy/transfer your files/folders, it is very fast and pretty easy to use.

  • 4 weeks later...
  On 11/07/2019 at 19:52, neufuse said:

yep returns no errors

Expand  

Have you checked the smart data with something like crystal disk info? Maybe the smart data will show a current pending sector .. maybe it's sitting on data right there?

Create a blank directory and use robocopy to overwrite whatever directory you're having issues with. 

 

  Quote

Create a blank folder somewhere, for example:



 

C:\Blank_Folder\

 

Now lets say all of the junk you want to delete is located here:

D:\Keep\Keep\DESTROY\****\***.... etc .etc ..etc...

 

You're going to use robocopy to Copy that blank folder over top of the DESTROY folder... with /E for subfolders and files... with the /MIR switch which will purge anything that is not in the source (there is nothing... its a blank source)

robocopy c:\Blank_Folder\ D:\Keep\Keep\DESTROY\ /E /MIR
Expand  

 

Make sure you don't get source and destination confused and back up any files you actually need.
 

  • 11 months later...

still having this issue...... if you try to do anything to these zero byte files it says they can't be found by ANY applications that try to delete them

 

it's almost like NTFS's MFT table has a link but the link points no where

the exact error message is 

 

Could not find this item

 

This is no longer located in {path}. Verify the item's location and try again.

  On 20/06/2020 at 13:24, neufuse said:

still having this issue...... if you try to do anything to these zero byte files it says they can't be found by ANY applications that try to delete them

 

it's almost like NTFS's MFT table has a link but the link points no where

the exact error message is 

 

Could not find this item

 

This is no longer located in {path}. Verify the item's location and try again.

Expand  

Did you ever try Linux? 

  On 20/06/2020 at 13:31, adrynalyne said:

Did you ever try Linux? 

Expand  

same thing it's like the file isn't there but there is a record to it in the MTF table

  On 20/06/2020 at 13:38, LostCat said:

I had this happen before with a file (twice iirc) and somewhere around 3/4 or 4/5 of file unlock tools wouldn't get rid of it.  I wish I remembered what worked o.o

 

Try Lockhunter?

Expand  

same issue, says path doesn't exist, and lock hunter says nothing is locking the file

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Because Win7 was beautiful, much faster and more functional than XP. Win10 (glossing over 8 as many do) was slightly faster in some cases, more functional in some cases, but some people such as myself hated how it looked and decided it wasn't worth the upgrade. Some people liked (or were ok with) the look, and thus it is a good upgrade. Win11 is like 10, but is less functional between key features being removed and constant bugs/crashes either due to updates, or just things that were never patched. It literally has nothing going for it, and I use it every day at work so I'm quite familiar with it.
    • I switched my mom from Chrome to Firefox and she had a serious meltdown. She even managed to figure out how to reinstall Chrome, which really surprised me. What finally got her to switch was Chrome no longer being supported on Win7 and me putting a Chrome skin on FF, and setting it up identically.
    • Feels very much like most other gnome based Linux distros. There is minimal amounts that are influenced by Windows 11, maybe just enough to make people who are switching comfortable enough with the idea. As far as I can tell its mainly just turning the 'taskbar' panel as a 100% sized static panel, rather than the default dynamic sized. Turning it from the Mac OS Dock into the Windows taskbar. The Arc Menu - that I assume you're taking not with from the screenshots, is indeed the Windows 11 style one, but it has lots of other options too, from the more traditional gnome, Windows 7 etc. Still free to install what ever Window Manager you want once you're comfortable enough with Linux though.
    • Wow, and here I'm still happily using 1080p...
    • Added an extra filter to Fail2Ban.  I thought about just adding this to my existing aibots filter, but for the time being I'm keeping it separate because it's "possible" real humans may trigger this one so as long as it doesn't start filling my inbox I'd like to get notified about these so I can adjust it as necessary in the future. I'm still holding close to 10k unique IP addresses at any given time that have been banned via the "aibots" filter that looks for certain user agent strings of known AI scrapers.  However, I've been getting an increasing amount of traffic trying to scrape the site with sanitized user agent strings that just look like normal web browsers, however... Because I enabled authentication I can now see that they're racking up lots of 401 (unauthorized) responses in the Apache "access.log" file, but they're not triggering anything in the Apache "error.log" file, which is where failed attempts to log in would appear.  Basically, if an actual human tried to log in with an invalid username and password they don't immediately go into "access.log" as a 401, they go into "error.log" with a status message such as "user FOO not found".  The only way to trigger a 401 simply by visiting the site, as far as I'm aware, is to hit "Cancel" on the login prompt, or otherwise try to access files directly without properly authenticating. So, given the fact I'm getting a few thousand 401 errors a day from sanitized user agent strings that don't show up in "error.log", which means no attempt at logging in properly, I added another jail/filter set to Fail2Ban to immediately ban anybody who triggers a 401.  This feels a bit nuclear so I may need to adjust it in the future, but as far as I'm aware so far no real humans are being inconvenienced so all I'm doing is wasting the time of some AI scraper bots. Example log entry 61.170.149.70 - - [25/Jun/2025:20:01:04 -0400] "GET /content/mdwiki_en_all_maxi_2024-06/A/Neuroregeneration HTTP/1.1" 401 3287 "https://kiwix.marcusadams.me/content/mdwiki_en_all_maxi_2024-06/A/Neuroregeneration" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43" Contents of /etc/fail2ban/filter.d/apache-401repeat.conf #Fail2Ban filter for bots and scrapers that try to access #files directly without entering credentials for apache2-auth #and therefore trigger lots of 401 errors without triggering #the apache-auth jail. # #Marcus Dean Adams [Definition] failregex = ^<HOST> .+\" 401 \d+ .*$ Contents of /etc/fail2ban/jail.d/apache-401repeat.local [apache-401repeat] enabled = true ignoreip = 10.1.1.1 port = 80,443 filter = apache-401repeat maxretry = 1 bantime = 672h findtime = 10m logpath = /var/log/apache2/access.log Oh, and all this traffic is AFTER I explicitly banned Alibaba's IP ranges that were absolutely blowing me up day and night. Observation; two of the IP addresses that have triggered this jail in the 30 or so minutes since I turned it on were owned by Microsoft.  Wonder if they're doing their own AI scraping/probing, or if that's just an Azure VM owned by somebody else.
  • Recent Achievements

    • Rising Star
      Phillip0web went up a rank
      Rising Star
    • One Month Later
      Epaminombas earned a badge
      One Month Later
    • One Year In
      Bert Fershner earned a badge
      One Year In
    • Reacting Well
      ChrisOdinUK earned a badge
      Reacting Well
    • One Year In
      Steviant earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      552
    2. 2
      ATLien_0
      208
    3. 3
      +FloatingFatMan
      175
    4. 4
      Michael Scrip
      151
    5. 5
      Som
      138
  • Tell a friend

    Love Neowin? Tell a friend!