Windows 10: How do empty file times get stored on an NTFS file system?

Discus and support How do empty file times get stored on an NTFS file system? in Windows 10 Software and Apps to solve the problem; Hi,I'm creating a Rust application that synchronizes files from Windows 11 and Windows Server 2008 R2 to SharePoint. Everything works great, except one... Discussion in 'Windows 10 Software and Apps' started by Sam Vervaeck, Feb 8, 2024.

  1. How do empty file times get stored on an NTFS file system?


    Hi,I'm creating a Rust application that synchronizes files from Windows 11 and Windows Server 2008 R2 to SharePoint. Everything works great, except one thing: in Explorer, many files show no Created date on them. When I use Rust's std::fs::metadata to access these file times and transform them to a date I want, I get as date 1979-12-31T23:00:00+00:00.My guess is that this time is the default for file times having no value, but I want to be sure. Can an expert please confirm that the above timestamp is indeed used as an empty value? Then I make sure not to include it in my program.Thanks in adv

    :)
     
    Sam Vervaeck, Feb 8, 2024
    #1
  2. Drone Win User

    Stored files in Hard Drive

    You can use Windows search. Just search for *.* on a desired drive. When list is done just arrange them by size LOL.

    You can do it via command line as well and make an output text file showing files and their sizes (but without arrangement)
     
    Drone, Feb 8, 2024
    #2
  3. Platibus Win User
    Stored files in Hard Drive

    I'd like to know if there's a way of listing all the files stored in my hardware and arrange them by size, because I want to keep track of what's on my hard drive. Thanks, I hope you answer.
     
    Platibus, Feb 8, 2024
    #3
  4. How do empty file times get stored on an NTFS file system?

    Getting a "The file is too large for the destination file system" error on a NTFS external HD

    Hi

    Welcome to Microsoft community.

    If you're encountering the "The file is too large for the destination file system" error on an external hard drive that is already formatted with NTFS, it's possible that there may be other issues at play. Here are some steps to troubleshoot and potentially resolve the issue:

    1. Check Available Space: Ensure that your NTFS-formatted external hard drive has sufficient free space to accommodate the file you're trying to copy. NTFS theoretically supports very large files, but the actual available space on the drive could be a limiting factor.
    2. File System Corruption: Although NTFS is a robust file system, it's not immune to corruption. Run a disk check utility to scan and repair any potential file system issues. Here's how to do it:
      • Open Command Prompt as an administrator.
      • Type (replace "X" with the drive letter of your external hard drive) and press Enter. chkdsk /f X:
      • Follow the on-screen instructions to schedule a disk check at the next system restart.
      • Restart your computer to allow the check to run.
    3. Check for Disk Errors: Use the built-in Windows utility to check the disk for errors:
      • Right-click the drive in File Explorer.
      • Select "Properties."
      • Go to the "Tools" tab.
      • Under "Error checking," click "Check."
    4. Defragment the Drive: If your external hard drive is heavily fragmented, it might affect its ability to store large files efficiently. You can defragment the drive to optimize its performance:
      • Right-click the drive in File Explorer.
      • Select "Properties."
      • Go to the "Tools" tab.
      • Under "Optimize and defragment drive," click "Optimize."
    5. Check File Attributes: Ensure that the file you're trying to copy doesn't have any unusual attributes or permissions that might prevent it from being copied. Right-click the file, select "Properties," and review the file's attributes.
    6. Use a Different USB Port or Cable: Sometimes, hardware issues can lead to file transfer problems. Try using a different USB port or cable to connect your external hard drive.
    7. Test with a Different File: Try copying a different large file to the external hard drive to see if the issue is specific to that particular file.
    8. Backup and Reformat: If none of the above steps work, you may need to back up the data on the external hard drive, reformat it, and then copy your files back to it. This process can help refresh the file system and resolve any underlying issues.
    9. Check for Hidden or System Files: Make sure you're not trying to copy any hidden or system files that could be restricted.
    If none of these steps resolve the issue, and you continue to encounter the error, it's possible that there might be a hardware problem with your external hard drive. In such cases, consider contacting the drive's manufacturer for further assistance or replacing the drive if it's under warranty.

    Please feel free to let me know if you have any further updates. Thanks.

    Best regards

    Derrick Qian | Microsoft Community Support Specialist
     
    Derrick19 - MSFT, Feb 8, 2024
    #4
Thema:

How do empty file times get stored on an NTFS file system?

Loading...
  1. How do empty file times get stored on an NTFS file system? - Similar Threads - empty file times

  2. How do empty file times get stored on an NTFS file system?

    in Windows 10 Gaming
    How do empty file times get stored on an NTFS file system?: Hi,I'm creating a Rust application that synchronizes files from Windows 11 and Windows Server 2008 R2 to SharePoint. Everything works great, except one thing: in Explorer, many files show no Created date on them. When I use Rust's std::fs::metadata to access these file times...
  3. NTFS FILE SYSTEM

    in Windows 10 Gaming
    NTFS FILE SYSTEM: Hey, I'm facing an error while starting my PC, ill explain in details. My Bluetooth driver wasn't working so i turned off and on my pc for a few times and after that, I'm facing blue screen everytime i try to turn on my PC, it turns on, window logo for a few seconds then blue...
  4. NTFS FILE SYSTEM

    in Windows 10 Software and Apps
    NTFS FILE SYSTEM: Hey, I'm facing an error while starting my PC, ill explain in details. My Bluetooth driver wasn't working so i turned off and on my pc for a few times and after that, I'm facing blue screen everytime i try to turn on my PC, it turns on, window logo for a few seconds then blue...
  5. NTFS FILE SYSTEM

    in Windows 10 BSOD Crashes and Debugging
    NTFS FILE SYSTEM: Hey, I'm facing an error while starting my PC, ill explain in details. My Bluetooth driver wasn't working so i turned off and on my pc for a few times and after that, I'm facing blue screen everytime i try to turn on my PC, it turns on, window logo for a few seconds then blue...
  6. NTFS File System

    in Windows 10 BSOD Crashes and Debugging
    NTFS File System: I had a virtual machine running on a customer's computer, and I needed to reinstall it. I removed the drive from the computer so I could copy a new VHD from my laptop to the drive. IIt kept telling me that the recycle bin on the drive was corrupt and would not let me copy...
  7. NTFS File System Stopcode

    in Windows 10 Network and Sharing
    NTFS File System Stopcode: Hello, I know that this topic has been discussed in several threads in this community but in my case it wasn't the solution. In best way someone has already a link to the solution and will guide me. Description of my issue: Hardware of my device is fully OK. My OS...
  8. ntfs file system error

    in Windows 10 Installation and Upgrade
    ntfs file system error: can anyone tell me how to get past ntfs file system error page as ive watched all the vids on youtube and nothing works just keeps going onto automatic repair continuosly, wish i had never upgraded to windows 10 all ive had is prolems so i hope microsoft realise what they...
  9. Exfat file system Vs NTFS file system...

    in Windows 10 Drivers and Hardware
    Exfat file system Vs NTFS file system...: Hi all, Here is a critical problem i have faced. I have inserted my pendrive in an laptop with OS X. As it was in ntfs format the data were shown but writting into this couldn't be done. So I format it to exfat format to get some data. When I insert it into my laptop it was...
  10. NTFS - time for Ms to create new file system ?

    in Windows 10 Performance & Maintenance
    NTFS - time for Ms to create new file system ?: Hi there I posted recently about how slow NTFS was when you were copying large amounts of data - especially if the data consisted essentially of zillions of small files. Here's a reliable test which amply demonstrates that it really is time for Ms to at least consider...