takeown only works on some files


  1. Posts : 2
    windows 7 ultimate
       #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.
      My Computer


  2. MDR
    Posts : 30
    windows 7 64bit
       #2
      My Computer


  3. Posts : 17,322
    Win 10 Pro x64
       #3
      My Computer


  4. Posts : 2
    windows 7 ultimate
    Thread Starter
       #4

    Searching there only turned up a bunch of vista links. But I found a similar thing here:
    Add Take Ownership Option Shortcut in Right Click Menu of Windows 7

    I installed it and for some reason that works when the command line didn't. Still, it's done, so thanks.
      My Computer


  5. Posts : 17,322
    Win 10 Pro x64
       #5

    Glad to hear you got it figured out.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:38.
Find Us