脚本专栏 
首页 > 脚本专栏 > 浏览文章

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

(编辑:jimmy 日期: 2024/12/26 浏览:3 次 )
[/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]
上一篇:SunTB编写IP地址设置切换批处理
下一篇:在网上找的创建《CMD命令速查手册》的批处理
一句话新闻
高通与谷歌联手!首款骁龙PC优化Chrome浏览器发布
高通和谷歌日前宣布,推出首次面向搭载骁龙的Windows PC的优化版Chrome浏览器。
在对骁龙X Elite参考设计的初步测试中,全新的Chrome浏览器在Speedometer 2.1基准测试中实现了显著的性能提升。
预计在2024年年中之前,搭载骁龙X Elite计算平台的PC将面世。该浏览器的提前问世,有助于骁龙PC问世就获得满血表现。
谷歌高级副总裁Hiroshi Lockheimer表示,此次与高通的合作将有助于确保Chrome用户在当前ARM兼容的PC上获得最佳的浏览体验。