How to: Determine which.NET Framework versions are installed. How to find out which versions of the .NET Framework are installed on your computer

Exist applications, written using the NET Framework. This is a programming model Microsoft for building applications, with a superior user interface, transparent and secure communications, and the ability to create a variety of business processes. And if you install such application, That For his Requires NET Framework version, corresponding to the one on which the application is written. The fact is that exists several versions of the NET Framework. AND Not all are coming complete with operating system.
Version 1.0 no longer in use and not included in the OS.
Version 1.1 Also, rarely used, is not included in the OS.
Versions 2.0 - 3.5.1 included with Windows 7. Go to Start Programs and components, Turn Windows features on or off.


Full version NET Framework 4.0 is intended mainly for software developers. Distributed as recommended update KB982670.
Check which versions installed on your computer you can by opening registry editor. Press and enter regedit and click "OK". In the editor window go HKEY_LOCAL_MACHINE, SOFTWARE,

Microsoft, NET Framework Setup, NDP.

The system is installed by default with many different components necessary for the correct operation of most applications. There are exceptions in which you have to install third-party tools. One of the utilities that is necessary for programs to work properly is the net framework. Of course, this component is sometimes already built into systems, but there are exceptions. This article will cover two topics - how to find out the net framework version and how to install this component.

net framework how to find out the version on Windows 10

Many users are interested in this issue, ranging from beginners to experienced users. First you need to understand what kind of component it is, the version of which you need to find out.

.NET Framework– a platform from Microsoft, designed to run various applications written in different programming languages. It is very often used when creating programs and games for Windows. The overall history of this technology can be found on Wikipedia.

How to find out the net framework version on Windows 10 and earlier editions? To solve this problem, we will use the .NET Version Detector tool, which was created for this purpose, to find out the version of the net framework.

You can download the utility from this resource. A small archive of 400 KB will be downloaded immediately. You don’t have to unpack it, but immediately run the file with the name "dotnet".

A window with a license agreement will open, where you need to click OK.

A window immediately appears where in the lower section you will see all versions of this software installed on the system. I have version 4.0.30319 installed, there is other useful information. The data can be rechecked by clicking the “Refresh” button, or copied using the “Copy” button.

How to find out the net framework version using Registry Editor

It is known that all basic Windows settings are located in the registry. Any installed software makes entries in the system registry. First you need to start the registry. Press the combination “Win ​​+ R” and enter the command regedit.

Now we look for such a section, following each branch in the registry window: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\"installed version".

The parameter will also be indicated on the right side of the window Version, also indicating the net framework version.

Both methods are quite simple, which means even a beginner can handle it. But let's move on to the issue related to the installation of this component.

How to install the .NET Framework

As already mentioned, this platform is usually already pre-installed in Windows. Developers started doing this starting with Windows 7. Of course, there are times when you need to install a newer version. If automatic system updates are enabled, then you don’t need to do anything, otherwise we’ll move on to downloading and installing the utility.

So, there are times when you need a newer version of the platform, but also an older one. In order not to bother for a long time, we will again use the .NET Version Detector utility. Let's do the following:

By the way, if a component is grayed out in the utility, as it is with version 4.0, this means that the platform is already installed.

How to remove Net Framework

System components get damaged very often, causing Windows to become unstable. In this case, it is better to remove and reinstall Net Framework.

  • Removal is carried out using a utility from Microsoft - Cleanup Utility. Install it and run it.
  • We find the required version in the list of Net Framework and delete it.

Of course, this utility is not the only one that can be used to clean system components. You can also use the Uninstall Tool, which cleans up leftover files on the system and registry entries.

Important! When installing Net Framework, it is recommended to install from an older edition to a newer one. This way there should be no conflicts in the operation of programs.

Thus, we found out how to find out the version of the net framework, how to install the platform and uninstall it.

