Home > Active Directory > How to Back Up and Restore NTFS and Share Permissions

How to Back Up and Restore NTFS and Share Permissions


Sometime we need backup sharing Permission and restore while you upgrade server to another server or upgrade from Old Windows 2003 to 2008 R2. you can backup using Image ghost and restore to target server, permission security will be installed after you upgrade to new server. but sometime you will be experience when doing restore. it’s impossible you add one by one security permission.

Backup and Restore of Share Permissions

1. Open Regedit to the following location:  HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares

2. Right-click the Shares registry key and select Export. Give it a file name such as Sharebackup.reg

When you want to restore the permissions, double-click sharebackup.reg to import it back into the registry.

Backup and Restore of NTFS Permissions

Use this command to backup NTFS permissions:

icacls d:\data /save ntfsperms.txt /t /c

The /T switch allows it to get subfolder permissions too. The /C switch allows it to continue even if errors are encountered (although errors will still be displayed).

Use this command to restore them:

icacls d:\ /restore ntfsperms.txt


d:\data are the target folder contain all NTFS Permission. icacls will be backup all contain NTFS permission include subfolder in folder data.  to restore you only point to target the folder.

Categories: Active Directory
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: