Recommended Posts

even tried going into command prompt via the windows 10 trouble shooting and running chkdsk with a full scan... tried manually deleting there... everything

 

chkdsk comes back every time with no problems found, delete just comes back with path not found

  On 20/06/2020 at 14:09, neufuse said:

done that many times, no errors....

 

I've had this issue from the initial windows 10 version all the way up to 2004 now chkdsk shows nothing still

Expand  

In that case, I'd just forget about it. Can you make those files hidden?

 

Another option is to back-up your data (minus those files) and reformat the damn drive - "it's the only way to be sure😄 

 

 

Are they located in a folder which can be deleted (even if it requires temporarily moving wanted files to a temp directory).  What program is creating these files?  What are the file names?

 

What are the details of these files when you powershell Get-ItemProperty   ?

 

Example (fand.txt is file)...

 

PS C:\Users\Jim\desktop> get-itemproperty fand.txt | Format-list -Property * -Force

PSPath            : Microsoft.PowerShell.Core\FileSystem::C:\Users\Jim\desktop\fand.txt
PSParentPath      : Microsoft.PowerShell.Core\FileSystem::C:\Users\Jim\desktop
PSChildName       : fand.txt
PSDrive           : C
PSProvider        : Microsoft.PowerShell.Core\FileSystem
Mode              : -a----
VersionInfo       : File:             C:\Users\Jim\desktop\fand.txt
                    InternalName:
                    OriginalFilename:
                    FileVersion:
                    FileDescription:
                    Product:
                    ProductVersion:
                    Debug:            False
                    Patched:          False
                    PreRelease:       False
                    PrivateBuild:     False
                    SpecialBuild:     False
                    Language:

BaseName          : fand
Target            : {}
LinkType          :
Name              : fand.txt
Length            : 25
DirectoryName     : C:\Users\Jim\desktop
Directory         : C:\Users\Jim\desktop
IsReadOnly        : False
Exists            : True
FullName          : C:\Users\Jim\desktop\fand.txt
Extension         : .txt
CreationTime      : 6/16/2020 18:28:42
CreationTimeUtc   : 6/16/2020 23:28:42
LastAccessTime    : 6/19/2020 19:14:50
LastAccessTimeUtc : 6/20/2020 00:14:50
LastWriteTime     : 6/16/2020 18:28:42
LastWriteTimeUtc  : 6/16/2020 23:28:42
Attributes        : Archive

 

Hello,

 

What is the completely path specification and filename that is showing up for the 0-byte long files? 


Have you checked using a program like Microsoft Sysinternals' handle to see if what process is its owner?

 

Regards,

 

Aryeh Goretsky

 

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

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

Expand  

That would imply the files disappear when not in use, wouldn’t it? Does WSL also not think the file exists?

  On 20/06/2020 at 15:46, Peresvet said:

In that case, I'd just forget about it. Can you make those files hidden?

 

Another option is to back-up your data (minus those files) and reformat the damn drive - "it's the only way to be sure😄 

 

 

Expand  

no, you can't even change properties of them... if you go into their properties it just has a red x with "the requested security information is either unavaiable or can't be displayed" for security and for the general tab  everything is blank, accessed, modified, created size etc... only location is there and type of file is just "file"

  On 20/06/2020 at 17:18, goretsky said:

Hello,

 

What is the completely path specification and filename that is showing up for the 0-byte long files? 


Have you checked using a program like Microsoft Sysinternals' handle to see if what process is its owner?

 

Regards,

 

Aryeh Goretsky

 

Expand  

there is no owner process.. I can't even delete them using windows 10's safe mode command prompt..

 

I thought maybe file name length was the issue but the full path included is only 170 characters, I've seen long file names in windows from apps that exceeded 255 chars that get messed up with the path included, but nope not even that is the case

  On 20/06/2020 at 17:40, adrynalyne said:

That would imply the files disappear when not in use, wouldn’t it? Does WSL also not think the file exists?

Expand  

if I go into ubuntu via WSL I get the same thing, there is a zero byte file at the path that can't be accessed or deleted... the files are never "in use" when I'm trying to access them... I can pull this drive and put it into another system and I get the same results

  On 20/06/2020 at 16:28, Jim K said:

Are they located in a folder which can be deleted (even if it requires temporarily moving wanted files to a temp directory).  What program is creating these files?  What are the file names?

 

What are the details of these files when you powershell Get-ItemProperty   ?

 

