New PC time! Hooray!

Oh wait… permission denied on accessing my old NTFS formatted drives I’ve moved to the new PC. Google to the rescue with this:

1. Run “cmd” as Administrator

2. Go to the drive or folder in question, for example:

CD /D D:

3. To reset all the files permissions, type:

icacls * /T /Q /C /RESET

4. And that’s it!

After that, the files permissions were reset and I could access them back again.

cacls is a handy tool to change permissions of files en masse.

Reference: http://support.microsoft.com/kb/318754

from: http://lallousx86.wordpress.com/2009/06/14/resetting-ntfs-files-security-and-permission-in-windows-7/