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
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
At a glance
win7pro 64bit
- Computer type
- PC/Desktop
- OS
- win7pro 64bit