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
If you are over that, powershell or CMD commands may not work properly.
You can use your Windows Explorer to easily check that. It may take some time if you are near that upper limit number.
