One button to close dangerous port

  
        @echo offcolor 1ftitle Close the common dangerous port echo.echo.echo This batch is used to start the XP system firewall and close the common dangerous port echo.echo Please confirm that you are using XP system and no other firewall echo.echo is installed. To avoid conflicts with the XP system firewall echo.echo.echo.pauseclsecho Starting the firewall please wait...sc config SharedAccess start= auto>>nulnet start SharedAccess>>nulecho The firewall has successfully started echo.echo is shutting down Please wait for the common dangerous port...echo.echo is closing port 135, please wait...netsh firewall set portopening protocol = ALL port = 135 name = 135 mode = DISABLE scope = ALL profile = ALLecho closing port 137 Wait... Netsh firewall set portopening protocol = ALL port = 137 name = 137 mode = DISABLE scope = ALL profile = ALLecho Shutting down port 138 Please wait... netsh firewall set portopening protocol = ALL port = 138 name = 138 Mode = DISABLE scope = ALL profile = ALLecho Please close port 139 please wait...netsh firewa Ll set portopening protocol = ALL port = 139 name = 139 mode = DISABLE scope = ALL profile = ALLecho closing port 445 please wait... netsh firewall set portopening protocol = ALL port = 445 name = 445 mode = DISABLE scope = ALL Profile = ALLecho is closing port 593, please wait...netsh firewall set portopening protocol = TCP port = 593 name = 593 mode = DISABLE scope = ALL profile = ALLecho is closing port 1025 please wait...netsh firewall set portopening protocol = TCP port = 1025 name = 1024 mode = DISABLE scope = ALL profile = ALLecho Shutting down port 3389 Please wait... netsh firewall set portopening protocol = ALL port = 3389 name = 3389 mode = DISABLE scope = ALL profile = ALLclsecho. Echo.echo.echo The common dangerous port has been closed echo. echo.echo.echo By: cecho.echo.echo.echo Press any key to exit pause>nul
Copyright © Windows knowledge All Rights Reserved