When transferring a hard drive, that uses NTFS permissions, from an one computer to another, you will need to change the file and folder security to gain access.
1. You need to take ownership of the files and folders.
takeown.exe /u (username) /r /f (foldername/) /s (computer name)
2. you need to apply the NTFS security of the new computer to the files and folders
If inheritance is combined with /T (traverse subfolders) the change will apply to all folders, not just the top level.
for example:
icacls “C:\demo\example” /inheritance:e /T
Will traverse all subfolders below”C:\demo\example” and enable the inheritance for every one, this will replace any inheritance permissions that have been removed.