Taking Ownership problem?


  1. Posts : 2
    Windows 7 Home 32bit
       #1

    Taking Ownership problem?


    Hi,

    Before sending my dead laptop in for repairs, I pulled the drive and put it into an enclosure to copy some important files. But to access the files I found that my other computer had to change the ownership of the main folders.

    Here's my question: when I eventually reinsert the drive into the repaired laptop, will it work? The problem I forsee is that the primary user's folders (who is also the administrator) are now "owned" by the name of my other computer.

    Will this be an issue?

    Is there a way to "de-own" all the folders and files entirely, and therefore not worry about it?

    Thanks so much!
    Max
      My Computer


  2. Posts : 26,863
    Windows 11 Pro
       #2

    See if this tutorial will help. Take Ownership
      My Computer


  3. Posts : 2
    Windows 7 Home 32bit
    Thread Starter
       #3

    Thanks essenbe, but I already know how to take ownership.

    My question is about booting from a drive whose system folders are now "owned" by a different computer. Will it let me past the logon, etc..?

    best,
    Max
      My Computer


  4. Posts : 446
    windows 7 Pro 64Bit
       #4

    I may be mistaken, but when you take ownership of the files on the external drive the changes would only be present in the computer the "Take Ownership" command was run on. I have done this in the past with no ill effects once re-installed in the original computer again.
      My Computer


  5. Posts : 5,642
    Windows 10 Pro (x64)
       #5

    nitroman84 said:
    I may be mistaken, but when you take ownership of the files on the external drive the changes would only be present in the computer the "Take Ownership" command was run on.
    NTFS Permissions reside with the files and folders on the drive. Not with the OS installation. Thus when you use "Take Ownership" you are changing those permissions. This is why when you carry drives over from one installation to another they need to have their permissions reset.
      My Computer


  6. Posts : 6,285
    Windows 10 Pro X64
       #6

    You could use dir x:\*.* /q /s to record the current owner of each folder and file, then write a batch file using subinacl to restore them when done.

    For instance:
    C:\Users\rrkurtz>dir c:\* /q
    Volume in drive C is D370_C
    Volume Serial Number is C89E-70E8

    Directory of c:\

    05/21/2011 08:26 PM <DIR> BUILTIN\Administrators Brother
    12/12/2009 07:04 PM <DIR> BUILTIN\Administrators NVIDIA
    07/13/2009 11:20 PM <DIR> BUILTIN\Administrators PerfLogs
    05/24/2011 08:52 PM <DIR> NT SERVICE\TrustedInstaProgram Files
    05/12/2011 09:43 PM <DIR> NT SERVICE\TrustedInstaProgram Files (x86)
    05/09/2011 05:48 PM <DIR> BUILTIN\Administrators rexxprogs
    02/23/2010 12:46 AM <DIR> BUILTIN\Administrators STBak
    03/31/2011 08:18 PM <DIR> BUILTIN\Administrators Users
    05/29/2011 11:58 AM <DIR> NT SERVICE\TrustedInstaWindows
    0 File(s) 0 bytes
    9 Dir(s) 36,041,015,296 bytes free
    Pipe the output of dir /q to a file then edit it to add the appropriate subinacl statements or write a batch file that takes the dir /q output file as input, processing each line and issuing the subinacl command that way.
      My Computer


  7. Posts : 1,127
    Win7U 64 RTM
       #7

    Another approach you can take, rather than changing permissions is either use the Copy/Paste method here:

    Copy & Paste - in Windows Recovery Console

    Or just use a Linux live CD to copy the files to another drive.

    These links may also be helpful if you do change permissions:

    Resetting NTFS files security and permission in Windows 7 « lallous’ lab

    How to use Xcacls.exe to modify NTFS permissions

    http://www.google.com/search?q=win+7...x=&startPage=1

    James
      My Computer


  8. Posts : 1,127
    Win7U 64 RTM
       #8

    Just ran across this, which proved extremely helpful for some permission issues here. Granted, it would be on a much larger scale, but if all else fails:

    files locked!

    James
      My Computer


  9. Posts : 446
    windows 7 Pro 64Bit
       #9

    logicearth said:
    nitroman84 said:
    I may be mistaken, but when you take ownership of the files on the external drive the changes would only be present in the computer the "Take Ownership" command was run on.
    NTFS Permissions reside with the files and folders on the drive. Not with the OS installation. Thus when you use "Take Ownership" you are changing those permissions. This is why when you carry drives over from one installation to another they need to have their permissions reset.
    Well I stand corrected :)
      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 00:08.
Find Us