Jump to content

2000 Pro and 2000 Server?


Recommended Posts

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.

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. :(
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...