Category - Windows Fileserver

All About Windows Fileserver.

Change how permissions are handled when you copy and move files and folders

Did you ever move a file or folder to another location within the same volume and wonder why it didn’t inherit the NTFS permissions of the new parent folder? That’s because this behaviour is by design.

Microsoft states: „When an object is moved within the same volume, the object preserves its permissions by default.“ and „When you copy or move an object to another volume, the object inherits the permissions of its new folder.“

You can change either behaviour with a simple registry modification. As always make sure you have a backup of your registry before proceeding.

If you want your moved files and folders to always inherit the NTFS permission of their new parent folder, add this value:

  1. Click Start, click Run, type regedit, and then press ENTER.
  2. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
  3. On the Edit menu, click Add Value, and then add the following registry value:

    Value name: MoveSecurityAttributes
    Data type: DWORD
    Value data: 0
Whit this value objects will always inherit the NFTS permissions of their parent folder

If you want your moved files and folder to retain their NFTS permissions, add this registry key:

  1. Click Start, click Run, type regedit in the Open box, and then press ENTER.
  2. Locate and then click the following registry key:HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
  3. On the Edit menu, click Add Value, and then add the following registry value:

    Value name: ForceCopyAclwithFile
    Data type: DWORD
    Value data: 1