Example (fand.txt is file)...

 

PS C:\Users\Jim\desktop> get-itemproperty fand.txt | Format-list -Property * -Force

PSPath            : Microsoft.PowerShell.Core\FileSystem::C:\Users\Jim\desktop\fand.txt
PSParentPath      : Microsoft.PowerShell.Core\FileSystem::C:\Users\Jim\desktop
PSChildName       : fand.txt
PSDrive           : C
PSProvider        : Microsoft.PowerShell.Core\FileSystem
Mode              : -a----
VersionInfo       : File:             C:\Users\Jim\desktop\fand.txt
                    InternalName:
                    OriginalFilename:
                    FileVersion:
                    FileDescription:
                    Product:
                    ProductVersion:
                    Debug:            False
                    Patched:          False
                    PreRelease:       False
                    PrivateBuild:     False
                    SpecialBuild:     False
                    Language:

BaseName          : fand
Target            : {}
LinkType          :
Name              : fand.txt
Length            : 25
DirectoryName     : C:\Users\Jim\desktop
Directory         : C:\Users\Jim\desktop
IsReadOnly        : False
Exists            : True
FullName          : C:\Users\Jim\desktop\fand.txt
Extension         : .txt
CreationTime      : 6/16/2020 18:28:42
CreationTimeUtc   : 6/16/2020 23:28:42
LastAccessTime    : 6/19/2020 19:14:50
LastAccessTimeUtc : 6/20/2020 00:14:50
LastWriteTime     : 6/16/2020 18:28:42
LastWriteTimeUtc  : 6/16/2020 23:28:42
Attributes        : Archive

 

Expand  

PS D:\EDI\downloads\incoming-CARRIERS\> get-itemproperty "MDE-ITX-20200121-20200222.DAT"
get-itemproperty : Cannot find path 'D:\EDI\downloads\incoming-CARRIERS\MDE-ITX-20200121-20200222.DAT'
because it does not exist.
At line:1 char:1
+ get-itemproperty "MDE-ITX-20200121-20200222.DAT ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (D:\EDI\downlo...0222.DAT :String) [Get-ItemProperty], ItemNotFo
   undException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemPropertyCommand

Try deleting the file/folder from Safe Mode and check if the issue persists.

Step 1: Boot to Safe Mode.

a. Press the ‘Windows + R’ keys on the keyboard.

b. In the ‘Run’ window type ’MSCONFIG’ and click ‘Ok’.

c. Click the ‘Boot’ tab.

d. Under ‘Boot Options’, select the ‘Safe Boot’ option.

e. Choose the type of safe mode by selecting one of the options below the Safe boot check box:
Select ‘Minimal’.

f. Click OK and then restart your PC.

  On 22/06/2020 at 09:12, yuanyasmine said:

Try deleting the file/folder from Safe Mode and check if the issue persists.

Step 1: Boot to Safe Mode.

a. Press the ‘Windows + R’ keys on the keyboard.

b. In the ‘Run’ window type ’MSCONFIG’ and click ‘Ok’.

c. Click the ‘Boot’ tab.

d. Under ‘Boot Options’, select the ‘Safe Boot’ option.

e. Choose the type of safe mode by selecting one of the options below the Safe boot check box:
Select ‘Minimal’.

f. Click OK and then restart your PC.

Expand  

 

  On 20/06/2020 at 19:41, neufuse said:

I can't even delete them using windows 10's safe mode command prompt..

Expand  

 

  On 22/06/2020 at 09:12, yuanyasmine said:

Try deleting the file/folder from Safe Mode and check if the issue persists.

Step 1: Boot to Safe Mode.

a. Press the ‘Windows + R’ keys on the keyboard.

b. In the ‘Run’ window type ’MSCONFIG’ and click ‘Ok’.

c. Click the ‘Boot’ tab.

d. Under ‘Boot Options’, select the ‘Safe Boot’ option.

e. Choose the type of safe mode by selecting one of the options below the Safe boot check box:
Select ‘Minimal’.

f. Click OK and then restart your PC.

Expand  

* face palm * 

  On 22/06/2020 at 12:49, Riva said:

I just created a 0 bytes file and i was able to delete it just fine

Expand  

That is not the issue here.  It's part of it sure, but it's not the sole issue.

  • Like 2

Like I said in my comment from last year; I've run into this a few times going all the way back to XP. I'm guessing it's as you think, there's nothing in the file space but the MFT table thinks there is or something.

