Problem solve Get help with specific problems with your technologies, process and projects.

Have your files and folders list your account as the object's owner

Learn three options you can use to ensure the files and folders you create list you as the object's owner.

More one file management
Learn how to read an external file and create folders programmatically from a list of names.

Visit our topical resource center for news, tips and research on file management.
When you create a file or folder, your account should be listed as the object's owner.

On an NTFS volume, every object (file or folder) has an owner. By default, the owner is supposed to be the user account that created the object. The newly created object looks into the access token of the user creating the object, finds the SID stored in the token's Owner field, then places that value into the new objects ownership field.

However, there is an exception to the rule. If the account used to create the object is a member of the Administrators group or Domain Administrators group, the ownership field in that user's token contains the SID for the group, not the SID for the individual user account. As such, any object created by that admin account will have its ownership field filled in with the admin group name, not the user's accounts. Nice, huh?

According to Microsoft, "The assumption is that administrative accounts are used only to administer the system and not for any individual purpose. As a result, objects created by one administrator can be managed by other administrators in the same group."

If you need to have your account set as the object's owner, you have three options:

  1. Take ownership of the file after it has been created.

  2. Remove your account from the Domain Administrators or Administrators groups.

  3. Use a script or third-party product to change the owner on your files.

About the author: Tim Fenner (MCSE, MCSA: Messaging, Network+ and A+) is a senior systems administrator who oversees a Microsoft Windows, Exchange and Office environment, as well as an independent consultant who specializes in the design, implementation and management of Windows networks.

Dig Deeper on Windows Server storage management

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.