Jump to content

How to detect server


 Share

Recommended Posts

I am looking for some assistance to detect a server via my script.

I can read in reg values such as HKLM/software/windowsNT/currentversion/product name

The problem with this is windows 2000 server and windows 2000 client have the same product name and build number . Server 2003 is unique but anything prior to this I cannot ID. This includes NT4 server

Any help appreciated ....

Thanks

BournyM

Link to comment
Share on other sites

I am looking for some assistance to detect a server via my script.

I can read in reg values such as HKLM/software/windowsNT/currentversion/product name

The problem with this is windows 2000 server and windows 2000 client have the same product name and build number . Server 2003 is unique but anything prior to this I cannot ID. This includes NT4 server

Any help appreciated ....

Thanks

BournyM

@OSVersion will tell you what operating system you are using but I do not know how to tell if it is a server version.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...