I'm trying to find the correct commands to reset each of my hard drives permissions to remove all of the incorrect, outdated groups/usernames that have built up on folders over time and reset the permissions to their defaults.
I've tried running commands like:
TAKEOWN /F F:\ /R /D Y
It appears to work but doesn't help,
I also tried the likes of:
icacls "F:\Example" /reset /T
But permissions are deneid because files are read-only for some reason so I need to reset the permissions too but it doesn't appear to work...
attrib -H -S F:\*.* /S /D