[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 361
  • Last Modified:

Turn on NETBIOS

I need a script that will turn NETBIOS on for a list of about 100 PC's.
0
vhaperbaugub
Asked:
vhaperbaugub
1 Solution
 
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

Featured Post

SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now