Link to home
Start Free TrialLog in
Avatar of karunakarrreddy
karunakarrreddyFlag for India

asked on

detect remote machine Operating system

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
Avatar of cookre
cookre
Flag of United States of America image

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.
ASKER CERTIFIED SOLUTION
Avatar of bhagyesht
bhagyesht
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Did you get what you needed?