When installing various games and programs, the installation instructions indicate the version of the Microsoft .NET Framework component. If it is not there at all or the software is not suitable, applications will not be able to work correctly and various errors will be observed. To prevent this, before installing a new program, you need to familiarize yourself with the information about the version of the .NET Framework on your computer.

Control Panel

You can view the version of Microsoft .NET Framework that is installed on your computer using "Control Panel". Go to the section "Uninstall a program", we find Microsoft .NET Framework there and look at what numbers are at the end of the name. The disadvantage of this method is that the list is sometimes displayed incorrectly and not all installed versions are visible in it.

Using ASoft .NET Version Detector

In order to see all versions, you can use the special utility ASoft .NET Version Detector. You can find and download it on the Internet. By launching the tool, the system is scanned automatically. After the check is completed, at the bottom of the window we can see all the versions of the Microsoft .NET Framework that we installed and detailed information. A little higher, in gray font, versions that are not on the computer are marked, and all installed ones are highlighted as former ones.

Registry

If you don’t want to download anything, we can look at it manually, through the system registry. In the search bar enter the command "Regedit". A window will open. Here, through a search, we need to find the line (branch) of our component - "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP". By clicking on it in the tree, a list of folders will open, the name of which indicates the product version. You can see more details by opening one of them. On the right side of the window we now see a list. Here is the field "Install" with meaning "1", indicates that the software is installed. And in the field "Version" the full version is visible.

Any PC user constantly encounters software products that are fully or partially developed on the Net platform. These can be both utilities and games. And before installing a program, including a game one, it is usually not superfluous to find out the version of the NET Framework.

A computer running Windows OS may have more than one version of such a software platform. This is due to purely technical development factors, and in no way clogs the computer. Windows allows you to find out the version of the Net Framework using different methods.

Operating system tools

This technique is suitable for experienced users familiar with the OS structure.

  • Open command line. Here the list of Net versions registered in the system is called by the "dir" command, representing, in fact, a simple list of directories located in the system folder. The complete command looks like this:

Version 4.5 will not be displayed in the list, since its files are located in a subfolder of the Framework directory.

  • Go to the file storage location. A method similar to the previous one, designed for less advanced users who do not know Windows console commands.
  • Registry. This method is more suitable for technical specialists, since a lot of important information is recorded in the registry when installing any application, including the .NET Framework. For NET this is: installation index (1 or 0); the path where the files are installed; version number; build number.

You can find this information in this registry branch:

HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP

For each version, the exact path differs slightly, but an experienced user can easily find out both the version of the Net Framework and all the other required information. In this case, you should pay attention to versions 4.0 and older, namely to the Full block: its absence will mean that a specific version of the platform is not installed in the operating system.

In addition, for the convenience of users, a correspondence table between releases and versions for platforms 4.5 and older was developed. It looks like this:

  • The Powershell administration tool allows you to interact with the registry from the command line. Calling the required command looks like this:

As can be seen from the image above, the procedure for checking the platform version has its own specifics. Due to the complexity of the command being entered, it is not entirely clear to the average user, so there is no particular point in using this method.

Third party utilities

They are designed to provide maximum comfort when working. Since all technical actions are performed independently, providing the user with convenient interaction with a clear interface.

.Net Version Detector

The program allows you to both find out the version of the Net Framework and obtain other necessary information about all platforms installed in the system. In addition, it is possible to instantly follow a link to the download page of the desired version, as well as open the storage folder for each version of the Framework installed in the system in one click.

CLRver.exe

The CLRver.exe application is part of the Visual Studio package. Despite the fact that this product was created by Microsoft, it is expectedly absent from Windows, since it is a full-fledged software development tool. Accordingly, how to find out the installed version of the Net Framework using this method will be of interest only in a development environment; ordinary users of the Microsoft OS are unlikely to use it. A relative exception can be considered some of the company's server products, into which CLRver is integrated through the update service or is a component of the system.

It turns out that for an ordinary user to find out which version of the Net Framework is installed, as a rule, it is enough to use the registry editor or use one or two specialized utilities.

