|
-
Nov 27th, 2012, 03:48 PM
#1
Thread Starter
Hyperactive Member
Adding EVERYONE/FULL to all NTFS permissions
Hello, All.
A group in my company needs to backup user profiles on workstations before those workstations are reloaded with Windows. It is pretty easy to do this in the GUI by taking ownership of the profiles, and then adding the EVERYONE group to all folders/files with full permissions. I have been attempting to do this with a batch file, but it does not work as expected.
The command below should grant (and replace) the EVERYONE group on all files/folders and subfolders, and then add FULL permissions to the group. The command is run within the USERS folder, and let I it recurse the directories below updating the ACLs. After the routine ends and I check the permissions, the EVERYONE group is there, but the permissions are not added. They are blank. 
Code:
icacls * /t /grant:r everyone:f
Could someone point me in the right direction to make this command work correctly beneath USERS? I am running this command on Windows 7 against external hard drives that can vary by OS (Vista, XP, or 7).
Thanks,
Q
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|