Home / Solution / How to Check .Net Framework Version | LtcFaces

How to Check .Net Framework Version | LtcFaces

On Windows, a number of variations of the .NET Framework could be put in and used concurrently. When you put in on a pc / server a brand new software developed on .Net, it’s typically vital to know prematurely which variations and repair packs of the .Net Framework are already put in. There are a number of methods to get an inventory of put in variations of the .NET Framework.

List all of the .NET Framework put in variations from the command line

All variations of the .NET Framework are put in into the folders:

  • %SystemRoot%Microsoft.NETFramework
  • %SystemRoot%Microsoft.NETFramework64

Therefore, the best method to show the record of .Net put in variations is to open this folder. Each model corresponds to a separate listing with the v characters in the beginning and the model quantity because the folder identify. Alternatively, you’ll be able to record the .NET Framework directories (variations) from the command immediate like this:

dir %WINDIR%Microsoft.NetFrameworkv* /O:-N /B

Determine Which .NET Framework Versions Are Installed - cmd

This command will record all put in variations besides four.5, for the reason that .NET Framework four.5 is put in within the v4.zero.xxxxx subdirectory.

How to examine your .NET Framework model utilizing registry

When you put in or replace any model of the .NET Framework, various helpful data is written to the system registry.

Run the registry editor (regedit.exe) and go to registry key HKLMSOFTWAREMicrosoftNET Framework SetupNDP. This key accommodates a subkey for every model of .NET put in on the pc. The vital data is contained in the important thing with the model quantity as key identify (and for .Net four.zero and better within the subkeys Client and Full). We have an interest within the following registry parameters:

  • Install — model set up flag (if equal to 1 – this model of .Net is put in on the pc);
  • Install Path — the listing the place this .Net model is put in;
  • Release — .Net present launch quantity;
  • Version — Full model variety of .Net Framework.

.Net version number and release in registry

In this instance, you’ll be able to see that the .NET Framework v2.zero.50727, three.zero, three.5 and four.zero (launch 461808) are put in on the pc.

Tip. For .NET four.zero and above, if the subkey Full is lacking, it signifies that this model of the Framework isn’t put in on the pc. [/.

Using the next desk, you’ll be able to set up a correspondence between the discharge quantity and the model of the .NET Framework four.5.

Release Value .NET Framework model
378389 .NET Framework four.5
378675 NET Framework four.5.1 on Windows eight.1 / Windows Server 2012 R2
378758 .NET Framework four.5.1 on Windows eight, Windows 7 SP1, Windows Vista SP2
379893 .NET Framework four.5.2
393273 .NET Framework four.6 on Windows 10
393297 .NET Framework four.6
394254 .NET Framework four.6.1 on Windows 10 November Update
394271 .NET Framework four.6.1
394802 .NET Framework four.6.2 on Windows 10 Anniversary Update
394806 .NET Framework four.6.2
460798 .NET Framework four.7 on Windows 10 Creators Update
460805 .NET Framework four.7
461308 .NET Framework four.7.1 on Windows 10 Fall Creators Update
461310 .NET Framework four.7.1
461808 .NET Framework four.7.2 on Windows 10 April 2018 Update
461814 .NET Framework four.7.2

Checking the .Net Framework model utilizing PowerShell

You can get details about put in variations and releases of the Framework utilizing PowerShell. This data will also be obtained from the registry. For instance, to show details about the presently put in .NET four.x launch, use the Get-ItemProperty cmdlet (for extra details about managing registry keys from PowerShell learn the article):

(Get-ItemProperty ‘HKLM:SOFTWAREMicrosoftNET Framework SetupNDPv4Full’  -Name Release).Release

check .net using powershell

.Net Version Detector utility

There is a third-party freeware utility Asoft .Net Version Detector, which can assist you to get an inventory of put in variations of the .NET Framework in a descriptive and handy method. You can obtain this instrument from the developer’s web site (http://www.asoft.be/prod_netver.html). This instrument is transportable and doesn’t require set up. In a phenomenal window, the utility will show all of the .NET variations put in on the pc, in addition to the utmost accessible model at this second.

It’s fairly handy that proper in this system you’ll be able to go to the Microsoft obtain web page for various variations of the .NET Framework, the place you’ll be able to obtain the final .NET bundle in your Windows construct.

Asoft .Net Version Detector

CLRver.exe instrument

Microsoft Visual Studio features a separate utility – CLRver.exe, which generates a report of all put in variations of the CLR on the pc. Run the CLRver.exe from the command line and the record of put in dotNet variations on the pc will seem within the cmd console.

CLRver.exe tool

Finally, as helpful data, we observe that in server working programs ranging from Windows Server 2012, all fundamental variations of .Net (three.5 and four.5) are a part of the system and are put in as a separate function (Installing .NET Framework three.5 in Windows Server 2016/ 2012 R2), and minor ones (four.5.1, four.5.2, and many others.) are put in as separate updates through Windows Update or WSUS.

Check Also

Licensing Mode for Remote Desktop Session Host is not Configured

When attempting to configure a brand new host within the RDS farm working Windows Server …

Leave a Reply

Your email address will not be published. Required fields are marked *