Knowledge Base

INFO: Detecting Windows NT Server Enterprise Edition

Article ID: 181412

Article Last Modified on 8/9/2001


APPLIES TO


This article was previously published under Q181412

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: kbinfo kbclustering KB181412