1.

Solve : batch file to search different OS on the network?

Answer»

Hi,

Can someone, guide me in creating batch file to search DIFFERENT OS on the network.

OS platforms : Windows XP, Windows 7, Ubuntu,

Is is possible to get the ip of same using the same batch file.

So you are asking for code that will check every computer on the network to see what OS it's running, and then organize them based on that?  I don't believe that is possible with batch, but someone might have more knowledge on networks than me.yes, exactly this am looking for....
If it is not possible via batch file, do we have any other method or tool , available in the industry to check the OS running on the network and sort them on the basis of OS.

It may help if the OP can explain why this is needed.
Would there be any issue of getting PERMISSION from other users to reveal their specs on the network?
we have around 3000+ system on the network.

This is required for audit porpose...

whether the data given is correct or now.

because, going manually with this will nesure data perfection and accuracy.

I hope things are little clear now..
is there any other WAY round.. Good. you need a special script. Somebody already did ot. You have to have some kind of permission to get the the computers on the network.
Look at this:
http://www.cyberciti.biz/networking/nmap-command-examples-tutorials/
Quote

Nmap is short for Network Mapper. It is an open source security tool for network exploration, security scanning and auditing. However, nmap command comes with lots of options that can make the utility more robust and difficult to follow for new users.

The purpose of this post is to introduce a user to the nmap command line tool to scan a host and/or network, so to find out the possible vulnerable points in the hosts. You will also learn how to use Nmap for offensive and defensive purposes.

You will need to look at the documentation to see how to go over network bridges or other things that may prevent cross over into another network on a different branch h of your network tree.

Quote
It was originally written by Gordon Lyon and it can answer the following questions easily:
    What computers did you find running on the local network?
    What IP addresses did you find running on the local network?
    What is the operating system of your target machine?
    Find out what ports are open on the machine that you just scanned?
    Find out if the system is infected with malware or virus.
    Search for unauthorized servers or network service on your network.
    Find and remove computers which don't meet the organization's minimum level of security.
Does that help? 


Quote from: Geek-9pm on June 25, 2014, 12:23:11 AM
Good. you need a special script. Somebody already did ot. You have to have some kind of permission to get the the computers on the network.
Look at this:
http://www.cyberciti.biz/networking/nmap-command-examples-tutorials/
You will need to look at the documentation to see how to go over network bridges or other things that may prevent cross over into another network on a different branch h of your network tree.
Does that help? 

Hi, do you think it's possible to connect to these machine on the network, and do some operations on it?

i have already the ip adress of these machines so i can login manuelly with a group of username and password.....

but for the moment, i have to do it repetetively .. that's why i am looking for the method to do it automatically

thx!.You have to go outside of pure  DOS. Network administrators use command line programs to get into other computers over the network.  To automatic the process requires a set of SCRIPTS suitable to the taks.  Such scripts can be extensions of NetBios or can be VBScript or even PowerShell applications. In any case, it is not called DOS. They are high-level programs that run from the command line. Or in Linux, we say from a console.

Please read over another definition of a high level network tools
http://www.darkreading.com/application-security/10-free-or-low-cost-network-discovery-and-mapping-tools/d/d-id/1141182?

Quote
One of the most useful adages for security professionals is "know thyself"--and when it comes to network security, the most fundamental task of knowing oneself is network discovery and mapping. Without up-to-date network diagrams and inventory lists, it is hard to even understand what you're protecting. The following tools can aid the process at little to no cost beyond man-hours.
 
Ericka Chickowski specializes in coverage of information technology and business innovation. She has focused on information security for the BETTER part of a decade and regularly writes about the security industry as a contributor to Dark Reading.  ...

You need to learn how to use the high level tools to gather information about your network. I do not have current knowledge about working in a huge network. But I am trying to  point you to the kind of tools needed  for that kind of work. IMHO your learning Network Mapping Tools is a start in the right direction.
Perhaps an IT person who is currently active can help you.   

EDIT: Had to replace a link.If one of these more learned options doesn't work, you could write a different script that runs on each OS to get the system data and copy it into a text file back to your computer.  Then use (I believe it's) robocopy to copy all the files over and run each of them in time.  The one that runs will allow you to tell which OS you have.I don't know about the op thing but I do know that you can get the ip through this in a command promt
Shutdown i
I am not sure of this works with a lot of computers
I hope this helps
requirement is IP corresponding to OS for around 3000 computers in the network.

This is required for audit porpose.

To check the no of OS and license.


Discussion

No Comment Found