Check which. NET Framework version is installed

Source: Internet
Author: User
Tags knowledge base

His article would help you to know which. NET Framework version was installed from command line.

Check which. NET Framework version is installed by command line

Dir%windir%\microsoft.net\framework\v*

Dir%windir%\microsoft.net\framework\v*/o:-n/b

Use the registry information below to determine which version (s) and service pack level (s) of the Microsoft. NET Frame Work is installed.
To does this, following the steps below:
  1. Click Start, type regedit in the Search programs and Files box (click Run and type rege DIT in the Run dialogbox with Windows XP), and then press Enter.
  2. In theRegistry Editor, locate theRegistry Key NameThe table below and check the value for the related. NET Framework.


    . NET Framework Service Pack Level Registry Key Name Value
    4-client Original Release HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v4\client Name: Install, Type:REG_DWORD, Data:1
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v4\client Name: Version, Type: REG_SZ, Data:4.0.30319.0
    4-full Original Release HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\ndp\v4\full Name: Install, Type:REG_DWORD, Data:1
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\ndp\v4\full Name: Version, Type: REG_SZ, Data:4.0.30319.0
    3.5 Original Release HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v3.5 Name: Install, Type:REG_DWORD, Data:1
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v3.5 Name: SP, Type:REG_DWORD, Data:0
    3.5 Service Pack 1 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v3.5 Name: Install, Type:REG_DWORD, Data:1
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v3.5 Name: SP, Type:REG_DWORD, Data:1
    3.0 Original Release Follow the deployment and detection guidance in this document:http://msdn.microsoft.com/en-us/library/aa480173.aspx
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v3.0 Name: SP, Type:REG_DWORD, Data:0
    3.0 Service Pack 1 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v3.0 Name: Install, Type:REG_DWORD, Data:1
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v3.0 Name: SP, Type:REG_DWORD, Data:1
    3.0 Service Pack 2 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v3.0 Name: Install, Type:REG_DWORD, Data:1
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v3.0 Name: SP, Type:REG_DWORD, Data:2
    2.0 Original Release HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v2.0.50727 Name: Install, Type:REG_DWORD, Data:1
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v2.0.50727 Name: SP, Type:REG_DWORD, Data:0
    2.0 Service Pack 1 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v2.0.50727 Name: Install, Type:REG_DWORD, Data:1
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v2.0.50727 Name: SP, Type:REG_DWORD, Data:1
    2.0 Service Pack 2 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v2.0.50727 Name: Install, Type:REG_DWORD, Data:1
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v2.0.50727 Name: SP, Type:REG_DWORD, Data:2
    1.1 (on 32-bit operating systems) Original Release HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v1.1.4322 Name: Install, Type:REG_DWORD, Data:1
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v1.1.4322 Name: SP, Type:REG_DWORD, Data:0
    1.1 (on 32-bit operating systems) Service Pack 1 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework setup\ndp\v1.1.4322 Name: Install, Type:REG_DWORD, Data:1
    1.1 (on 64-bit operating systems) Original Release Hklm\software\wow6432node\microsoft\net Framework setup\ndp\v1.1.4322 Name: Install, Type:REG_DWORD, Data:1
    Hklm\software\wow6432node\microsoft\net Framework setup\ndp\v1.1.4322 Name: SP, Type:REG_DWORD, Data:0
    1.1 (on 64-bit operating systems) Service Pack 1 Hklm\software\wow6432node\microsoft\net Framework setup\ndp\v1.1.4322 Name: Install, Type:REG_DWORD, Data:1
    Hklm\software\wow6432node\microsoft\net Framework setup\ndp\v1.1.4322 Name: SP, Type:REG_DWORD, Data:1
    1.0 (on supported platforms except for Windows XP Media Center and Tablet PC) Original Release

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{78705f0d-e8db-4b2d-8193-982bdda15ecd}

    Name: Version, Type: REG_SZ, Data:1.0.3705.0
    1.0 (on supported platforms except for Windows XP Media Center and Tablet PC) Service Pack 1

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{78705f0d-e8db-4b2d-8193-982bdda15ecd}

    Name: Version, Type: REG_SZ, Data:1.0.3705.1
    1.0 (on supported platforms except for Windows XP Media Center and Tablet PC) Service Pack 2

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{78705f0d-e8db-4b2d-8193-982bdda15ecd}

    Name: Version, Type: REG_SZ, Data:1.0.3705.2
    1.0 (on supported platforms except for Windows XP Media Center and Tablet PC) Service Pack 3

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{78705f0d-e8db-4b2d-8193-982bdda15ecd}

    Name: Version, Type: REG_SZ, Data:1.0.3705.3
    1.0 (Shipped with Windows XP Media Center 2002/2004 and Tablet PC 2004) Service Pack 2

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{fdc11a6f-17d1-48f9-9ea3-9051954baa24}

    Name: Version, Type: REG_SZ, Data:1.0.3705.2
    1.0 (Shipped with Windows XP Media Center 2005 and Tablet PC 2005) Service Pack 3

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{fdc11a6f-17d1-48f9-9ea3-9051954baa24}

    Name: Version, Type: REG_SZ, Data:1.0.3705.3
Recommended Deployment Detectionto detect the existence of a specific. NET Framework version regardless of the Service Pac K level, or to detect a service pack level or a later service pack level of the same. NET Framework version, use the Regis Try information that's listed in the following table.

Click here to view or hide detailed informationback to the top | Give feedbackreferencesfor More information about the benefits of the. NET Framework, click the following article number T o View the article in the Microsoft Knowledge base:829019 benefits of the Microsoft. NET Framework
For more information about Microsoft's currently supported products, visit the Microsoft Product Support Lifecycle website .

For more information on the Windows registry, click the following article number to view the article in the Microsoft K Nowledge Base:

256986 Windows registry information for advanced users

Check which. NET Framework version is installed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.