Search

What are File attributes in Windows Operating Systems

Operating Systems store non-volatile information as data files in storage devices like Hard Disks (HDDs) or Solid–State Drives (SSDs).

A File System is the part of an Operating System which defines how files are stored and retrieved from the connected storage devices. Two main Files Systems in Windows Server available currently are NTFS (New Technology File System) and ReFS (Resilient File System). File attributes are metadata (data about data) values stored by the File System on non-volatile storage, Hard Disks (HDDs) or Solid–State Drives (SSDs).

A number of different file attributes are there in NTFS File System in Windows Operating Systems. Following table lists some important File attributes and short description about those File attributes.

AttributeShort Description
Read-only file (R)An attribute to specify the file as Read-only file. Not applicable for folders.
Hidden (H)An attribute to specify the file as a hidden file or directory. A hidden file is not displayed in an ordinary folder listing command output.
System (S)An attribute to specify the file as an important System file (Operating System file or directory)
Directory An attribute to specify a folder/directory.
Archive (A)An attribute to specify the file is ready for archive (or backed up). Backup apps use archive attribute. Archive attribute turned on a file means that the file needs to be backed up by the backup apps, or archived.
Device Device attribute is reserved for the system use.
Normal No other attributes are set.
Temporary (T)Temporary storage attribute for a file.
Sparse file (P) Sparse file attribute shows the file is a sparse file. Sparce files does not store the large number of empty bytes on the storage disk. Operating System will regenerate those empty bytes if it is a sparse file. A sparse file’s contents can be partially empty and are non–contiguous.
Reparse point Attribute for a file or directory that has a reparse point, or a symbolic link.
Compressed (C)An attribute to specify the file or folder as a compressed file or folder.
Offline (O)Offline attribute shows offline storage. The data of a file is not available immediately.
Not Indexed (I)The file or directory is not to be indexed by the content indexing service.
Encrypted (E)Attribute for an encrypted file or folder.
Integrity (V) Attribute for the folder or user data stream configured with integrity (ReFS File System).
Virtual Virtual attribute is reserved for the system use.
No Scrub Data (X)Attribute for not to be read by the background data integrity scanner (ReFS File System).
Pinned (P)Pinned attribute is used make the file always available offline.
UnPinned (U)Unpinned attribute is used make the file available only in the cloud.
Recall on Data Access (M)Recall on Data Access attribute is used to specify the data is not fully available locally.

 

Written by Jajish Thomas.
Last updated on 17th July, 2024.

 

Related Tutorials
Introduction to Windows Server 2025
Minimum hardware requirements for Windows Server 2025
New features of Windows Server 2025
How to download Windows Server 2025 Preview iso file
How to install Windows Server 2025
Differences between Server Core and GUI (Desktop Experience)
Default GUI tools in Server Core
How to run PowerShell as administrator
How to run PowerShell as administrator in Server Core
How to find the PowerShell version in Server Core and Desktop experience
How to add Network icon to desktop in Windows Server 2025
How to add Computer (This PC) icon to desktop in Windows Server 2025
How to rename a computer using Windows Explorer
How to rename computer using "Rename-Computer" PowerShell Cmdlet
How to configure IPv4 Address in Windows Server 2025
How to configure IPv4 address in Windows Server 2025 using PowerShell Cmdlets
How to configure IPv6 Address in Windows Server 2025
How to configure IPv6 Address in Windows Server 2025 using PowerShell
What is MMC (Microsoft Management Console) and what are MMC snapin files
Add a snapin to MMC console
What are Roles and Features and difference between Roles and Features in Windows Server
Roles in Windows Server
Features in Windows Server
How to add Roles and Features in Windows Server
How to Remove Roles and Features in Windows Server
How to add Roles and Features using PowerShell
How to remove Roles and Features using PowerShell
Different types of computer hardware devices
What is a Driver Software
What is Device Manager and how to open Device Manager
What is Plug and Play (PnP)
How to scan for hardware changes using Device Manager and pnputil.exe
How to disable a device using Device Manager
How to disable a device using PowerShell Disable-PnpDevice Cmdlet
How to enable a device using PowerShell Enable-PnpDevice Cmdlet
How to update drivers using Device Manager
What is Driver Signing in Windows Operating Systems
What is Roll back of a driver and how to Roll Back a driver
How to uninstall a device using Device Manager
What are File attributes in Windows Operating Systems
attrib command in Windows
How to hide files and folders using Windows File Explorer
How to hide files and folders using attrib.exe command
How to view hidden files using Windows File Explorer
What are file name extensions
What are known file extensions and how to view known file extensions
How to associate a file name extension with an app
Hide or Show known file name extensions in Windows Server 2025
Hide or Show protected operating system files in Windows Server 2025
What are multi–user Operating Systems (OS) and multi–task Operating Systems (OS)
What are local user accounts and local groups in Windows Server
Different types of user accounts in Windows Server
How to create a local user in Windows Server
How to create a local user in Windows Server using New-LocalUser PowerShell cmdlet
How to force a local user to change password on next login
How to enable or disable a local user account
How to allow or prevent a local user to change password
What are Security Principals and SIDs
How to find SIDs of local user accounts