How do I find the installed .NET versions?

There is an easier way to get the exact version .NET version installed on your machine from a cmd prompt. Just follow the following instructions;

  1. Open the command prompt (i.e Windows + R → type “cmd”).
  2. Type the following command, all on one line:reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP" (This will list all the .NET versions.)
  3. If you want to check the latest .NET 4 version.
  4. Type the following instruction on a single line:reg query “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\full” /v version

Other command lines:

dir /b /ad /o-n %systemroot%\Microsoft.NET\Framework\v?.*