Resetting Windows NTFS Ownership and Permission to Default
I moved an external hard drive from from one computer to another, and discovered that I could not access to any of the folders. The file system is NTFS. As suggested by this post, I completed the following steps to set all folders to the Windows default from Windows Command Prompt as an Administrator, and regained access to the files.
takeown /F D: /R /D
icacls "_Files" /reset /T
The first command above is to take the ownership. The noticeable effect of the second command is to assign full access to everyone.