PC Review


Reply
Thread Tools Rate Thread

Batch file for share permissions

 
 
Shane
Guest
Posts: n/a
 
      5th Sep 2006
Hi

I am looking for a way to change share permissions on folders via a batch
file . I have found xcacls works fine for security but not shares (as far as
I can tell). Any ideas?


 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      5th Sep 2006

"Shane" <(E-Mail Removed)> wrote in message
news:44fd3ecf$(E-Mail Removed)...
> Hi
>
> I am looking for a way to change share permissions on folders via a

batch
> file . I have found xcacls works fine for security but not shares (as far

as
> I can tell). Any ideas?
>
>


Under Windows 2003 server you can use "net share".
Under previous Windows OSs you can youse setacl.exe
(www.SourceForge.net) - if you can wrap your mind
around the terribe user interface. Good luck!


 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      5th Sep 2006

"Shane" <(E-Mail Removed)> wrote in message
news:44fd3ecf$(E-Mail Removed)...
> Hi
>
> I am looking for a way to change share permissions on folders via a

batch
> file . I have found xcacls works fine for security but not shares (as far

as
> I can tell). Any ideas?
>


A much better alternative is to set the share
permissions to "Full Control" for everyone and
apply appropriate NTFS restrictions. They are
vastly superior anyway!


 
Reply With Quote
 
Shane
Guest
Posts: n/a
 
      5th Sep 2006
Cheers
"Pegasus (MVP)" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "Shane" <(E-Mail Removed)> wrote in message
> news:44fd3ecf$(E-Mail Removed)...
>> Hi
>>
>> I am looking for a way to change share permissions on folders via a

> batch
>> file . I have found xcacls works fine for security but not shares (as far

> as
>> I can tell). Any ideas?
>>
>>

>
> Under Windows 2003 server you can use "net share".
> Under previous Windows OSs you can youse setacl.exe
> (www.SourceForge.net) - if you can wrap your mind
> around the terribe user interface. Good luck!
>
>



 
Reply With Quote
 
Shane
Guest
Posts: n/a
 
      5th Sep 2006
thx but I am governed by a higher power who "knows better"
"Pegasus (MVP)" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>
> "Shane" <(E-Mail Removed)> wrote in message
> news:44fd3ecf$(E-Mail Removed)...
>> Hi
>>
>> I am looking for a way to change share permissions on folders via a

> batch
>> file . I have found xcacls works fine for security but not shares (as far

> as
>> I can tell). Any ideas?
>>

>
> A much better alternative is to set the share
> permissions to "Full Control" for everyone and
> apply appropriate NTFS restrictions. They are
> vastly superior anyway!
>
>



 
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
batch file for share permissions Shane Microsoft Windows 2000 CMD Promt 7 20th Oct 2006 07:44 PM
batch file share Permissions w2k Shane Microsoft Windows 2000 Security 1 8th Sep 2006 04:58 AM
Batch file to set user permissions karenas5@hotmail.com Microsoft Windows 2000 CMD Promt 3 2nd Feb 2005 04:47 PM
Permissions Batch File SLingerUK Microsoft Windows 2000 Security 2 31st Jul 2004 06:53 PM
Create a folder and share with specific permissions via batch? Jim Rodgers Microsoft Windows 2000 CMD Promt 1 23rd Aug 2003 05:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:19 PM.