• Net framework where it is located on the computer. How to: Determine which.NET Framework versions are installed

    Windows can have multiple versions of the .NET Framework installed at the same time. When installing a new application developed on .Net on your computer, sometimes you need to first find out what versions and service packs are available. Net Framework already installed on the user's computer or server. Get list installed versions.NET Framework can be used in many 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 list 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 in command line So:

    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. Required information 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.Net installed on the computer);
    • Install Path— the directory in which this version of .Net is installed;
    • Release— number of the current .Net release;
    • Versionfull number.Net Framework versions.

    For example, in 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 subsection is missing, this means that this Framework version 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 the computer, as well as the maximum available version for now.

    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.

    IN Microsoft composition Visual Studio separate utility included CLRver.exe, which reports all installed versions of the common language runtime on this 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.

    There are applications, written using NET platforms Framework. This is a programming model Microsoft to build applications with an excellent user interface, transparent and by safe means communications, as well as 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 point 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 intended mainly for developers software. 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.

    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 will be observed various errors. To prevent this, before installing new program, you need to review the .NET Framework version information 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

    To see all versions, you can use special utility ASoft .NET Version Detector. You can find and download it on the Internet. By running the tool, the system is scanned into automatic mode. After the check is completed, we can see everything at the bottom of the window Microsoft versions.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, via 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.

    Each new version The .Net Framework brings new capabilities, so when deploying a new application, it is important to know exactly which versions are installed on your computer. There are several ways to get a list of .NET Framework versions.

    Information about the .Net versions installed on the system is stored in the registry. To obtain it, you need to open the registry editor and go to the HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP section, which lists all versions installed on the system. Detailed information is stored in sections with the version name, and for versions older than 4.0 - in the Client or Full subsection. Here are some options:

    Install — version installation flag;
    Version — full version number;
    Install Path — installation directory;
    Release — current version number.

    As a rule, you need to find out the number of the latest installed version. You can find this out from the Release parameter, for example:

    378389 - .Net Framework 4.5;
    378675 - .Net Framework 4.5.1 on Windows 8.1 and Windows Server 2012 R2;
    378758 - .Net Framework 4.5.1 on Windows 7\8 and Windows Server 2008\2012;
    379893 - .Net Framework 4.5.2.

    As an alternative to the Registry Editor, you can use the PowerShell console. The registry in PowerShell is accessed using a provider that allows you to view registry hives as folders in file system. For example, you can check the contents of the HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full branch with the command:

    dir ′HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full′

    You can also find out the installed versions of the .NET Framework using third party programs, for example Asoft .Net Version Detector. The program does not require installation, just unpack it and run it. It displays all versions of .NET installed on the computer, as well as the maximum version currently available.

    As a conclusion, let me remind you that in server operating systems starting from Windows Server 2012, basic versions of .Net (3.5 and 4.5) are part of the system and are installed as a component (Feature), and minor versions (4.5.1, 4.5.2, etc.) arrive as updates from Windows Update. Detailed Description new versions of .Net can be viewed on the website

    The system comes installed by default with many different components required for correct operation most applications. There are exceptions in which it is necessary to set third party tools. One of the utilities that is necessary for proper operation programs 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 perform various applications written in different languages programming. 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 will open with license agreement, 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 another one 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 the main Windows settings are in the register. 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 enabled automatic updates system, 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 the component is selected in the utility gray, as I have 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 in this case, Net Framework is better to uninstall and reinstall.

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

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

    Important! At Net installation Framework is recommended to be installed from more than old 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.