Solved

Turn on NETBIOS

Posted on 2011-09-15
1
346 Views
Last Modified: 2012-05-12
I need a script that will turn NETBIOS on for a list of about 100 PC's.
0
Comment
Question by:vhaperbaugub
1 Comment
 
LVL 3

Accepted Solution

by:
nixkuroi earned 500 total points
ID: 36544909
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Setting up SSH Cisco We are all told that you should not use Telent for connecting to devices because it is unsecure and all clear text. Much better is to use SSH, but it can seem a bit of a challenge setting it all up and especially in a small n…
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question