If you use the cacls command, there is an edit option (/E ?) instead of
replace. Of course you want to edit the permissions not replace it which I
believe is the default.

 

  _____  

From: Matthew McComas [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 04, 2008 4:43 PM
To: NT System Admin Issues
Subject: need to remove "everyone" group from the ACL of a long list of
folders

 

 

I've tried to use xcacls.vbs with this command string on a test folder, but
instead of just removing the "Everyone" group from the ACL, it removes all
groups and users from the ACL:

 

cscript xcacls.vbs d:\home\testfolder /r "Everyone"

 

Basically what I'm trying to do via a script is remove the "Everyone" group
from the ACL of about 1000 folders.  I just need the correct command/syntax
to build the script and run with it.

 

Any tips would be great.

 

Thanks,

MM

 

 







 
    

~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to