Check the DOT NET version with Regedit/Powershell command

Check the .NET version with Regedit / Powershell command

ChecK .Net Version with Regedit

  1. Open the Regedit in Windows Server.
  2. Go to the location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP
  3. Drag more check V4 –> FULL –> Open 1033 –> on Right window you will see Release number.
    Then match release number with following table.

releaseKey >= 528040 for version “4.8 or later”;
releaseKey >= 461808 for version “4.7.2”;
releaseKey >= 461308 for version “4.7.1”;
releaseKey >= 460798 for version “4.7”;
releaseKey >= 394802 for version “4.6.2”;
releaseKey >= 394254 for version “4.6.1”;
releaseKey >= 393295 for version “4.6”;
releaseKey >= 379893 for version “4.5.2”;
releaseKey >= 378675 for version “4.5.1”;
releaseKey >= 378389 for version “4.5”;

Check .Net version with Powershell command.

--Check both full and client version installed.
Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -recurse |
Get-ItemProperty -name Version,Release -EA 0 |
Where { $_.PSChildName -match '^(?!S)\p{L}'} |
Select PSChildName, Version, Release

PSChildName                      Version        Release
-----------                      -------        -------
v2.0.50727                       2.0.50727.4927        
v3.0                             3.0.30729.4926        
v3.5                             3.5.30729.4926        
Client                           4.8.03752      528040 
Full                             4.8.03752      528040 


--Another command, it will check version with release key
---For Check version 4.7.2 or later required, following command will return TRUE.

(Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").Release -ge 461808

releaseKey >= 528040 for version "4.8 or later";
releaseKey >= 461808 for version "4.7.2";
releaseKey >= 461308 for version "4.7.1";
releaseKey >= 460798 for version "4.7";
releaseKey >= 394802 for version "4.6.2";
releaseKey >= 394254 for version "4.6.1";
releaseKey >= 393295 for version "4.6";
releaseKey >= 379893 for version "4.5.2";
releaseKey >= 378675 for version "4.5.1";
releaseKey >= 378389 for version "4.5";

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.