Backup And Restore Object Security (Icacls)

Tanyam

New member
Joined
Nov 2, 2011
Messages
2
Location
Australia
Hi,

noob question..

I used icacls * /save /T /C /L /Q to back up the security of each of the objects. I have 13 volumes so there are 13 iterations of the command, which is run through a cmd file and backed up on a weekly basis via the task scheduler

The only error is the system information object which is never saved.

When I try to restore the security it fails.

For example, My photos drive is V:\

To back up security from the root of v:\ - icacls * /save c:\acl_back\photos.txt /T /C /L /Q

Restoring the DACLS requires the directory parameter.

Since the backup is taken from the root of the volume, there are litterally hundreds of directories/folders.

I tried icacls \* /restore c:\acl_back\photos.txt /C /L /Q but it fails and will not restore any security.

What am I doing wrong?

With litterally thousands of folders accross 13 volumes it would really help if I can restore the security at a volume level rather than a folder level.

Why am I doing this? I am trying to get coldfusion 9.0.1 x64 running with IIS 7.5, WSUS 3.0, and with MS Access 32 bit drivers. THis is a rare combination, and support is limited. Also, I only get one shot at it. If I uninstall CF after something doesn't work, I can't reinstall CF properly again. I've never been able to figure out why, even with the help of several people on adobe and other forums. So a resinstall of Windows has been the only way to get things to work again. So I want to back up my shares and security so that I don't have to spend the better part of two days having torebuild it manually.

thanks
Tanya
 
Back
Top