[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Turn on NETBIOS

Posted on 2011-09-15
1
Medium Priority
?
359 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 2000 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

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…
A Wildcard Certificate means all of your sub-domains will resolve to the same location, regardless of the non-SSL Document-Root specification. A user will need to purchase a wildcard SSL from a vendor or a reseller that supplies them. Similar to ha…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses
Course of the Month19 days, 11 hours left to enroll

873 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