批处理设置windows服务器的代码ThecSafe1.9.4第1/3页
作者 佚名
来源 批处理
浏览
发布时间 2013-07-09
stemRoot%/repair"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/Resources"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/security"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/system"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/TAPI"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/twain_32"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/Web"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/system32/3com_dmi"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/system32/administration"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/system32/Cache"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/system32/CatRoot2"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/system32/Com"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/system32/config"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/system32/dhcp"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/system32/drivers"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/system32/export"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/system32/icsxml"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/system32/lls"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/system32/LogFiles"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/system32/MicrosoftPassport"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/system32/mui"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/system32/oobe"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/system32/ShellExt"/r"users"/e @Remcscript.exexcacls.vbs"%SystemRoot%/system32/wbem"/r"users"/e这里影响.NET程序的正常运行,所以去掉! Rem添加IIS_WPG的访问权限 cscript.exexcacls.vbs"%SystemDrive%"/gIIS_WPG:;b468/e cscript.exexcacls.vbs"%SystemRoot%"/gIIS_WPG:b1468;b1468/e cscript.exexcacls.vbs"%SystemDrive%/ProgramFiles"/gIIS_WPG:r/e cscript.exexcacls.vbs"%SystemRoot%/DownloadedProgramFiles"/gIIS_WPG:c/e cscript.exexcacls.vbs"%SystemRoot%/Help"/gIIS_WPG:c/e cscript.exexcacls.vbs"%SystemRoot%/IISTemporaryCompressedFiles"/gIIS_WPG:c/e cscript.exexcacls.vbs"%SystemRoot%/OfflineWebPages"/gIIS_WPG:c/e cscript.exexcacls.vbs"%SystemRoot%/System32"/gIIS_WPG:c/e cscript.exexcacls.vbs"%SystemRoot%/Tasks"/gIIS_WPG:c/e cscript.exexcacls.vbs"%SystemRoot%/Web"/gIIS_WPG:c/e Rem添加iis_wpg的访问权限[装了MACFEE的软件专用] Remcscript.exexcacls.vbs"%SystemDrive%/ProgramFiles/NetworkAssociates"/gIIS_WPG:r/e Rem添加users的访问权限 cscript.exexcacls.vbs"%SystemRoot%/temp"/gEveryone:m/e cscript.exexcacls.vbs"%SystemDrive%/ProgramFiles/CommonFiles"/gUsers:r/e cscript.exexcacls.vbs"%SystemRoot%/Microsoft.NET/Framework"/gusers:b1468;b1468/e Rem禁止[列出文件夹/读取数据]此权限出现 Rem------------------------------------------- Rem添加Users的访问权限[装了PHP的服务器专用] cscript.exexcacls.vbs"C:\php5"/gusers:b468;b468/e cscript.exexcacls.vbs"%SystemRoot%/system32"/r"users"/e cscript.exexcacls.vbs"%SystemRoot%/System32"/gusers:b468;b468/e Rem------------------------------------------- Rem删除D盘的所有的users的访问权限 cscript.exexcacls.vbs"D:\"/r"users"/e cscript.exexcacls.vbs"D:\"/r"everyone"/e cscript.exexcacls.vbs"D:\"/r"CREATOROWNER"/e Rem删除E盘的所有的u |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
关于批处理设置windows服务器的代码ThecSafe1.9.4第1/3页的所有评论