Jump to content
Sign in to follow this  

How to Detect OS of remote machine

Recommended Posts

I think this will be easy if someone knows the location that the @OSVersion pulls it's info from.

I am running a utility remotely on some servers but the return code is different on 2000 than 2003 so I need to modify the responces depending upon the server OS.

I figured I could just do a remote regread and look for wherever the @OSVersion info is pulled from.

Or does someone have any other way to do this?



hmm... I guess I have to have a signature...

Share this post

Link to post
Share on other sites

if you can do the remote registry read successfully, check the following location:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

it holds several string values that may help:




Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...