How to tell which version of the .NET Framework is installed (including service packs) (Article # 350)
View products that this article applies to.
Problem:
How to tell which version of the .NET Framework is installed (including service packs)
Resolution:
Here's an easy way to tell which .NET Framework 2.0 service pack is installed. Open a command line and enter the following command as a single line:
reg query "HKLM\software\Microsoft\NET Framework Setup\NDP\v2.0.50727" /v SP
For .NET Framework 3.0, enter:
reg query "HKLM\software\Microsoft\NET Framework Setup\NDP\v3.0" /v SP
The commands will return the REG_DWORD value for the SP version (0x0 for RTM or 0x1 for SP1).
To see details on all versions of the Framework:
From a command line:
reg export "HKLM\software\Microsoft\NET Framework Setup\NDP" framework.txt
This will create a file called framework.txt that will contain the list of .NET Framework versions and service packs.
Applies To: