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:\>
{ 5 comments… read them below or add one }
E:\>attrib -s
Reply to the above comment:
What if we don't want to remove system attribute?
Instead of removing system attribute and setting it again, we can just use +R +S.
thats good.
just attrib -s -h /s /d
all hidden files can now be seen and no option is greyed out.
Thanks . Its working for me.
attrib -s -h /s /d is working perfectly