Win2003 folder permissions setting script code _dos/bat
Last Update:2017-01-18
Source: Internet
Author: User
[/code]
@echo off
Color 0a
Title Windows 2003 folder permissions setting by╰☆ Lone Shadow ☆╮
Echo.
Echo.
Echo.
cacls "C:\Windows"/R everyone/e
cacls "C:\Documents and Settings"/R everyone/e
cacls "C:\Documents and Settings\All Users"/R everyone/e
cacls "C:\Documents and Settings\All Users\Documents"/R everyone/e
cacls "C:\Inetpub\wwwroot\aspnet_client"/R everyone/e
cacls "C:\Documents and Settings\All Users\Application Data\Microsoft"/R everyone/e
cacls "C:\Documents and Settings\All Users\Application Data\microsoft\html Help"/R
everyone/e
cacls "C:\Windows"/R "CREATOR OWNER"/e
cacls "C:\Windows\repair"/R "CREATOR OWNER"/e
cacls "C:\Windows\system32"/R "CREATOR OWNER"/e
cacls "C:\Windows\system32\wbem"/R "CREATOR OWNER"/e
cacls "C:\Windows\system32\config"/R "CREATOR OWNER"/e
cacls "C:\Program Files"/r "CREATOR OWNER"/e
cacls "C:\Program files\windowsupdate"/r "CREATOR OWNER"/e
cacls "C:\Documents and Settings\All Users\Documents"/R "CREATOR OWNER"/e
cacls "C:\Documents and Settings\All Users\Application Data"/r "CREATOR OWNER"/e
cacls "C:\Windows"/R "Power Users"/e
cacls "C:\Windows\repair"/R "Power Users"/e
cacls "C:\Windows\system32"/R "Power Users"/e
cacls "C:\Windows\system32\wbem"/R "Power Users"/e
cacls "C:\Windows\system32\config"/R "Power Users"/e
cacls "C:\Program Files"/R "Power Users"/e
cacls "C:\Documents and Settings"/R "Power Users"/e
cacls "C:\Program files\windowsupdate"/R "Power Users"/e
cacls "C:\Documents and Settings\All Users"/R "Power Users"/e
cacls "C:\Documents and Settings\All Users\Documents"/R "Power Users"/e
cacls "C:\Documents and Settings\All Users\Application Data"/R "Power Users"/e
cacls "C:\Documents and Settings\All Users\Application Data\Microsoft"/R "Power Users"/e
cacls "C:\Documents and Settings\All Users\Application Data\microsoft\html Help"/R "Power
Users "/e
cacls "C:\Program Files"/r "TERMINAL SERVER USER"/e
cacls "C:\Documents and Settings\All Users"/R users/e
cacls "C:\Documents and Settings\All Users\Documents"/R users/e
cacls "C:\Documents and Settings\All Users\Application Data"/R users/e
cacls "C:\Documents and Settings"/R users/e
cacls "C:\Windows"/R users/e
cacls "C:\Windows\addins"/R users/e
cacls "C:\Windows\AppPatch"/R users/e
cacls "C:\Windows\Connection Wizard"/R users/e
cacls "C:\Windows\Debug"/R users/e
cacls "C:\Windows\Driver Cache"/R users/e
cacls "C:\Windows\Help"/R users/e
cacls "C:\Windows\IIS Temporary Compressed Files"/R users/e
cacls "C:\Windows\java"/R users/e
cacls "C:\Windows\msagent"/R users/e
cacls "C:\Windows\mui"/R users/e
cacls "C:\Windows\repair"/R users/e
cacls "C:\Windows\Resources"/R users/e
cacls "C:\Windows\security"/R users/e
cacls "C:\Windows\system"/R users/e
cacls "C:\Windows\TAPI"/R users/e
cacls "C:\Windows\twain_32"/R users/e
cacls "C:\Windows\Web"/R users/e
cacls "C:\Windows\system32\3com_dmi"/R users/e
cacls "C:\Windows\system32\administration"/R users/e
cacls "C:\Windows\system32\Cache"/R users/e
cacls "C:\Windows\system32\CatRoot2"/R users/e
cacls "C:\Windows\system32\Com"/R users/e
cacls "C:\Windows\system32\config"/R users/e
cacls "C:\Windows\system32\dhcp"/R users/e
cacls "C:\Windows\system32\drivers"/R users/e
cacls "C:\Windows\system32\export"/R users/e
cacls "C:\Windows\system32\icsxml"/R users/e
cacls "C:\Windows\system32\lls"/R users/e
cacls "C:\Windows\system32\LogFiles"/R users/e
cacls "C:\Windows\system32\MicrosoftPassport"/R users/e
cacls "C:\Windows\system32\mui"/R users/e
cacls "C:\Windows\system32\oobe"/R users/e
cacls "C:\Windows\system32\ShellExt"/R users/e
Pause
[Code]