(Image credit: Future)
On Windows 11 (and 10), the «.NET Framework» («dot net») is a development platform made up of programming languages, libraries, and tools for programmers to build different types of programs for desktops, laptops, tablets, servers, web apps, and games.
The .NET platform is not limited to Windows since it is open-source and cross-platform, which means it’s also supported on macOS and Linux devices.
Although regular users rarely have to worry about the version of .NET installed on their devices, some apps require specific releases to install and run as properly. In addition, developers usually have to use multiple versions of the development platform to build and test their apps. As a result, knowing the version of .NET installed on the computer can come in handy in many scenarios.
Whether you are a developer or a standard user, Windows 11 (and 10) provides several methods to determine the .NET Framework version through File Explorer, Registry, Command Prompt, and PowerShell.
This how-to guide will walk you through the steps to determine the .NET Framework version installed on Windows 11.
How to check .NET version using File Explorer
To use File Explorer to check the .NET Framework version on Windows 11, use these steps:
- Open File Explorer.
- Browse the following path: C:\Windows\Microsoft.NET\Framework
- Open the folder with the latest version – for example, v4.0.30319.
- Right-click any of the «.dll» files and select the Properties option.
- Click the Details tab.
- In the «Product version» section, confirm the version of .NET – for example, 4.8.9032.0.
Once you complete the steps, the file details will unveil the framework platform’s version installed on Windows.
All the latest news, reviews, and guides for Windows and Xbox diehards.
How to check .NET version using Registry
To determine the .NET Framework version through the Registry, use these steps:
- Open Start.
- Search for regedit and click the top result to open the Registry.
- Browse the following path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP
- Expand the main version key – for example, v4 or v4.0.
- Select the Client key.
- Quick tip: In releases older than version 4, the key will be a number or «Setup.» For example, .NET version 3.5 includes the version number under the 1033 key.
- On the right, check the «Version» string to determine the release of the .NET Framework.
After you complete the steps, you will know the releases of the Microsoft framework available on your version of Windows.
How to check .NET version with Command Prompt
To check the version of the .NET Framework with Command Prompt on Windows 11, use these steps:
- Open Start.
- Search for Command Prompt, right-click the top result, and select the Run as administrator option.
- Type the following command to determine the version of .NET installed on Windows and press Enter: reg query «HKLM\SOFTWARE\Microsoft\Net Framework Setup\NDP» /s
To make sure that version 4.x is installed, use this variant of the command: reg query «HKLM\SOFTWARE\Microsoft\Net Framework Setup\NDP\v4» /s
- Check the «Version» field to confirm the releases of the .NET Framework installed on Windows 11.
Once you complete the steps, the versions of .NET running on the computer will be revealed.
How to check .NET version with PowerShell
To check the .NET version with PowerShell on Windows 11, use these steps:
- Open Start.
- Search for PowerShell, right-click the top result, and select the Run as administrator option.
- Type the following command to check the version of .NET installed 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
- Confirm the version of the .NET Framework installed on the computer.
After you complete the steps, PowerShell will return the information for both the client and the full version of .NET installed on Windows 11 (or 10) (if applicable).
More resources
For more helpful articles, coverage, and answers to common questions about Windows 10 and Windows 11, visit the following resources:
- Windows 11 on Windows Central — All you need to know
- Windows 10 on Windows Central — All you need to know
Mauro Huculak has been a Windows How-To Expert contributor for WindowsCentral.com for nearly a decade and has over 15 years of experience writing comprehensive guides. He also has an IT background and has achieved different professional certifications from Microsoft, Cisco, VMware, and CompTIA. He has been recognized as a Microsoft MVP for many years.
В Windows одновременно можно одновременно установить и запустить несколько версий .NET Framework. При разработке или развертывания нового приложения, основанного на библиотеках .NET, иногда нужно предварительно узнать какие версии и пакеты обновления .Net Framework уже установлены на компьютере пользователя или на сервере. Вы можете получить список версий .NET Framework, установленных на компьютере, несколькими способами.
Содержание:
- Информация об установленных версиях .NET Framework в реестре
- Как узнать версию .NET Framework с помощью PowerShell?
- Проверить версию .Net Framework на удаленных компьютерах
- Вывести версии .NET Framework в командной строке
Информация об установленных версиях .NET Framework в реестре
При установке или обновлении любой версии .NET Framework, изменения записываются в реестр Windows.
Откройте редактор реестра (regedit.exe) и перейдите в раздел HKLM\ SOFTWARE\Microsoft\NET Framework Setup\NDP. В этой ветке хранится информация обо всех версиях .NET на компьютере. Разверните любой раздел и обратите внимание на следующие параметры (для .Net 4.x нужно развернуть ветку Full):
- Install — флаг установки (если равен 1, значит данная версия .Net установлена на компьютере);
- Install Path — каталог, в который установлена данная версия .Net;
- Release — номер релиза .Net;
- Version — полный номер версии .Net Framework.
Примечание. Для .NET 4.0 и выше, если подраздел Full отсутствует, это значит, что данная версия Framework на компьютере не установлена.
К примеру, в данном примере видно, что на компьютере установлены .NET Framework v2.0.50727, 3.0, 3.5 и 4.7 (релиз 460805).
Обратите внимание, что в серверных ОС начиная с Windows Server 2012, все базовые версии .Net (3.5 и 4.5) является частью системы и устанавливаются в виде отдельного компонента (Установка .NET Framework 3.5 в Windows Server 2016, в Windows Server 2012 R2), а минорные (4.5.1, 4.5.2 и т.д.) устанавливаются уже в виде обновлений через Windows Update или WSUS.
С помощью следующей таблицы вы можете установить соответствие между номером релиза и версией .NET Framework (применимо к .NET 4.5 и выше).
Значение DWORD параметра Release | Версия .NET Framework |
378389 | .NET Framework 4.5 |
378675 | NET Framework 4.5.1 на Windows 8.1 / Windows Server 2012 R2 |
378758 | .NET Framework 4.5.1 на Windows 8, Windows 7 SP1, Windows Vista SP2 |
379893 | .NET Framework 4.5.2 |
393295 | .NET Framework 4.6 на Windows 10 |
393297 | .NET Framework 4.6 |
394254 | .NET Framework 4.6.1 на Windows 10 1511 |
394271 | .NET Framework 4.6.1 |
394802 | .NET Framework 4.6.2 на Windows 10 1607 |
394806 | .NET Framework 4.6.2 |
460798 | .NET Framework 4.7 на Windows 10 1703 |
460805 | .NET Framework 4.7 |
461308 | .NET Framework 4.7.1 на Windows 10 1709 |
461310 | .NET Framework 4.7.1 |
461808 | .NET Framework 4.7.2 на Windows 10 1803 |
461814 | .NET Framework 4.7.2 |
528372 | .NET Framework 4.8 на Windows 10 2004, 20H2, и 21H1 |
528040 | .NET Framework 4.8 на Windows 10 1903 и 1909 |
528449 | .NET Framework 4.8 в Windows Server 2022 и Windows 11 |
528049 | .NET Framework 4.8 (остальные версии Window) |
.NET Framework 4.8 сегодня — самая последняя доступная версия .NET Framework.
Как узнать версию .NET Framework с помощью PowerShell?
Можно получить информацию об установленных версиях и релизах NET Framework на компьютере с помощью PowerShell. Проще всего получить эти данные напрямую из реестра с помощью командлетов
Get-ChildItem
и
Get-ItemProperty
(подробнее о работе с записями реестра из PowerShell).
Чтобы вывести таблицу по всем версиям .Net Framework на компьютере, выполните команду:
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
На этом компьютере установлены версии .Net 2.0, 3.0, 3.5 и 4.7.
Начиная с версии .Net v4.0 более новая версия Framework перезаписывает (заменяет) старую версию. Т.е. если на компьютере был установлен .NET Framework 4.7, то при установке .NET Framework 4.8, старая версия пропадет.
Можно вывести только номер релиза (для версий .Net 4.x):
(Get-ItemProperty ‘HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full’ -Name Release).Release
Согласно таблице, номер 528449 соответствует версии .Net Framework 4.8 в Windows 11.
Проверить версию .Net Framework на удаленных компьютерах
Вы можете удаленно получить список версий .Net Framework, установленных на компьютерах в вашей сети помощью PowerShell.
Ниже представлен небольшой PowerShell скрипт, который получает список компьютеров из текстового файла и проверяет на всех версию .Net Framework. Для запуска команд на удаленных компьютерах используется WinRM командлет Invoke-Command.
Function GetNetFramework {
Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -recurse |
Get-ItemProperty -name Version,Release -EA 0 |
Where { $_.PSChildName -match '^(?![SW])\p{L}'} |
Select PSChildName, Version, Release, @{
name="Product"
expression={
switch -regex ($_.Release) {
"378389" { [Version]"4.5" }
"378675|378758" { [Version]"4.5.1" }
"379893" { [Version]"4.5.2" }
"393295|393297" { [Version]"4.6" }
"394254|394271" { [Version]"4.6.1" }
"394802|394806" { [Version]"4.6.2" }
"460798|460805" { [Version]"4.7" }
"461308|461310" { [Version]"4.7.1" }
"461808|461814" { [Version]"4.7.2" }
"528040|528049|528449|528372" { [Version]"4.8" }
{$_ -gt 528449} { [Version]"Undocumented version (> 4.8)" }
}
}
}
}
$result=@()
$servers= Get-Content C:\PS\servers.txt
foreach ($server in $servers)
{
$result+=Invoke-Command -ComputerName $server -ScriptBlock $function:GetNetFramework
}
$result| select PSComputerName,@{name = ".NET Framework"; expression = {$_.PSChildName}},Product,Version,Release| Out-GridView
Скрипт выводит табличку (через Out-GridView) со списком версий .Net Framework, установленных на удаленных компьютерах.
Также вы можете задать список компьютеров, на которых нужно проверить .NET так:
$servers= @("pc1","pc2","pc3","pc4","pc5")
Или выбрать список компьютеров из домена с помощью командлета Get-ADComputer из модуля AD PowerShell. Следующая команда выберет все активные хосты Windows Server в домене:
$servers= Get-ADComputer -Filter 'operatingsystem -like "*Windows server*" -and enabled -eq "true"'
Вывести версии .NET Framework в командной строке
Все версии.NET Framework устанавливаются в следующие каталоги Windows:
-
%SystemRoot%\Microsoft.NET\Framework
-
%SystemRoot%\Microsoft.NET\Framework64
Вы можете просто открыть этот каталог и увидеть список установленных версий .NET. Каждой версии соответствует отдельный каталог с символом v и номером версии в качестве имени папки. Можно вывести список установленных версий .NET Framework из команды строки:
dir %WINDIR%\Microsoft.Net\Framework\v* /O:-N /B
Команда выведет все установленные версии кроме 4.5, т.к. .NET Framework 4.5 устанавливается в подкаталог v4.0.xxxxx.
-
Home
-
Partition Magic
- How to Check .NET Framework Version on Windows 10 [3 Methods]
By Sherry |
Last Updated
.NET Framework is a software development framework for building and running applications on Windows. How to check .NET Framework version on your PC? Here, MiniTool Partition Wizard provides 3 methods for you, and you can choose one you prefer to have a try.
.NET Framework is a software developed by Microsoft that runs primarily on Microsoft Windows. It is a part of the .NET platform, a collection of technologies for building and running applications for Linux, macOS, Windows, iOS, Android and more.
In most cases, you don’t need to worry about the version of .NET installed on your computer, but some applications require a specific version of it to run properly.
How to check which .NET Framework is installed on Windows 10? Here are three methods.
Method 1: Check Your .NET Framework Version via Registry Editor
An easy way to figure out which .NET Framework is installed on your PC is to check it in Registry Editor. Without further ado, let’s see how to do it.
Step 1: Press Win + R to invoke Run window. Then input regedit in the box and click OK to open Registry Editor.
Step 2: Copy the following path and paste it to the address bar to navigate to it quickly:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNET Framework SetupNDP
Step 3: In the left pane, double-click the main version key to expand it, such as v4. Then select Client key.
Tip: In versions over than version 4, you won’t be able to find Client key. Instead, you need to select a number or Setup key to check the version.
Step 4: Now you can check the information you need in Version string in the right pane.
That’s how to check .NET Framework version using Registry Editor.
Method 2: Check Your .NET Framework Version via Command Prompt
You can also check .NET Framework on Windows 10 with Command Prompt. You just need to:
Step 1: Press Win + S to open Search utility. Then type cmd in the search box, right-click Command Prompt from the search results and select Run as administrator.
Step 2: In Command Prompt, input reg query “HKLMSOFTWAREMicrosoftNet Framework SetupNDP” /s and press Enter. Then you can see the basic version of your .NET Framework. For example, v4.
Step 3: If you want to check more specific version number, you can continue to input the following command and press Enter to execute it:
reg query “HKLMSOFTWAREMicrosoftNet Framework SetupNDPv4” /s
Now you must know which .NET Framework is installed on your Windows 10. If you’re not familiar with Command Prompt or you don’t want to remember the commands, you can try the next method.
Method 3: Check Your .NET Framework Version via PowerShell
Another way to check .NET Framework version is to use Windows PowerShell, a cross-platform task automation and configuration management framework. The detailed steps are listed below.
Step 1: Search for PowerShell in the Search utility. Then right-click the top result and select Run as administrator.
Step 2: In PowerShell, copy and paste the following command line and press Enter to execute it.
Get-ChildItem ‘HKLM:SOFTWAREMicrosoftNET Framework SetupNDP’ -Recurse | Get-ItemProperty -Name version -EA 0 | Where { $_.PSChildName -Match ‘^(?!S)p{L}’} | Select PSChildName, version
Then you should be able to check the information you need on the screen. That’s all about how to check .NET Framework version on Windows 10. Hope it’s helpful for you.
About The Author
Position: Columnist
Sherry has been a staff editor of MiniTool for a year. She has received rigorous training about computer and digital data in company. Her articles focus on solutions to various problems that many Windows users might encounter and she is excellent at disk partitioning. She has a wide range of hobbies, including listening to music, playing video games, roller skating, reading, and so on. By the way, she is patient and serious.
Quick Links
-
Use a Command to View the .NET Framework Version
-
Find the .NET Framework Version in File Explorer
Do you want to find the .NET Framework version that’s installed on your Windows 10 PC? You can use a PowerShell command or dig through File Explorer to find the .NET version number. Here’s how.
Use a Command to View the .NET Framework Version
A quick and easy way to find your .NET Framework version is by using a PowerShell command. Running this command lists all of the framework versions installed on your PC.
To use this command, first, open PowerShell. Do this by opening the «Start» menu, searching for «Windows PowerShell,» and clicking it.
On the PowerShell window, type the following command 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
PowerShell displays a list of .NET Framework versions installed on your system. Here, the highest number is the most recent framework version available on your PC.
You can now close the PowerShell window.
Find the .NET Framework Version in File Explorer
You can also view the version that you have installed from File Explorer. You will need to head to the C:\Windows\Microsoft.NET\Framework folder on your system.
To quickly open the «Framework» folder in File Explorer, first, open Run. Do this by pressing the Windows+R keys at the same time.
In the Run box, type the following path and press Enter. If you’ve installed Windows 10 in a drive other than the C drive, replace «C» with the letter of your Windows installation drive in the path below.
C:\Windows\Microsoft.NET\Framework
In the Framework folder window, find the folder that shows the highest version number. Double-click this folder to open it.
In the following screenshot, «v4.0.30319» is the highest numbered folder, and we’ll open this one.
The other folders here represent various .NET Framework versions installed on your PC. Remember that your PC can have multiple .NET Framework versions installed on it.
Find the «Accessibility.dll» file in the folder that opens.
Right-click «Accessibility.dll» and select «Properties.»
On the «Properties» window, click the «Details» tab at the top.
The «Details» tab shows various information about your selected file. Here, look for the value next to «Product version,» as this value is the most recent .NET Framework version installed on your PC.
In the following screenshot, that value is 4.8.4084.0.
Close the window when you’ve checked your version. And that’s all.
Want to know your installed Java version? Finding that is equally easy.
Microsoft .NET Framework is a software development platform developed by Microsoft. Every software or Software developed using .NET required .net Framework installed in the System to run the application. And when you install a new application developed on .Net on a computer/server, it is sometimes necessary to know in advance which versions and service packs of the .Net Framework are already installed. Windows 11 and windows 10 2022 update has .NET Framework 4.8.1 installed by default, here is How to check which versions of .NET Framework are installed on your Windows system.
Contents
- 1 Microsoft .NET Framework Versions
- 2 Check .NET Framework Version
- 3 Check .NET Framework version using the registry editor
Microsoft .NET Framework Versions
There are several versions of .NET Framework available, Some are included in some Windows OS by default and all are available to download at the Microsoft website as well.
Here is list of all released versions of .NET Framework (Till 13/11/2022):
- .NET Framework 1.0 (comes pre-installed in Windows XP)
- .NET Framework 1.1 (comes with pre-installed in Windows Server 2003)
- .NET Framework 2.0 (comes with pre-installed in Windows Server 2003, 2003 R2, 2008 SP2 and 2008 R2 SP1)
- .NET Framework 3.0 (Bundled in Windows Vista and Windows Server 2008 SP2, 2008 R2 SP1)
- .NET Framework 3.5 (comes pre-installed in Windows 7, 8/8.1, Windows 10 and Windows Server 2008 R2 SP1)
- .NET Framework 4.0
- .NET Framework 4.5 (By default installed in Windows 8 and Windows Server 2012)
- .NET Framework 4.5.1 (comes with pre-installed in Windows 8.1 and Windows Server 2012 R2)
- .NET Framework 4.5.2
- .NET Framework 4.6 (comes installed in Windows 10)
- .NET Framework 4.6.1 (comes installed in Windows 10 version 1511)
- .NET Framework 4.6.2 (comes installed in Windows 10 version 1607 and Windows Server 2016)
- .NET Framework 4.7 (comes installed in Windows 10 version 1703)
- .NET Framework 4.7.1 (comes installed in Windows 10 version 1709)
- .NET Framework 4.7.2 (comes installed in Windows 10 version 1803/1809)
- .NET Framework 4.8 (the latest Windows 10 version 1903, the May 2019 Update version of the operating system, includes version 4.8 of the .NET Framework already.
- NET Framework 4.7.2 (comes preinstalled on windows 11 and windows 10 version 20H2 and later)
All versions of the .NET Framework are installed into the folders:
- %SystemRoot%\Microsoft.NET\Framework
- %SystemRoot%\Microsoft.NET\Framework64
And to display the list of .Net installed versions open this folder Here Each version corresponds to a separate directory with the v characters at the beginning and the version number as the folder name.
Alternatively, you can open the command prompt with administrative privileges and run the following command, which displays the installed .NET Framework directories (versions).
dir %WINDIR%\Microsoft.Net\Framework\v* /O:-N /B
Check .NET Framework version using the registry editor
- Press Windows + R, type regedit and ok to open the windows registry editor.
- Then navigate to the following path :
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP
- When you expend NDP subkey you’ll see separate keys for each .NET Framework version installed in your system.
to know more about the installed version, Expend any of them for example when you expend v4 and select full or client you found the following registry parameters:
- Install — version installation flag (if equal to 1 – this version of .Net is installed on the computer);
- Install Path — the directory where this .Net version is installed;
- Release — .Net current release number;
- Version — the full version number of .Net Framework.
Here .NET Framework versions and their associated release DWORD values
Version | Value of the Release DWORD |
---|---|
.NET Framework 4.5 | 378389 |
.NET Framework 4.5.1 installed with Windows 8.1 | 378675 |
.NET Framework 4.5.1 installed on Windows 8, Windows 7 SP1, or Windows Vista SP2 | 378758 |
.NET Framework 4.5.2 | 379893 |
.NET Framework 4.6 installed with Windows 10 | 393295 |
.NET Framework 4.6 installed on all other Windows OS versions | 393297 |
.NET Framework 4.6.1 installed on Windows 10 | 394254 |
.NET Framework 4.6.1 installed on all other Windows OS versions | 394271 |
.NET Framework 4.6.2 installed on Windows 10 Anniversary Update and Windows Server 2016 | 394802 |
.NET Framework 4.6.2 installed on all other Windows OS versions | 394806 |
.NET Framework 4.7 installed on Windows 10 Creators Update | 460798 |
.NET Framework 4.7 installed on all other Windows OS versions | 460805 |
.NET Framework 4.7.1 installed on Windows 10 Fall Creators Update | 461308 |
.NET Framework 4.7.1 installed on all other Windows OS versions | 461310 |
.NET Framework 4.7.2 installed on Windows 10 October 2018 Update | 461814 |
.NET Framework 4.7.2 installed on Windows 10 April 2018 Update | 461808 |
.NET Framework 4.7.2 installed on Windows 10 Fall Creators Update and earlier OS versions | 461814 |
The following example checks the Release
value in the registry to determine whether the .NET Framework 4.5 or a later version of the .NET Framework is installed.
Also, read:
- How to Install net framework 3.5 on windows 10 and 8.1
- Fix NET Framework 3.5 installation Error 0X800F081F in Windows 10
- How to fix Error Code 0x800f0950 in Windows 10 (.Net Framework 3.5)