Solved

detect remote machine Operating system

Posted on 2003-10-27
6
234 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
  • 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This is an explanation of a simple data model to help parse a JSON feed
A short article about problems I had with the new location API and permissions in Marshmallow
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now