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?
LVL 1
SAM2009Asked:
Who is Participating?
 
matthew_kittleCommented:
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.
0
 
Leon FesterSenior Solutions ArchitectCommented:
Most backup software stores the ACL when you backup the folders.
Restore the folders from backup with the permissions.
0
 
SAM2009Author Commented:
The prob with the folder restoration option is the lack of space on the server.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
yo_beeDirector of Information TechnologyCommented:
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

0
 
SAM2009Author Commented:
No powershell is not installed... and will be difficult to get it install. Thanks anyway for suggestion.
0
 
Leon FesterSenior Solutions ArchitectCommented:
Try dumpsec from systemtools, it can export the permissions on the desired objects.
http://www.somarsoft.com/
0
 
SAM2009Author Commented:
Thank you very much for your recommendation!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.