How to find what Microsoft .NET version is installed?

How to find what Microsoft .NET version is installed?

book

Article ID: KB0073472

calendar_today

Updated On:

Products Versions
Spotfire Analyst All supported versions

Description

When troubleshooting issues related to .NET framework, it might be helpful to find the exact .NET version in use. This article lists 2 ways to find out the .NET framework version.

Note:The Release version can be found using either of the following methods. Its value is a release key that corresponds to a particular version of the .NET Framework which can be mapped to a table listed in Microsoft documentation.

Issue/Introduction

This article provides simple steps on finding out the Microsoft .net version on a windows machine.

Resolution

Finding out the Release version:

1)Using the Registry editor
  •      From the Start menu, choose Run, enter regedit, and then select OK to open the Registry editor.
               Note: You must have administrative credentials to run regedit.
  •      In the Registry Editor, open the following subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full. 
              Note- If the Full subkey isn't present, then you don't have the .NET Framework 4.5 or later installed.

              Find the .net version


2) Using Windows Powershell command-
  • From the Start menu, choose Run, enter Windows Powershell, select it to open the Powershell 
  • Use this PowerShell command to find the value of the Release and Version entry of the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full subkey 
  •  (Get-ItemProperty "HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").Release
             Using windows poweshell command to find .net version
  •  (Get-ItemProperty "HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").VersionUser-added image
Once the Release version is found out map it with the table here-
 
.NET Framework version Value of the Release DWORD
.NET Framework 4.5 All Windows operating systems: 378389
.NET Framework 4.5.1 On Windows 8.1 and Windows Server 2012 R2: 378675
On all other Windows operating systems: 378758
.NET Framework 4.5.2 All Windows operating systems: 379893
.NET Framework 4.6 On Windows 10: 393295
On all other Windows operating systems: 393297
.NET Framework 4.6.1 On Windows 10 November Update systems: 394254
On all other Windows operating systems (including Windows 10): 394271
.NET Framework 4.6.2 On Windows 10 Anniversary Update and Windows Server 2016: 394802
On all other Windows operating systems (including other Windows 10 operating systems): 394806
.NET Framework 4.7 On Windows 10 Creators Update: 460798
On all other Windows operating systems (including other Windows 10 operating systems): 460805
.NET Framework 4.7.1 On Windows 10 Fall Creators Update and Windows Server, version 1709: 461308
On all other Windows operating systems (including other Windows 10 operating systems): 461310
.NET Framework 4.7.2 On Windows 10 April 2018 Update and Windows Server, version 1803: 461808
On all Windows operating systems other than Windows 10 April 2018 Update and Windows Server, version 1803: 461814
.NET Framework 4.8 On Windows 10 May 2019 Update: 528040
On all others Windows operating systems (including other Windows 10 operating systems): 528049
Now map the Release version in this table to find out the .net version. In this case the Release version is 528049 which corresponds to .NET Framework 4.8.

Note : To find out the .Net version using the Spotfire Diagnostics refer to this KB #000021105

 

Additional Information

External Reference - https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed#net_b