• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

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

原作者: [db:作者] 来自: [db:来源] 收藏 邀请
[/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:\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]

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
清理Windows服务器的垃圾文件的批处理发布时间:2022-02-11
下一篇:
迅雷快车旋风下载专用链转换批处理代码发布时间:2022-02-11
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap