How To Change File Attributes In Windows 10 (Files & Types)
If you need to change certain properties to a file, we will show you how to change its attributes in Windows 10 in order for it to be handled correctly.
This allows you to specify how the operating system is supposed to treat it.
How to change file attributes

- Open Windows
- Move your mouse pointer to hover over the file and press the right mouse button. A contextual menu will appear.
- Hover your mouse pointer over properties and press the left mouse button.
- The common attributes will be listed near the bottom of the properties panel.

You can, of course, change more attributes. By clicking on the Advanced button, you can select more in a new panel:

Then simply change the attribute you desire:

The different types of attributes
Here is a list of some of the common attributes:
- Archive (A) – When enabled, it shows if it has changed since the last backup.
- Hidden (H) – Allows the user to hide it from being displayed in File Explorer.
- System (S) – This indicates whether or not the file is critical to the operating system.
- Read-only (R) – This sets the permission as to whether or not you can make changes to it.
- Compressed (C) – Windows can automatically compress the file when stored if enabled.
- Encrypted (E) – You can set this to enable encryption to prevent unauthorized access to the file.
- Directory (D) – This will mark it as a subdirectory.
- Offline (O) – Files will be moved to offline storage.
- Temporary (T) – Indicated whether it is used for temporary storage.
Of course, there are more of them. You can read more about the various types on Wikipedia.
How to change file attributes using the command prompt
You can change any file attribute using the attrib command.
An example of the command (In this case, how to remove the read-only attribute of a file):
attrib -R examplefile.txt
A more comprehensive list of attributes (as per the command line window help in Windows):
+ Sets an attribute.
- Clears an attribute.
R Read-only file attribute.
A Archive file attribute.
S System file attribute.
H Hidden file attribute.
O Offline attribute.
I Not content indexed
X No scrub file attribute.
V Integrity attribute.
P Pinned attribute.
U Unpinned attribute.
B SMR Blob attribute.
[drive:][path][filename] Specifies a file or files for attrib to process.
/S Processes matching files in the current folder and all subfolders.
/D Processes folders as well.
/L Work on the attributes of the Symbolic Link versus the target of the Symbolic Link.
Attribute changer software
Although installing software to change file attributes isn’t necessary, sometimes doing this helps make things a little easier and more organized for some users.
A free program called Attribute Changer is free for personal and commercial use but relies on donations to help keep them going.
Related tips
How to change file details in Windows 10
- Right-click on it in Windows File Explorer.
- Left-click on ‘Properties’ in the contextual menu.
- Left-click on the ‘Details’ tab.
- Left-click on the value you wish to change and edit it.
- Left-click on ‘Apply’ or ‘OK’ to finish.
How to change file author in Windows 10
- Open the file details explained in the previous question.
- Left-click on the ‘Author’ value and edit it to the name you want.
- Left-click on ‘Apply’ or ‘Save’ to finish.
Conclusion
There are an endless amount of reasons as to why you would need its attributes.
Being able to change them quickly is important. As long as you are able to gain access to the file, you will be able to change the attribute to suit your needs.