Windows can have multiple versions of the .NET Framework installed at the same time. When installing a new application developed in .Net on a computer, sometimes you need to first find out which versions and service packs of the .Net Framework are already installed on the user's computer or server. You can get a list of installed versions of the .NET Framework in different ways.

List installed versions of the .NET Framework on the command line

All versions of the .NET Framework are installed in the following directories:

  • %SystemRoot%\Microsoft.NET\Framework
  • %SystemRoot%\Microsoft.NET\Framework64

Therefore, the easiest way to display a list of installed versions of .Net is to open this folder. Each version corresponds to a separate directory of symbols v at the beginning and the version number as the folder name. Or you can list the directories (versions) of the .NET Framework on the command line like this:

dir %WINDIR%\Microsoft.Net\Framework\v* /O:-N /B

The command will display all installed versions except 4.5, because .NET Framework 4.5 is installed in the v4.0.xxxxx subdirectory.

Information about installed versions of the .NET Framework in the registry

When you install or update any version of the .NET Framework, quite a lot of useful information is written to the registry.

Open Registry Editor and go to HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP. This section contains a subsection for each version of .NET installed on the system. The necessary information is contained in the section with the branch name (and for .Net 4.0 and higher in the Client and Full subsections). We are interested in the following registry settings:

  • Install— version installation flag (if equal to 1, this version of .Net is installed on the computer);
  • Install Path— the directory in which this version of .Net is installed;
  • Release— number of the current .Net release;
  • Version— full version number of the .Net Framework.

For example, in this example you can see that the .NET Framework v2.0.50727, 3.0, 3.5 and 4.0 (release 460805) are installed on the computer.

Note. For .NET 4.0 and higher, if the Full subkey is missing, this means that this version of the Framework is not installed on the computer.

Using the following table, you can match the release number to the version of .NET Framework 4.5 and higher.

Release parameter DWORD value .NET Framework version
378389 .NET Framework 4.5
378675 NET Framework 4.5.1 on Windows 8.1 / Windows Server 2012 R2
378758 .NET Framework 4.5.1 on Windows 8, Windows 7 SP1, Windows Vista SP2
379893 .NET Framework 4.5.2
393273 .NET Framework 4.6 on Windows 10
393297 .NET Framework 4.6
394254 .NET Framework 4.6.1 on Windows 10 November Update
394271 .NET Framework 4.6.1
394802 .NET Framework 4.6.2 on Windows 10 Anniversary Update
394806 .NET Framework 4.6.2
460798 .NET Framework 4.7 on Windows 10 Creators Update
460805 .NET Framework 4.7
461308 .NET Framework 4.7.1 on Windows 10 Fall Creators Update
461310 .NET Framework 4.7.1
461808 .NET Framework 4.7.2 on Windows 10 April 2018 Update
461814 .NET Framework 4.7.2

Checking the .Net Framework version using Powershell

(Get-ItemProperty ‘HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full’ -Name Release).Release

There is a third party free utility Asoft .Net Version Detector, with which you can get a list of installed versions of the .NET Framework in a clear and convenient form. The utility is downloaded from the developer's website (http://www.asoft.be/prod_netver.html) and does not require installation. In a beautiful window, the utility will display all versions of .NET installed on your computer, as well as the maximum available version at the moment.

It’s quite convenient that right in the program you can go to the download page for various versions of the .NET Framework, where you can download the required package.

Microsoft Visual Studio includes a separate utility CLRver.exe, which reports all installed versions of the common language runtime (CLR) on a given computer. Run the CLRver.exe command in the command line and a list of installed versions of dotNet on your computer will appear in the console.

Finally, as useful information, we note that in server operating systems starting from Windows Server 2012, all basic versions of .Net (3.5 and 4.5) are part of the system and are installed as a separate component (,), and minor ones (4.5.1, 4.5. 2, etc.) are already installed as updates via Windows Update or WSUS.