服务器 安全设置 批处理
作者 佚名
来源 批处理
浏览
发布时间 2013-07-09
二个 复制代码 代码如下: echo. echo ------------------------------------------------------ echo. echo ........... echo. net share c$ /delete net share d$ /delete net share e$ /delete net share f$ /delete net share admin$ /delete net share ipc$ /delete net stop Server net start Server echo. echo .......... echo. echo ------------------------------------------------------ echo. echo ................. echo. echo .. delshare.reg ....... echo Windows Registry Editor Version 5.00> c:\delshare.reg echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters]>> c:\delshare.reg echo "AutoShareWks"=dword:00000000>> c:\delshare.reg echo "AutoShareServer"=dword:00000000>> c:\delshare.reg echo .. delshare.reg ..... regedit /s c:\delshare.reg echo .. delshare.reg .... del c:\delshare.reg echo . echo ........ echo . echo ========================================================= echo . echo .....................dos.... echo . echo ......... echo Windows Registry Editor Version 5.00> c:\dosforwin.reg echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]>> c:\dosforwin.reg echo "EnableICMPRedirect"=dword:00000000>> c:\dosforwin.reg echo "DeadGWDetectDefault"=dword:00000001>> c:\dosforwin.reg echo "DontAddDefaultGatewayDefault"=dword:00000000>> c:\dosforwin.reg echo "EnableSecurityFilters"=dword:00000000">> c:\dosforwin.reg echo "AllowUnqualifiedQuery"=dword:00000000>> c:\dosforwin.reg echo "PrioritizeRecordData"=dword:00000001>> c:\dosforwin.reg echo "ReservedPorts"=hex(7):31,00,34,00,33,00,33,00,2d,00,31,00,34,00,33,00,34,00,\>> c:\dosforwin.reg echo 00,00,00,00>> c:\dosforwin.reg echo "SynAttackProtect"=dword:00000002>> c:\dosforwin.reg echo "EnablePMTUDiscovery"=dword:00000000>> c:\dosforwin.reg echo "NoNameReleaseOnDemand"=dword:00000001>> c:\dosforwin.reg echo "EnableDeadGWDetect"=dword:00000000>> c:\dosforwin.reg echo "KeepAliveTime"=dword:00300000>> c:\dosforwin.reg echo "PerformRouterDiscovery"=dword:00000000>> c:\dosforwin.reg echo "EnableICMPRedirects"=dword:00000000>> c:\dosforwin.reg echo ....... echo ========================================================== echo .. dosforwin.reg ..... regedit /s c:\dosforwin.reg echo .. dosforwin.reg .... del c:\dosforwin.reg echo ============================================================== echo . echo ..........(......................). echo . echo ..telnet,......telnet. echo .......... echo Windows Registry Editor Version 5.00> c:\telnet.reg echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TlntSvr]>> c:\telnet.reg echo "Start"=dword:00000004>> c:\telnet.reg echo . echo .. telnet.reg ..... regedit /s c:\telnet.reg echo . echo .. telnet.reg .... del c:\telnet.reg echo . echo =============================================================== echo ..Remote Registry Service........... echo ......... echo . echo Windows Registry Editor Version 5.00> c:\regedit.reg echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteRegistry]>> c:\regedit.reg echo "Start"=dword:00000004>> c:\regedit.reg echo . echo .. regedit.reg ..... regedit /s c:\regedit.reg echo . echo ...... del c:\regedit.reg echo =============================================================== echo ..Messenger....... echo ......... echo Windows Registry Editor Version 5.00> c:\message.reg echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Messenger]>> c:\message.reg echo "Start"=dword:00000004>> c:\message.reg echo . echo .. message.reg ..... regedit /s c:\message.reg echo . echo .. message.reg del c:\message.reg =============================================================== echo ..Telephony...... echo .... echo Windows Registry Editor Version 5.00> c:\Telephony.reg echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TapiSrv]>> c:\Telephony.reg echo "Start"=dword:00000004>> c:\Telephony.reg echo . echo .. Telephony.reg regedit /s c:\Telephony.reg del c:\Telephony.reg echo ============================================================== echo ...TCP/IP NetBIOS Helper Service echo ......... echo Windows Registry Editor Version 5.00> c:\netbios.reg echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LmHosts]>> c:\netbios.reg echo "Start"=dword:00000004>> c:\netbios.reg echo . echo .. netbios.reg ..... regedit /s c:\netbios.reg echo . echo .. netbios.reg del c:\netbios.reg echo =============================================================== echo =============================================================== echo powered by 冬虫草 echo sleepboy82@hotmail.com echo Jooline Services Set goto :END |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
上一篇: 使用regini.exe修改注册表命令下一篇: 巧用DOS 伪装保护文件完整版
关于服务器 安全设置 批处理的所有评论