Turn on NETBIOS

I need a script that will turn NETBIOS on for a list of about 100 PC's.
vhaperbaugubAsked:
Who is Participating?
 
nixkuroiCommented:
You should be able to accomplish this in a few steps:

First, go to the command prompt and type:

net view >> setNetBios.txt

This will give you a list of all of the computers on your local network and put it into a text file called setNetBios.txt

Second, type
notepad setNetBios.txt

Delete the first couple of header lines and you should have a list of computers that start look like this:

\\comp1
\\comp2
...

Hit control H and replace the characters "\\"  (no quotes) with the following:
net start "tcp/ip netbios helper" \\

This will add ' net start "tcp/ip netbios helper" ' to the beginning of each line.
Save the file as "setNetBios.bat" and exit.

at the command line, type setNetBios.bat and this will execute your new batch file which will start netbios on all of the computers in your list.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.