Take Ownership only for files+folders of user "karl"?


  1. Posts : 244
    win7pro 64bit
       #1

    Take Ownership only for files+folders of user "karl"?


    Assume I have a huge directory tree with lots of files and folders.
    Some of them belong to (simplified) user "karl" (or unknown user "S-1-5-21-107808153") others not.

    When I execute now a command like

    takeown /f * /a /r /d y

    then ALL files+folders get the "Administrators" account as owner.
    I don't want this.

    I just want to change ownership ONLY for files+folders with owner "karl" (or unknown
    user "S-1-5-21-107808153").

    How can I achieve this?

    All the existing permissions should be kept.

    Maybe there is another command which allows an operation "replace user 'karl' with user 'Adminstrators'"?

    Peter
      My Computer


  2. Posts : 72,062
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Peter, :)

    If you like, you can use the "Take Ownership" context menu added from the tutorial below to make doing this easy. It will change the owner and give full permission to the current administrator account instead of the "Administrators" group.

    Take Ownership Shortcut - Windows 7 Help Forums
      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 12:32.
Find Us