Back when I had this issue I tried numerous things all of which have been listed here (besides robocopy) and a few other things and NOTHING worked aside from formatting the drive unfortunately 😕

Hello,

One thing I remember from the DOS era is that if you do not have the TEMP environment variable properly defined and do a directory using a pipe ("|") redirection to the MORE command, the temporary file used to buffer the contents of the directory stream to the MORE command would show up only in the directory listing.  I wonder if a similar effect could be coming into play?

 

Regards,

 

Aryeh Goretsky

 

 

Have you tried running streams on the file?

 

https://docs.microsoft.com/en-us/sysinternals/downloads/streams

 

I've heard of files with NTFS streams sometimes causing strange issues like this.

 

I haven't run into a issue like this in years, when I did unlocker worked and I deleted the file.  Since it's created by that specific app you have to use, has it done it before and on other systems or is this isolated to one specific system?

  • 1 month later...
  On 23/06/2020 at 08:04, Code Name: Lockdown said:

Daft question.  What if you open Notepad, type something and try to save over the top of the file?

 

I'm assuing "File cannot be found" still?

Expand  

yes

 

but update, I tried the latest Ubuntu WSL  release and I can delete them from inside of Ubuntu WSL!

 

Finally!! Now If I could just figure out WHY windows can't do it but WSL can

  • 2 weeks later...

This "standard problem" is very common.  It seems so far that the suggestions so far did not work.  In my expert opinion, none of the suggestions should really work.

Several causes for this happen.  All very standard & predictable.

Removal of rubbish files & folders is also easy.

As suggested so far, do the obvious. 

(1) As suggested, "Chkdsk /f".  I generally use Iobit's freeware "Disk Doctor", included in their Advanced Systemcare freeware.

(2) Remove any crazy file attributes, such as READ-ONLY, SYSTEM & HIDDEN.  Super Geeks like myself use powerful geekware, "Servant Salamander".  This Windows-only utility is now freeware.  It is far more powerful than all the Linux file utilities combined.  Perhaps I might do a FAQ on this product.  Used ever since it came out.

Often these rubbish files & folders have crazy reasons for existing. 

(3) If a folder, dig deep into it, to remove as much of the crud buried inside it.  As you dig your way out of the crud, some upper levels might be deleted also.  Any long file names, try to minimize their names, such as -, -=, -=-, etc..

(4) Eventually you get to the files & folders that cannot be removed. 

(5) Move all these together into the one short name folder.

(6) Then move this folder onto the root of the partition.  This can be done easily.  "Moving" is not a hardware movement, but the complex File Allocation Table Change.

(7) Most Linux operating systems can delete this Windows file & folder.  The "bad" Linux systems are now getting the Microsoft penalty, so now make it impossible to delete some Windows files.

(8) The "best" & most reliable way to remove this Windows rubbish is to use "Linuxfx".  It is based on Ubuntu, to appear to be a Windows-10 "copy".  No need to install it.  Just run & boot as usual.

(9) It takes some expertise to create & use Linux boot sticks.  Ask if you need more assistance.

  On 10/08/2020 at 05:40, Greg Zeng said:

This "standard problem" is very common.  It seems so far that the suggestions so far did not work.  In my expert opinion, none of the suggestions should really work.

Several causes for this happen.  All very standard & predictable.

Removal of rubbish files & folders is also easy.

As suggested so far, do the obvious. 

(1) As suggested, "Chkdsk /f".  I generally use Iobit's freeware "Disk Doctor", included in their Advanced Systemcare freeware.

(2) Remove any crazy file attributes, such as READ-ONLY, SYSTEM & HIDDEN.  Super Geeks like myself use powerful geekware, "Servant Salamander".  This Windows-only utility is now freeware.  It is far more powerful than all the Linux file utilities combined.  Perhaps I might do a FAQ on this product.  Used ever since it came out.

Often these rubbish files & folders have crazy reasons for existing. 

(3) If a folder, dig deep into it, to remove as much of the crud buried inside it.  As you dig your way out of the crud, some upper levels might be deleted also.  Any long file names, try to minimize their names, such as -, -=, -=-, etc..

(4) Eventually you get to the files & folders that cannot be removed. 

(5) Move all these together into the one short name folder.

(6) Then move this folder onto the root of the partition.  This can be done easily.  "Moving" is not a hardware movement, but the complex File Allocation Table Change.

(7) Most Linux operating systems can delete this Windows file & folder.  The "bad" Linux systems are now getting the Microsoft penalty, so now make it impossible to delete some Windows files.

