How to check the version of the .NET Framework on the computer

3 How to quickly check the version of .NET Framework on Windows 10

If you need to learn the version of .NET on PC, in this guide we will show you how to use Windows 10.

Though, for the most part, you don’t need to worry about the version of .NET installed on Windows 10, some apps require a specific release to run. Programmers often need to run multiple versions of a platform to develop and deploy an application, and this is when understanding the versions of .NET available on your device can help.

Cách kiểm tra phiên bản .NET Framework trên máy tính

You can use the 3 fastest ways to determine the version of the .NET Framework with Command Prompt, PowerShell, and Registry.

  • How to check the .NET version using Command Prompt
  • How to check the .NET version using Registry
  • How to check the .NET version using PowerShell

How to check the .NET version using Command Prompt

To check the version of .NET Framework installed on Windows 10, use the following steps:

  1. Open Start .
  2. Search for Command Prompt , right-click on the top result and select the option Run as administrator .
  3. Type the following command to determine the installed .NET version and press Enter :
    reg query “HKLM SOFTWARE Microsoft Net Framework Setup NDP” / s
    If you want to make sure that version 4.x is installed, then use this variation of this command:
    reg query “HKLM SOFTWARE Microsoft Net Framework Setup NDP v4” / s

    Kiểm tra .NET Framework trên máy tính

  4. Check the “ Version ” field to confirm that releases of .NET Framework are available on Windows 10.
    Once you’ve completed the steps, you’ll know the versions of .NET running on your device.

How to check the .NET version using Registry

To determine the .NET version with the Registry, use the following steps:

  1. Open Start .
  2. Search for regedit and click on the top result to open the Registry .
    Browse through the following path:
    HKEY_LOCAL_MACHINE SOFTWARE Microsoft NET Framework Setup NDP
    Quick tip: On Windows 10, you can now copy and paste the path into the Registry ‘s address bar to quickly go to the primary destination.
  3. Select the main version key – for example: v4 or v4.0 .
  4. Select Client key.

    Cách kiểm tra net framework trên win 10 đơn giản nhất

    Quick Tip: In releases older than version 4, the key will be the number or ” Setup “. For example, .NET version 3.5 includes the version number under key 1033 .

  5. On the right side, check the string ” Version ” to confirm the release of the .NET Framework.

After you have completed the steps, you will understand about the release of the Microsoft framework available on Windows 10.

How to check the .NET version using PowerShell

If you use PowerShell , you have a variety of methods to determine the versions of .NET Framework installed on Windows 10 , including making commands or installing command-line tools.

Check for custom command versions
To use PowerShell to check the .NET version, use the following steps:

  1. Open Start .
  2. Search for PowerShell , right-click on the top result and select the option Run as administrator .
  3. Type the following command to determine the installed .NET version and press Enter :
    Get-ChildItem ‘HKLM: SOFTWARE Microsoft NET Framework Setup NDP’ -Recurse | Get-ItemProperty -Name version -EA 0 | Where {$ _. PSChildName -Match ‘^ (?! S) p {L}’} | Select PSChildName, version

    Hướng dẫn kiểm tra phiên bản .NET Framework đã cài đặt

    Confirm the releases of the .NET Framework are installed on Windows 10.

  4. When you complete the steps, the output will reveal information for both the client and the full .NET version installed on your device (if applicable).

Check the DotNetVersionLister version

Additionally, there is a community tool at GitHub that makes it easy to query the list of installed .NET versions on your computer.

To find out the list of .NET versions installed on Windows 10, use the following steps:

  1. Open Start .
  2. Search for PowerShell , right-click on the top result and select the option Run as administrator .
  3. Enter the following command to install the required module and press Enter:
    Install-Module -Name DotNetVersionLister -Scope CurrentUser # -Force

    Cách kiểm tra Net Framework trên Win 10

    Install Dotnetversionlister on Windows 10

  4. Type Y and press Enter .
    Type Y and press Enter again.
  5. Type the following command to determine the installed .NET version and press Enter :
    Get-STDotNetVersion

    Check NET Framework version

After you complete the steps, you will end up with an output telling you the .NET versions installed on Windows 10.

We are focusing this tutorial on Windows 10, but you can refer to these steps if you are running an older version of the OS, including Windows 8.1 or Windows 7.