Solved

detect remote machine Operating system

Posted on 2003-10-27
6
282 Views
Last Modified: 2010-04-17
hi experts
i am presently working with VC, i want to known the operating system present on the remote system programatically
is there any way to doit
i am able to get the domains and system ips programatically, and now i need to known the operating system prsent on them.
thanks in advance
regards
Karunakar
0
Comment
Question by:karunakarrreddy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 22

Expert Comment

by:cookre
ID: 9631577
A fancy way would be to look at the remote registry, starting with a call to RegConnectRegistry(), then look at its HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions.

An easy way would be to run a bat file that plops %OS% into a file which you then pull back.
0
 
LVL 9

Accepted Solution

by:
bhagyesht earned 30 total points
ID: 9640572
fire a ping command and redirect the output to a file and read it and based on the ttl you can get the information
128=microsoft
64=linux
etc
0
 
LVL 22

Expert Comment

by:cookre
ID: 9889066
Did you get what you needed?
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A short article about problems I had with the new location API and permissions in Marshmallow
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Six Sigma Control Plans

630 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