1.导出防火墙规则
netsh advfirewall export “c:advfirewall.wfw”
2.禁用防火墙
netsh firewall set opmode disable
3.打开端口
netsh firewall set portopening tcp 445 smb enable
1.导出防火墙规则
netsh advfirewall export “c:advfirewall.wfw”
2.禁用防火墙
netsh firewall set opmode disable
3.打开端口
netsh firewall set portopening tcp 445 smb enable