How can I enable netbios via the netsh command on windows XP?

link|improve this question
feedback

migrated from stackoverflow.com Feb 6 at 15:28

This question came from our site for professional and enthusiast programmers.

1 Answer

While not explicitly using netsh, there are ways to do this using wmic:

wmic nicconfig get caption,index,TcpipNetbiosOptions

Then use the index for your interface in the following command:

wmic nicconfig where index=x call SetTcpipNetbios 1

Source

I was unable to get the first command to work on Windows 7 but executing the following and then counting (from 0) gives you the index:

wmic nicconfig get caption
link|improve this answer
feedback

Your Answer

 
or
required, but never shown