Click here to get back home

win2k3 server - set advanced permissions CLI

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
win2k3 server - set advanced permissions CLI Jason 12-11-2005
Posted by Jason on December 11, 2005, 1:28 am
Please log in for more thread options
Here are the requirements:

1. Set a folder not to inherit permissions from parent folder.

2. Remove all existing permissions from the folder.

3. Set two advanced security permissions on a folder, Traverse Folder /
Execute File and List Folder / Read Data, for the Everyone group.

4. Give the Adminstrators group Full Control.

5. Force these permissions on all child folders and objects.

5. Do all this from command line.

Sound easy? It is kicking my butt. I've tried cacls and xcacls but they
don't get down to the detail i need. I tried creating my own Security
Policy, naming the files and specific permissions i wanted to apply, applied
the newly created policy to the machine's group policy...no luck (first shot
at that, don't really know what i'm doing).

Help?

Thanks!

Jason





Posted by Roger Abell [MVP] on December 11, 2005, 9:57 am
Please log in for more thread options
Go to microsoft.com/downloads and get
cacls.vbs
(note: the IS .vbs)
This has the granularity you need, and also provides
example of setting pretty much any possible ACE
from script.


> Here are the requirements:
>
> 1. Set a folder not to inherit permissions from parent folder.
>
> 2. Remove all existing permissions from the folder.
>
> 3. Set two advanced security permissions on a folder, Traverse Folder /
> Execute File and List Folder / Read Data, for the Everyone group.
>
> 4. Give the Adminstrators group Full Control.
>
> 5. Force these permissions on all child folders and objects.
>
> 5. Do all this from command line.
>
> Sound easy? It is kicking my butt. I've tried cacls and xcacls but they
> don't get down to the detail i need. I tried creating my own Security
> Policy, naming the files and specific permissions i wanted to apply,
> applied the newly created policy to the machine's group policy...no luck
> (first shot at that, don't really know what i'm doing).
>
> Help?
>
> Thanks!
>
> Jason
>
>
>
>



Similar ThreadsPosted
MSDTC fails on Windows 2000 Advanced Server SP4 December 19, 2005, 3:10 pm
WIN2K3 SP1 for a web server I am deploying October 3, 2005, 7:10 am
Win95 SR1 logon to win2K3 Server AD August 29, 2005, 1:48 pm
Cached credentials win2k3 server April 16, 2008, 6:22 am
Windows Media Player vulnerability in Win2K3 Server with SP2 October 25, 2007, 2:06 pm
PKI difference between "Advanced Certificate Request" May 28, 2008, 10:38 am
Firewall difference form exception and advanced setting serivce April 28, 2007, 10:49 am
Win2k3 SP1- Removing Ctrl+Alt Del June 28, 2005, 1:55 pm
Win2k3/IIS Kerberos challenges December 22, 2005, 1:42 pm
xp to win2k3 printing problem July 27, 2006, 5:00 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap