Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

migrated from stackoverflow.com Feb 6 '12 at 15:28

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

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
share|improve this answer

You must log in to answer this question.