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