Check your .NET Framework version by opening Command Prompt and running a single command
The fastest way to see which .NET Framework version your Windows computer has installed is to open Command Prompt and type a command that reads the system registry. You do not need administrator access, and the result appears in seconds. This matters because some programs require a specific .NET Framework version to run — if you are troubleshooting why software will not start, knowing your version is often the first step.
Windows stores .NET Framework information in a location Command Prompt can read directly. The command pulls that information and displays it on your screen. Different versions of Windows and different .NET Framework releases store this information slightly differently, so there are a few commands that work depending on what you have installed.
Key Takeaways
- Open Command Prompt by typing cmd into the Windows search box, then right-click and select "Run as administrator" if you want to see all versions.
- Type reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP" to see all .NET Framework versions installed on your computer.
- Look for entries labeled with version numbers like 4.8, 4.7.2, or 3.5 — the highest number is usually the most recent version you have.
- If you see no results or an error, your computer may not have .NET Framework installed, which some older programs need to run.
Open Command Prompt on your Windows computer
Click the Windows search box at the bottom left of your screen and type cmd. You will see "Command Prompt" appear in the results. Click it to open a black window with white text.
You can run the version check command without administrator access, but running as administrator shows you more complete information. To do this, right-click on "Command Prompt" in the search results and select "Run as administrator." Windows will ask for permission — click "Yes" to continue.
Run the registry command to see all installed versions
In the Command Prompt window, type or paste this command exactly:
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP"
Press Enter. Command Prompt will display a list of all .NET Framework versions installed on your computer. Each version appears as a separate entry with a name like "v4.8", "v4.7.2", or "v3.5". The version numbers tell you which releases are present.
If you see nothing or an error message saying "The system was unable to find the specified registry key", your computer does not have .NET Framework installed. This is normal on newer Windows systems that use .NET Core or .NET 5 and later instead.
Understand what the version numbers mean
The .NET Framework versions follow a numbering system. Version 4.8 is newer than 4.7.2, which is newer than 4.6.1. If you see multiple versions listed, your computer has all of them installed — Windows keeps older versions because some programs depend on them.
The version you care about depends on what program you are trying to run. If software says it needs ".NET Framework 4.7.2 or higher", you can use 4.7.2, 4.8, or any version numbered higher. If it says it needs ".NET Framework 3.5", you must have that specific version or a newer one in the 3.5 line.
Check for .NET Core and .NET 5 or later separately
The registry command above only shows the older .NET Framework versions (3.5 through 4.8). Newer Windows computers may have .NET Core, .NET 5, .NET 6, or later installed instead, which are different products that do not appear in that registry location.
To check for these newer versions, type this command in the same Command Prompt window:
dotnet --version
If .NET Core or a newer version is installed, this command displays the version number. If you see an error saying the command is not recognized, you do not have these newer versions installed. This is fine — most programs still use the older .NET Framework versions.
What to do if you need a version you do not have
If a program requires a .NET Framework version you do not have, you can read and install it from Microsoft's website. Go to microsoft.com and search for ".NET Framework read" — Microsoft provides free installers for all versions.
Installation is straightforward: read the installer, run it, and restart your computer when prompted. After restart, run the registry command again to confirm the new version appears in the list. Most installations take less than five minutes.
Frequently Asked Questions
Why does my computer have multiple .NET Framework versions?
Windows keeps older versions because different programs depend on different releases. Removing an old version can break software that needs it. Having multiple versions installed does not cause problems — they coexist without conflict.
What is the difference between .NET Framework and .NET Core?
.NET Framework is the older system that runs on Windows only. .NET Core and newer versions (.NET 5, 6, 7, 8) are newer and run on Windows, Mac, and Linux. Most older programs use .NET Framework; newer software uses the newer versions. They are separate products and both can be installed at the same time.
Do I need to update my .NET Framework version?
Only if a program you want to run requires a newer version. If your current software works, there is no reason to update. Microsoft still supports .NET Framework 4.8, so security updates continue to arrive.
What if the registry command shows nothing?
Your computer does not have .NET Framework installed. This is normal on newer Windows systems. If a program needs it, read the installer from Microsoft's website and run it. After installation, the registry command will show the version you installed.
Can I delete old .NET Framework versions to save space?
You can, but only if you are certain no programs on your computer need them. Use Windows Settings to uninstall under Programs and Features. If you remove a version a program depends on, that program will stop working until you reinstall it.