Home >System Tutorial >Windows Series >How to open port 445 in win7 system Tutorial on opening and closing port 445 in win7 computer

How to open port 445 in win7 system Tutorial on opening and closing port 445 in win7 computer

PHPz
PHPzOriginal
2024-09-03 11:42:09516browse

Port 445, as an important port in computer LAN, plays a key role in sharing printers and folders. For win7 system users, they may encounter difficulties when opening or closing this port. PHP editor Baicao will bring you a detailed operation guide to solve the problem of opening and closing port 445. Read on to learn this practical skill to manage your network shares with ease.

Tutorial on opening port 445 in win7 system

1. First, find "Run" in the start menu, then enter "regedit" and press Enter to confirm.

win7系统怎么开启445端口 win7电脑445端口开启关闭教程

2. Open HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNetBTParameters in the left column.

win7系统怎么开启445端口 win7电脑445端口开启关闭教程

3. Then we right-click to modify the "SMBDeviceEnabled" file, change the value to 1, and click OK.

win7系统怎么开启445端口 win7电脑445端口开启关闭教程

4. Then we open "Run" again, this time enter "cmd" and press Enter to confirm. Then enter "netstat -an" at the location shown in the icon and press Enter to open port 445.

win7系统怎么开启445端口 win7电脑445端口开启关闭教程

Win7 system 445 port closing tutorial

1. We install the method in step 4 above, run cmd, and then enter "netstat -an" and return Once the car is confirmed, you can see the opened ports.

win7系统怎么开启445端口 win7电脑445端口开启关闭教程

2. Then we enter these two commands below to close port 445:

netsh advfirewall set allprofile state on

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

win7系统怎么开启445端口 win7电脑445端口开启关闭教程

The above is the detailed content of How to open port 445 in win7 system Tutorial on opening and closing port 445 in win7 computer. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn