Dude! That rocks! 

Thanks,
Michael

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Coleman, Hunter
Sent: Friday, March 19, 2004 3:19 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Changing ACLs via VBscript

 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/
wmi/win32_logicalfilesecuritysetting.asp

Two methods shown there, one for getting the SD and the other for
setting the SD, with some sample code as well.

Hunter
 
 

________________________________

From: Michael B. Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, March 19, 2004 1:01 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Changing ACLs via VBscript



Yes sir, that's what I currently use. I'm trying to figure out how to do
it
in script, without an external program.


________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jimmy Andersson
Sent: Friday, March 19, 2004 2:46 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Changing ACLs via VBscript



Take a look at CACLS it can modify the DACL on files.

Regards,

/Jimmy

-------------------------------------
    Jimmy Andersson, Q Advice AB        
         Principal Advisor    
 Microsoft MVP - Directory Services
---------- www.qadvice.com ----------




________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael B.
Smith
Sent: Friday, March 19, 2004 8:38 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Changing ACLs via VBscript



Thanks very much.

Joe, you, and Jimmy were very helpful about setting ACE's on A/D objects
--
anyone have similar information for files??

Michael


________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Coleman, Hunter
Sent: Tuesday, March 16, 2004 9:58 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Changing ACLs via VBscript



http://www.rallenhome.com/books/ad2e/code.html

Check the Chapter 23 scripts. They'll be a bit obtuse without the
benefit of
the explanations in the book, but that's a good reason to buy the book
:-)

Hunter


________________________________

From: Michael B. Smith [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 16, 2004 7:42 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Changing ACLs via VBscript



Oh yes, I know the script center well.

I don't see anything on there about ACE's or ACL's.

Thanks,

Michael


________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jimmy Andersson
Sent: Tuesday, March 16, 2004 9:13 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Changing ACLs via VBscript



Have you seen these?

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script5
6/ht
ml/vtoriVBScript.asp

http://www.microsoft.com/technet/community/scriptcenter/default.mspx

Regards,

/Jimmy

-------------------------------------
    Jimmy Andersson, Q Advice AB        
         Principal Advisor    
 Microsoft MVP - Directory Services
---------- www.qadvice.com ----------




________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael B.
Smith
Sent: Tuesday, March 16, 2004 2:59 PM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] Changing ACLs via VBscript



I need to change both file ACLs and Exchange permissions within vbscript
(for Windows 2000 and 2003, and Exchange 2000 and 2003).

I know how to do everything I want manually, but the GUI is too slow and
error prone for the volume I've got going on...

I've been unable to find a website that discusses doing this, or any
online
resources to really help.

Does anyone have any suggestions, either online or books?

Thanks.

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to