Determine your Exchange Version using the Registry
If you like using scripts to manage your Exchange servers then you are most likely aware that you can use this registry key for determining the version level of your Exchange 2003 server:
HKLM\Software\Microsoft\Exchange\Setup\ServicePackBuild
However, in Exchange 2007 this location and key has changed to the following:
HKLM\Software\Microsoft\Exchange\v8.0\<ServerRole>\ConfiguredVersion
This is a string value in the format of X.X.XXX.X (e.g., 8.1.240.0).
- 8 is the major version number.
- The .1 portion indicates it is SP1. RTM would have .0 in that place.
- 240 is the build number
- The .0 after 240 would be the minor build number.
Happy scripting.



































