Improve company productivity with a Business Account.Sign Up

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
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.

Join & Write a Comment

Featured Post

Improved Protection from Phishing Attacks

WatchGuard DNSWatch reduces malware infections by detecting and blocking malicious DNS requests, improving your ability to protect employees from phishing attacks. Learn more about our newest service included in Total Security Suite today!

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