• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

Cant delete 0 byte file Windows 10

Recommended Posts

neufuse    3,550

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?

Share this post


Link to post
Share on other sites
Eternal Tempest    765

Get a bootable / portable linux drive (that runs from ram), mount the drive and delete it from there?

Share this post


Link to post
Share on other sites
Brandon H    2,693

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.

Share this post


Link to post
Share on other sites
Jim K    12,615

Have you tried the 8.3 filename? 

dir /x  (I believe)

 

How about AVG Shredder?

Share this post


Link to post
Share on other sites
neufuse    3,550
10 hours ago, Jim K said:

Have you tried the 8.3 filename? 

dir /x  (I believe)

 

How about AVG Shredder?

nope... no go..

 

haven't tried mounting the NTFS drive in linux yet, that will be the next attempt

Share this post


Link to post
Share on other sites
bledd    117

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.

  • Like 1

Share this post


Link to post
Share on other sites
neufuse    3,550
9 minutes ago, 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. 

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

 

Share this post


Link to post
Share on other sites
CrashGordon    433
On 6/14/2019 at 10:30 AM, neufuse said:

any ideas?

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

Share this post


Link to post
Share on other sites
Laser    2

Unlocker usually works on these types of files

 

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

  • Like 2

Share this post


Link to post
Share on other sites
goatsniffer    56

+1 for Unlocker

Share this post


Link to post
Share on other sites
neufuse    3,550
40 minutes ago, CrashGordon said:

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

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

Share this post


Link to post
Share on other sites
neufuse    3,550
38 minutes ago, Laser said:

Unlocker usually works on these types of files

 

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

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

Share this post


Link to post
Share on other sites
bledd    117

Did you try what I suggested?

Share this post


Link to post
Share on other sites
neufuse    3,550
On 6/14/2019 at 11:21 PM, 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.

doesn't work either

Share this post


Link to post
Share on other sites
+warwagon    12,743

Have you tried running a chkdsk /f c: on the drive? Maybe it's a bit of corruption in the file system.

Share this post


Link to post
Share on other sites
sc302    1,684

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.

Share this post


Link to post
Share on other sites

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.