Sign in to follow this  
Followers 0
vienxu

2000 Pro and 2000 Server?

3 posts in this topic

How can I determine if a PC is a 2000 Pro or 2000 Server? @OSVersion only tell me a device is 2000 but it can't tell me if it is a 2000 Pro or server. Thanks.

Share this post


Link to post
Share on other sites



This should be the same for W2k as it is in XP:

$ver = RegRead("HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions", "ProductType")
If $ver = "WinNT" then MsgBox(4096, @OSVersion , "Your system is a workstation")
If $ver = "ServerNT" then MsgBox(4096, @OSVersion , "Your system is a server")

It is not possible to manipulate this entry, so this method is the best.

Share this post


Link to post
Share on other sites

This should be the same for W2k as it is in XP:

$ver = RegRead("HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions", "ProductType")
If $ver = "WinNT" then MsgBox(4096, @OSVersion , "Your system is a workstation")
If $ver = "ServerNT" then MsgBox(4096, @OSVersion , "Your system is a server")

It is not possible to manipulate this entry, so this method is the best.

<{POST_SNAPBACK}>

Thank you Very MUCH. :(

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  
Followers 0