Jerold
Tue Sep 13 07:22:11 CDT 2005
On Tue, 13 Sep 2005 12:37:50 +0530, "Katheryne" <smraj@wyse.com> wrote:
>Hi ,
> I could write a script to create a newuser but unable to deny the
>permissions like "Read &
> Execute","List Folder Contents","Read" Permisions for this User.Please
>Help.
> Thanks,
>Kathy
>
Use CACLS.EXE, built into all the NT-based oses or XCACLS.vbs.
See tips 1556 » How do I use CACLS in batch?
and 8225 » The Extended Change Access Control List tool (Xcacls.vbs) has been enhanced and replaces Xcacls.exe.
in the 'Tips & Tricks' at
http://www.jsifaq.com
Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com