copy permissions from one folder to another folder (Windows)

There are several ways to do this:

The easiest way is to use powershell command:

get-acl \SOURCE/FOLDER | set-acl \TARGETFOLDER

You can also use iCACLS to backup the permission to a file and restore it.

#backup
icacls d:data /save ntfsperms.txt
#restore
icacls d: /restore ntfsperms.txt

Note: icacls doesn’t support restore drive root permission

3 thoughts on “copy permissions from one folder to another folder (Windows)

  1. Gota

    Great article, I found a tool from 2 years can do this task easily via few clicks, I use it to copy the permissions from our site(windows server 2016) to windows server 2019

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *