wmic
/node:"test-computer"
nicconfig get caption,index,TcpipNetbiosOptions
(找出網卡在第幾號Index,假設在第3 index)
nicconfig where index=3 call SetTcpipNetbios 2
如果不清楚怎麼看Index,就用這個方式:
wmic /node:"test-computer"
閉著眼晴下以下兩指令即可
nicconfig where TcpipNetbiosOptions=0 call SetTcpipNetbios 2 nicconfig where TcpipNetbiosOptions=1 call SetTcpipNetbios 2
The SetTcpipNetbios parameters 值所代表的意思如下:
0 - Use NetBIOS setting from the DHCP server
1 - Enable NetBIOS over TCP/IP
2 - Disable NetBIOS over TCP/IP
沒有留言:
張貼留言