Attrib Command Error not resetting system file

When we use attrib command to change read-only or hidden attributes of a system file, we get the error “Not resetting system file“.
Examples:
E:\>attrib test.txt
A  S         E:\test.txt
E:\>attrib +R test.txt
Not resetting system file - E:\test.txt
E:\>attrib +H test.txt
Not resetting system file - E:\test.txt
E:\>
We can fix this problem by adding extra ‘+S ‘ to the attrib command.

E:\>attrib +R test.txt
Not resetting system file - E:\test.txt
E:\>attrib +R +S test.txt
E:\>attrib test.txt
A  S R       E:\test.txt
E:\>
To make all hidden files visible & to make all grayed out options re-accessible use below command:
E:\>attrib -s -h /s /d

Comments

Popular posts from this blog

Linux File and Directory Permissions

How to Disable SSL for Webmin

INSTALL CISCO VPN CLIENT ON WINDOWS 10 (32 & 64 BIT). FIX REASON 442