My 8 year old HDD have folders that i can't open

Ordan

Commendable
Jan 25, 2017
122
0
1,710
As i said i uncovered my old HDD to take a look what's in it and get some storage.
And i tried to open some folders and it said ''acces denied'' (i have different lang. on my windows, i hope i have it right)
What can i do with it?
 
Solution
Open an administrative command prompt. (right click command prompt and select run as administrator)
Go to the drive you would like to edit/change the attributes of. (Or consequently, got to the parent folder of the folders you cant get into)
Type attrib
See what attributes are on the folder/files.
Make sure you remove any read only or system attributes attributes with attrib -r -s X:\ (X:\ is the drive or directory you are trying to access.)
After read only and system attributes have been removed, Take ownership with in the command prompt by typing TAKEOWN /F X:\ /R /D Y
Now reset you access control lists (ACLs) for the drive with ICACLS "X:\" /reset /T

th3p00r

Respectable
Sep 7, 2016
445
0
1,960
right click the folder > properties > Security tab > Edit (add your user to it and check full a full control).
if that does not work:
right click the folder > properties > Security tab > Advanced > Owner > Edit > select your user and check replace owners....
Log off and log back on.
 

Ordan

Commendable
Jan 25, 2017
122
0
1,710
th3p00r it doesn't work, i dunno why but it seems it was set like that in the windows that are in drive (i have old windows in it) and i cannot boot it up because booting files for systems seems corrupted.
 
Open an administrative command prompt. (right click command prompt and select run as administrator)
Go to the drive you would like to edit/change the attributes of. (Or consequently, got to the parent folder of the folders you cant get into)
Type attrib
See what attributes are on the folder/files.
Make sure you remove any read only or system attributes attributes with attrib -r -s X:\ (X:\ is the drive or directory you are trying to access.)
After read only and system attributes have been removed, Take ownership with in the command prompt by typing TAKEOWN /F X:\ /R /D Y
Now reset you access control lists (ACLs) for the drive with ICACLS "X:\" /reset /T

 
Solution