IBM Support

How to get the specific .Net Framework Version on Windows

How To


Summary

This document explains how to check the specific .Net Framework version running on a specific CLR(Common Language Runtime) version.

Objective

The .Net Framework is a software development platform that includes a 
Common Language Runtime or CLR
Class Libraries( a comprehensive set of reusable code libraries known as the .NET Framework Class Library) and
Framework APIs
Mulyiple .Net Framework Versions can run on a single CLR engine if those versions are built to run on the same CLR version, each major version of the .Net Framework is either a new CLR version or an in-place update that reuses the existing CLR version with enhancements.

The objective of this article is to capture the exact .Net Framework version which can be checked in two ways by either checking the Registry manually or by running the one-liner PowerShell command.

Environment

The methods provided in this document for checking installed .Net Framework version are only specific to the Windows systems.

Steps

The registry contains a list of the versions of .NET Framework installed on the computer. You can use the Registry Editor or the Powershell to check the .NET Framework version as given below:

Registry Check:
Steps:
  • From the Start menu, choose Run, enter regedit, and then select OK
  • In the registry editor open the following subkey:
         HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP
  • Look for the version numbers under the Version key in relevant folders(e.g. v4 for .Net 4.x, v3 for .Net 3.5 etc) 
     shows subkey for .Net Framework version 3.5
  • The version of .NET Framework (4.5 and later) installed on a machine is listed in the registry at
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
     shows subkey for .Net Framework version 4.0

PowerShell Command:
Below is an example to check if .NET Framework 4.5 or later installed, this code returns True if it's installed and False otherwise.
      (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").Release
 shows TRUE

Additional Information

Both methods provide ways to identify the .NET Framework versions installed on your system. The PowerShell method is generally preferred due to its efficiency and ease of use. 

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSE1JP5","label":"IBM Instana Observability"},"ARM Category":[{"code":"a8m3p000000UoUHAA0","label":"Agent-\u003EReq - Install - Config"},{"code":"a8mKe000000XZQ5IAO","label":"MustGather"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.281;1.0.282;1.0.283;1.0.284;1.0.285;1.0.286;1.0.287;1.0.288;1.0.289;1.0.290;1.0.291;1.0.292;1.0.293;1.0.294;1.0.295;1.0.296;1.0.297;1.0.298;1.0.299;1.0.300;1.0.301"}]

Document Information

Modified date:
24 July 2025

UID

ibm17240430