You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
user 'karl'
About this tag
This tag collects content related to the Windows user account named 'karl'. The single thread under this tag discusses a specific file ownership scenario: a user wants to change ownership of files and folders only when the current owner is 'karl' (or a corresponding SID), using commands like takeown. The thread explores methods to selectively replace the owner 'karl' with 'Administrators' while preserving existing permissions. The tag is relevant for Windows administrators or power users dealing with granular ownership management in NTFS file systems, particularly when multiple user accounts are present in a directory tree.
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...
admin rights
administrator
command line
directory tree
file management
folder permissions
ownership
ownership issues
permissions
security
sid
takeown
unknown useruser 'karl'
user account
windows 10
windows 11
windows commands