Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
682 B

@if "%_echo%" == "" echo off
set domains=africa europe fareast middleeast northamerica ntdev redmond segroup southamerica southpacific wingroup
md template
cacls template /g "administrators:f"
cacls template /e /g "Creator owner:f"
for %%i in (%domains%) do cacls template /e /g "%%i\%%i-winweb-winsd-rw:r" "%%i\%%i-winweb-winsd-ro:r" "%%i\sd_dev:r" "%%i\sd_ro:r"
rem for %%i in (%domains%) do cacls template /e /g "%%i\%%i-winweb-winsd-ro:r"
razacl /createsddl /sddlfile:sourceacl.txt /root:template
razacl /createsddl /sddlfile:binariesacl.txt /root:template
rem rd template
echo sourceacl.txt and binariesacl.txt created. Move them to %_NTBINDIR%\tools