Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been reading about alternate data streams and I am kind of curious if any big applications for Windows actually uses this feature of NTFS.

I am also really curious as to whether or not traditional backup and archiving utilities back up this data and is able to be restored.

share|improve this question
    
As long as it is backed up to a NTFS partition, if you back up to a fat partition data streams are lost. – Moab Sep 9 '10 at 16:22
    
Most archiving utilities will not capture alternate streams. In fact, RAR/WinRAR is the only one I can think of off the top of my head (with the -os switch). – afrazier Sep 9 '10 at 17:08
    
Any backup application worth salt understands alternate data streams. You used to have to use an undocumented API to list them, but now with the FindFirstStreamW API there's no excuse. And they have all kinds of cool uses (e.g. thumbnail views and zone identifiers). – snoone Sep 14 '10 at 17:48
    
Later versions of 7zip also support streams, but only to .Win files. You can also easily look at the contents from the commandline with later versions of 4NT (jpsoft.com). It can give you directories that include stream info, and then you can query the stream like a part of the file. For example, I'm using Echo > to store some text data in a stream, and Type or Copy to get it back out. Not completely convinced it's a good idea, but I'm trying it. I mostly want some data to survive moves and renames. In my case, I'm just storing a ticket number for a bug. – Wade Hatler Jan 30 at 18:51
up vote 2 down vote accepted

Alternate Data Streams in NTFS Applies to

* Microsoft Win32 Application Programming Interface, when used with:
      o Microsoft Windows NT Advanced Server 3.1
      o Microsoft Windows NT 4.0
      o Microsoft Windows NT 3.51 Service Pack 5
      o Microsoft Windows NT 4.0
      o Microsoft Windows 2000 Standard Edition
      o the operating system: Microsoft Windows XP

Very small ADS (Alternate Data Streams) are also added within Internet Explorer (and now also other browsers) to mark files that have been downloaded from external sites: *they may be unsafe to run locally and the local shell will require confirmation from the user before opening them. When the user indicates that he no longer wants this confirmation dialog, this ADS is simply dropped from the MFT entry for downloaded files.

Resource from Wikipedia

share|improve this answer

SQL Server 2012 and earlier users alternate data stream as part of the CHECKDB process.

This meant that you couldn't put an SQL Server database on a ReFS volume, as ReFS didn't support Alternate Data Streams. Microsoft changed that SQL Server 2014.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.