I have a new Windows 7 system (migrating from XP). Need to copy some files from the old HDD, but am getting "access denied".
I'd like to change permissions on all files/folders on the D drive, so I opened cmd
and issued:
attrib -r d:\*.* /s /d
This returns "Access denied" on every file it attempts to touch.
What am I doing wrong?
Best Answer
This is probably related to the NTFS permissions on the old drive (files) still reflecting the old system.
To fix this, try taking ownership of the files (try just one first and see if that works), the same procedure works for entire directories or drives.