關閉 NetBIOS over TCP/IP

 

rem 查詢電腦中 NetBIOS 狀態
wmic nicconfig get caption,index,TcpipNetbiosOptions

關閉 NetBIOS over TCP/IP
for /l %%a in (0 1 20) do (wmic nicconfig where index=%%a call SetTcpipNetbios 2)

SetTcpipNetbios
參數:
0 – Use NetBIOS setting from the DHCP server

1 – Enable NetBIOS over TCP/IP

2 – Disable NetBIOS over TCP/IP

2018-08-08_115642

2018-08-08_120520

參考來源:
1. how to set netbios over tcp/ip enabled or disabled from command line ?
2. Configuring NetBIOS over TCP/IP

Copyright © 2018 古毛:水清無魚. All Rights Reserved.

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *

Time limit is exhausted. Please reload CAPTCHA.

這個網站採用 Akismet 服務減少垃圾留言。進一步瞭解 Akismet 如何處理網站訪客的留言資料

SEO Powered by Platinum SEO from Techblissonline