Change File and Folder Ownership in Windows 11 NTFS

This guide explains how to take ownership and assign access permissions for files and folders formatted with the NTFS file system in Windows 11. Managing NTFS ownership allows administrators and users to regain control over locked, inaccessible, or legacy files and configure specific Read, Write, or Full Control permissions for designated user accounts using either the graphical interface or the command line.


Method 1: Using Windows 11 File Explorer (GUI)

Step 1: Take Ownership

  1. Open File Explorer and navigate to the file or folder you want to manage.
  2. Right-click the item and select Properties.
  3. Go to the Security tab and click the Advanced button near the bottom.
  4. Next to the Owner label at the top, click Change.
  5. In the Enter the object name to select box, type your Windows username (or Administrators for administrator-wide ownership).
  6. Click Check Names to validate the account, then click OK.
  7. (Optional for folders) Check the box for Replace owner on subcontainers and objects to apply ownership to all files and subfolders within.
  8. Click Apply, then click OK.

Step 2: Assign Access Permissions

  1. In the Properties window, stay on the Security tab and click Edit (or Advanced > Add for advanced permission rules).
  2. Click Add to include a new user or select an existing user/group from the list.
  3. In the lower pane under Permissions for [User], check the Allow box for Full control (or select specific permissions such as Modify, Read & execute, or Write).
  4. Click Apply, then click OK to close all dialogue windows.

Method 2: Using Command Prompt (CLI)

For faster execution or batch processing, you can use built-in Windows command-line utilities.

  1. Press the Windows Key, type cmd, right-click Command Prompt, and select Run as administrator.
  2. Take Ownership:
    • For a single file:

      takeown /F "C:\Path\To\File.ext"
    • For a folder and all its contents:

      takeown /F "C:\Path\To\Folder" /R /D Y
  3. Assign Full Control Permissions:
    • For a single file:

      icacls "C:\Path\To\File.ext" /grant username:F
    • For a folder and all its contents:

      icacls "C:\Path\To\Folder" /grant username:F /T

(Replace C:\Path\To\... with the actual file or folder path and username with your specific Windows account name.)