PC Review


Reply
Thread Tools Rate Thread

Controlling ACE for a file from a script

 
 
Thomas Iwang
Guest
Posts: n/a
 
      10th Nov 2003
Hi folks
I have a problem - I am trying to create an vbs
script which can modify the DACL for an given file - but I
am not sure how to do - can somebody help?? I cannot use
cacls.exe because I need to set permissions for a file
for some special users like NT Authority\SYSTEM - and this
gives me a little challange.
What I need is a simple script (just a sample) which shows
how to remove the ACE from a DACL for BUILTIN\Users and
setting the permission for the virtual NT AUTHORITY
account SYSTEM to Read & Write on an given file dummy.txt.
Hast somebody an sample I can reuse for my purpose ??

Kind regards
Thomas Iwang

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Controlling where a script is placed Nathan Sokalski Microsoft ASP .NET 3 16th Mar 2009 09:35 PM
Controlling ComboBox from VBA-script =?Utf-8?B?U8O2cmVuX01hcm9kw7ZyZW4=?= Microsoft Excel Programming 2 23rd May 2007 07:05 AM
Outlk 2k3 Script: Saving Excel File programticaly from OUTLOOK SCRIPT news.microsoft.com Microsoft Outlook VBA Programming 3 22nd Nov 2006 03:33 PM
Controlling a rule from a script =?Utf-8?B?YmlsbHNj?= Microsoft Outlook Form Programming 1 6th Aug 2005 07:50 AM
Controlling ACE for a file from a script Thomas Iwang Microsoft Windows 2000 CMD Promt 7 28th Nov 2003 05:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:59 AM.