快速业务通道

win2003文件夹权限设置脚本代码

作者 佚名 来源 批处理 浏览 发布时间 2013-07-09
[/code]
@echo off
color 0a
title windows 2003文件夹权限设置 by ╰☆孤影☆╮
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:\Windo

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号