Unable to Remove System Attribute - Not resetting hidden file

A

adamAmiga0

I had a directory that had both the hidden and system attributes. I wanted it to be visible. I kept trying to fix each of these individually using the Attribute command:


ATTRIB -S C:\X

ATTRIB -H C:\X



And each time, I got back the message it wouldn't be done:


Not resetting hidden file - C:\X


So attempts to unhide or "un-system" it via the administrative level command prompt returned the same error. Controlled folder access was not enabled, so that wasn't an issue. Also, ownership and full control were already set correctly.


In the end, the solution was to change both attributes at the same time (to not hidden and not system):


ATTRIB -H -S C:\X


That fixed it.


I post this here since I spent more time searching for a solution than with the problem itself. It was a post at How to prevent Robocopy from hiding your files and how to fix it when it does that pointing me in the right direction.

Continue reading...
 
Back
Top Bottom