How to prevent others from formatting your hard drive remotely!

Port 445 and port 139 are the main channels for IPC$ intrusion. With it, we can easily access various shared folders or shared printers in the local area network, but it is precisely because of this port that others can secretly share your hard disk through this port, and even steal your hard disk If it is formatted, it may even be attacked by ransomware. All we can do is find a way to disable port 445 so that no one else can take advantage of it. Therefore, here I teach you to use the "Command Prompt" to close port 445.

First, let's check which ports are open in the current system, use the shortcut key [Win+R] to open the run window, and enter cmd to enter the command prompt window.

Enter the command "netstat -na" to check whether port 445 is open.

Next, open the Run Command Prompt window as an administrator, and enter the following command in the CMD window:

netsh advfirewall set allprofile state on

netsh advfirewall firewall add rule name=deny445 dir=in action=block protocol=TCP localport=445

For more practical computer skills, pay attention to the public account [From Life Essays]

Guess you like

Origin blog.csdn.net/2202_75483062/article/details/130752704