We help IT Professionals succeed at work.

How to backup ACL permissions and restore its in Windows 2003?

Hi,

Recently by mistake the whole securities groups have been removed from parent folder and child folder in Windows 2003 file server.

How can I backup ACL permissions and restore if it happen again? Is it possible?
Comment
Watch Question

Leon FesterSenior Solutions Architect

Commented:
Most backup software stores the ACL when you backup the folders.
Restore the folders from backup with the permissions.

Author

Commented:
The prob with the folder restoration option is the lack of space on the server.
yo_beeDirector of Information Technology
CERTIFIED EXPERT

Commented:
do you have a Powershell installed.

If so you can try something like this
Get-ChildItem C:\Scripts -recurse | ForEach-Object {Get-Acl $_.FullName} | Export-csv <FILENAME>

Open in new window

Author

Commented:
No powershell is not installed... and will be difficult to get it install. Thanks anyway for suggestion.
Leon FesterSenior Solutions Architect

Commented:
Try dumpsec from systemtools, it can export the permissions on the desired objects.
http://www.somarsoft.com/
If you are using Windows Server 2003 SP2, you can use the Microsoft iCacls.exe utilitiy. I believe it is installed with this service pack and resides in the System32 folder.

To backup: icacls c:\folder\* /save aclfile /t

To restore: icacls c:\folder\ /restore aclfile

If you are using Windows Server 2003 prior to SP2 then you could use the Microsoft SubInAcl tool (subinacl download), although this is more complex to use.

Another tool you could use prior to SP2 is FileAcl (FileAcl homepage) which is a non-Microsoft utility with a reasonably straight forward command line.

Author

Commented:
Thank you very much for your recommendation!