第一个方法:HKEY_LOCAL_macHINE\System\Controlset\Services\NetBT\Parameters
新建的DWORD值SMBDeviceEnabled 为0

第二个方法:ip安全策略 屏蔽445端口。。

都设置了,重启然后 netstat -an |findstr 445

这个端口还是listening状态~