Win2003 folder permissions setting script code _dos/bat

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]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.