一点要记得收藏我们的网址哦(www.5ijcw.com) —— 我爱教程网 。
  • 查资料

当前位置:我爱教程网常识知识电脑学习电脑基础入门应用软件知识一键关闭危险端口» 正文

一键关闭危险端口

[10-05 23:41:36]   来源:http://www.5ijcw.com  应用软件知识   阅读:8502

概要:@echo offcolor 1ftitle 关闭常见的危险端口echo.echo.echo 本批处理用于启动XP系统的防火墙并关闭常见的危险端口echo.echo 请确认您正在使用的是XP系统 并且未安装其他防火墙 echo.echo 以避免与XP系统的防火墙发生冲突 echo.echo.echo.pauseclsecho 正在启动防火墙 请稍候...sc config SharedAccess start= auto>>nulnet start SharedAccess>>nulecho 防火墙已经成功启动 echo.echo 正在关闭常见的危险端口 请稍候...e
一键关闭危险端口,标签:电脑入门知识,电脑基础教程,http://www.5ijcw.com
@echo off
color 1f
title 关闭常见的危险端口
echo.
echo.
echo 本批处理用于启动XP系统的防火墙并关闭常见的危险端口
echo.
echo 请确认您正在使用的是XP系统 并且未安装其他防火墙
echo.
echo 以避免与XP系统的防火墙发生冲突
echo.
echo.
echo.
pause
cls
echo 正在启动防火墙 请稍候...
sc config SharedAccess start= auto>>nul
net start SharedAccess>>nul
echo 防火墙已经成功启动
echo.
echo 正在关闭常见的危险端口 请稍候...
echo.
echo 正在关闭135端口 请稍候...
netsh firewall set portopening protocol = ALL port = 135 name = 135 mode = DISABLE scope = ALL profile = ALL
echo 正在关闭137端口 请稍候...
netsh firewall set portopening protocol = ALL port = 137 name = 137 mode = DISABLE scope = ALL profile = ALL
echo 正在关闭138端口 请稍候...
netsh firewall set portopening protocol = ALL port = 138 name = 138 mode = DISABLE scope = ALL profile = ALL
echo 正在关闭139端口 请稍候...
netsh firewall set portopening protocol = ALL port = 139 name = 139 mode = DISABLE scope = ALL profile = ALL
echo 正在关闭445端口 请稍候...
netsh firewall set portopening protocol = ALL port = 445 name = 445 mode = DISABLE scope = ALL profile = ALL
echo 正在关闭593端口 请稍候...
netsh firewall set portopening protocol = TCP port = 593 name = 593 mode = DISABLE scope = ALL profile = ALL
echo 正在关闭1025端口 请稍候...
netsh firewall set portopening protocol = TCP port = 1025 name = 1024 mode = DISABLE scope = ALL profile = ALL
echo 正在关闭3389端口 请稍候...
netsh firewall set portopening protocol = ALL port = 3389 name = 3389 mode = DISABLE scope = ALL profile = ALL
cls
echo.
echo.
echo.
echo          常见的危险端口已经关闭
echo.            
echo.         
echo.
echo.
echo                                By: c
echo.
echo.
echo.
echo 按任意键退出
pause>nul

关键字: Tag:应用软件知识电脑入门知识,电脑基础教程电脑学习 - 电脑基础入门 - 应用软件知识



上一篇:开机提示加载c:\progra~1\tencent\ssplus\splus.dll时出错 找不到指定的模块

《一键关闭危险端口》相关文章

用户评论