First of all, let’s check what ports are currently open in the system. How to check? Call up the cmd command line program and enter the command "netstat -na" to see it.
Then, you can find that the current system is open Ports 135, 445 and 5357, and from the status , they are all in the listening state "Listening".
Then, after confirming that our system has opened port 445, we began to close this high-risk port. First enter the system's "RegistryEditor". The steps are: click "Start", "Run", and enter regedit to enter the "Registry Editor".
##Next, click RegisterTable Options”HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet\services\NetBT\Parameters", enter the related registry keys of the NetBT service.
##Then, on the right side of the Parameters sub-item, click the right mouse button, "New", "QW
ORD (64-bit) value", then rename it to "SMBDeviceEnabled", and then change the value of this subkey to 0.
Next, if your system is a windows xp system, then restart to close the system’s port 445 . But if it is a Windows 7 system, this is not enough! All you have to do is turn off the server service of the operating system, click "Start", "Run", enter services.msc, and enter the service management console.
Then, find the server service and double-click to enter the management control page. Change the startup type of this service to "Disabled", change the service status to "Stop", and finally click Apply.
Finally, restart the operating system and see if port 445 has been closed!
The above is the detailed content of Detailed introduction on how to close window port 445. For more information, please follow other related articles on the PHP Chinese website!