bourny Posted January 4, 2006 Share Posted January 4, 2006 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 More sharing options...
BigDod Posted January 4, 2006 Share Posted January 4, 2006 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 nameThe 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 serverAny help appreciated ....ThanksBournyM@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 More sharing options...
bourny Posted January 4, 2006 Author Share Posted January 4, 2006 Unfortunatly @OSVersion does not tell you if the machine is a server or a client - this looks as if it reads the Product type key in the registry Any other ideas fellow scripters ?? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now