Windows File System Tunneling Preserves Old File Metadata for Legacy Compatibility

Microsoft has clarified that Windows sometimes assigns creation dates from deleted files to new ones due to a long-standing mechanism called File System Tunneling. The feature keeps metadata in a short-term cache for about 15 seconds after a file is deleted or renamed. If a new file with the same name is created quickly in the same folder, it inherits the previous file's timestamps and short-to-long name mappings. This behavior exists to support safe saving patterns used by many applications and to maintain compatibility with old DOS-era 8.3 filename formats. The actual file content is never restored, only the metadata. The cache is temporary and clears over time, so the effect does not occur with files deleted long ago. The explanation came after users noticed unexpected dates in Windows Explorer and questioned whether it was a bug.

AntiMalwareTranslated from Russian

Read at source

Many Windows users have noticed a strange behavior: after creating a new file, its properties show a creation date from the previous day or even earlier. Microsoft confirms this is not a bug but the result of File System Tunneling, a feature the operating system has used for decades.

When a file is deleted or renamed, Windows briefly stores its metadata in a special cache. If another file with the same name is created in the same folder within roughly 15 seconds, the new file inherits the original creation date and the mapping between long and short filenames. The actual content of the deleted file is not recovered.

The mechanism serves two main purposes. First, many applications save documents safely by writing changes to a temporary file, deleting the original, and then renaming the temporary file to the original name. Without tunneling, Windows would treat the document as brand new each time and update its creation date.

Second, the feature maintains compatibility with programs from the DOS and 16-bit eras that relied on the classic 8.3 filename format. Tunneling preserves the link between short and long names during rapid file operations.

The tunneling cache is temporary and gradually cleared, so a file deleted weeks or months earlier will not transfer its date to a new file with the same name. The behavior only triggers under specific combinations of delete, create, and rename actions within one folder.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Other

Mail.ru Reduces Lifetime 1TB Cloud Storage Promo to Standard 8GB Quota for Select Users
Kimi K3 Open Model Surpasses Closed AI Leaders with Million-Token Context and 896 Experts
Innostage Completes Functional Testing of PT NGFW 1.10.3 Across 156 Criteria