INFO: Detecting Windows NT Server Enterprise Edition

ID: Q181412

The information in this article applies to:

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

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

Last Reviewed: June 10, 1998