Jump to content

Recommended Posts

Posted

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.

Posted

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.

Posted

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. :(

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...