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“.
To make all hidden files visible & to make all grayed out options re-accessible use below command:
E:\>attrib -s -h /s /d
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:\>
E:\>attrib -s -h /s /d
Comments