New
#1
takeown only works on some files
Hi everyone, I'm having a problem with the takeown command or with permissions in general.
I installed 64-bit Windows 7 Ultimate Version 6.1 (Build 7600) on a new machine that I built. I'm trying to copy files from my old hard-drive to the new one, but am having permissions problems.
After some research, I opened a command prompt as an administrator, and ran
takeown /f dir /a /r
On the dir I was trying to access. After that I moved the files to the new drive. It worked for the vast majority of files, but for about 100 of them it didn't. I tried running takeown on individual files, but even though it reports success:
SUCCESS: The file (or folder): "e:\Documents and Settings\User\Desktop\rnd.txt"
now owned by the administrators group.
I'm not able to do anything with the files - "access is denied".
There doesn't appear to be any consistent type of file or location that this fails with. Some .txt and .xls files, some .mp3, etc, when it worked with plenty of these file types already. Does anyone have any ideas? I'm hoping I'm just missing something obvious.
Thanks in advance.