(8) The "best" & most reliable way to remove this Windows rubbish is to use "Linuxfx".  It is based on Ubuntu, to appear to be a Windows-10 "copy".  No need to install it.  Just run & boot as usual.

(9) It takes some expertise to create & use Linux boot sticks.  Ask if you need more assistance.

Expand  

I feel like you should have read the thread prior to replying.

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

    • Well, the interface is horrible. PST isn't fully functional. Can't properly import Thunderbird contacts into it. All that showed up are names.
    • "all the way down" by 33 whole dollars. Amazing. You shouldn't have.
    • If they make a portable version, I might give it a try, but I will always prefer hotkeys to that approach
    • The Synology DS923+ is down to $610 just for today on Newegg by Steven Parker Right now on Newegg, and only for today (June 26) you can find the Synology DS923+ discounted all the way down to $609.99 when using a coupon during checkout, down from it's normal $642.99 price. Although we haven't reviewed the DS923+ on Neowin, we have seen Synology before and rated it quite highly. Besides, the DS1522 even has the same AMD R1600 CPU. Some people would consider Synology homelab NAS equipment the "gold standard", and as such, competitors strive to do as good, at least in regard to the Operating System, DSM, which ticks all the boxes for amateurs, professionals and small business users for its inclusion of mobile apps for core app services such as Surveillance Station, and more. Here are the most important specifications: Synology DS923+ CPU AMD Ryzen R1600 2-core 2.6 (base) / 3.1 (turbo) GHz Graphics No Memory 4 GB DDR4 SODIMM, maximum 32 GB (16 GB x 2) Disk Capacity 72 TB (18TB x 4) RAID Level RAID 0, 1, 5, 6, 10, and JBOD + SHR (Synology Hybrid RAID) Network 2 x RJ-45 1 GbE Internal storage 2 x M.2 2280 NVMe Slot USB Ports 1 x USB 3.2 (5 Gbps) HDMI 1 x Expansion 1 x eSATA 1 x Gen3 x2 network upgrade slot Size (H/W/D) 166 mm x 199 mm x 223 mm Weight 2.24 kg Power 35.51 W (Access) 11.52 W (HDD Hibernation) What's in the box? Main Unit X 1 Accessory Pack X 1 AC Power Adapter X 1 AC Power Cord X 1 RJ-45 LAN Cable X 2 Quick Installation Guide X 1 You may notice that the DS923+ does not have integrated graphics, which is a step down from earlier Intel-based models that did include an iGPU. However, even this year's model (the DS925+) does not include an iGPU with its slightly newer AMD Ryzen Embedded V1500B CPU, but also unhelpfully locks down what you can use in it. All 2025 models require hardware from Synology's own compatibility list, this currently does not affect the DS923+. In addition you are only getting dual 1 GB Ethernet with the DS923+, so you may need to factor in the cost of adding the 10 GbE PCIe network card, which sells for $110.99 on Newegg. Ultimately, deciding on a NAS device comes to down to your individual requirements. For example, more bays is not always better, especially once you factor in the price of hard drives. Those with more modest storage requirements may be better off with a 2-bay device. From my personal experience, DSM 7.2 is great, it's so great that I have installed it on my TerraMaster F4-424 Max. Finally, and perhaps more importantly many tinkerers would prefer building their own server which is definitely a cheaper option, but without the polish of a dedicated NAS. If you have no need to transcode video on the fly and want a four bay NAS device, then the DS923+ is a great solution for every other use case and I can highly recommend it. Synology DS923+ for $609.99 on Newegg (was $642.99) Enter coupon code SACET2369 for above price during checkout
    • I don't think it's childish, but I do think it would be ineffective. If I was addicted to social media I would just disable the extension when I wanted to visit the certain sites.
  • Recent Achievements

    • Conversation Starter
      Kavin25 earned a badge
      Conversation Starter
    • One Month Later
      Leonard grant earned a badge
      One Month Later
    • Week One Done
      pcdoctorsnet earned a badge
      Week One Done
    • Rising Star
      Phillip0web went up a rank
      Rising Star
    • One Month Later
      Epaminombas earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      529
    2. 2
      ATLien_0
      207
    3. 3
      +FloatingFatMan
      168
    4. 4
      Michael Scrip
      150
    5. 5
      snowy owl
      125
  • Tell a friend

    Love Neowin? Tell a friend!