INFO: Detecting Windows NT Server Enterprise Edition

ID: Q181412


The information in this article applies to:
  • Microsoft Windows NT Server Enterprise Edition


SUMMARY

The Win32 API calls which return the operating system version number do not distinguish between Windows NT Server and Windows NT Server Enterprise Edition. To determine whether the host machine is running Windows NT Server Enterprise Edition, check the following registry value:


   HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ 
          ProductOptions\ProductSuite 
"ProductSuite" is stored as type REG_MULTI_SZ, and contains the string "Enterprise" if Windows NT Server Enterprise Edition is installed.


REFERENCES

RegOpenKeyEx
RegQueryValueEx

Additional query words:

Keywords : kbcluster
Version : :
Platform : winnt
Issue type : kbinfo


Last Reviewed: January 13, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.