none
Unable to install .NET RRS feed

  • Question

  • Hi,

    I am trying to install .NET on Windows 7 Professional 64bit but getting:

    Blocking Issues:
    
    The setup cannot run in compatibility mode.
    
    The .NET Framework 4.6.1 is not supported on this operating system.
    

    I tried all version and all of them giving the same problem.

    Can anyone help please...

    Thanks,

    Jassim

    Tuesday, May 17, 2016 9:28 AM

Answers

  • Dear Jassim,

    Welcome to the MSDN forum.

    If you want to install .NET Framework 4.6.1, according to the system requirement of .NET Framework 4.6.1, it supports OS versions as below:

    • Windows 7 SP1 (x86 and x64)
    • Windows 8 (x86 and x64)
    • Windows 8.1 (x86 and x64)
    • Windows 10
    • Windows Server 2008 R2 SP1 (x64)
    • Windows Server 2012 (x64)
    • Windows Server 2012 R2 (x64)

    Since your OS is Windows 7, please upgrade to Windows 7 SP1 and install all patches under Windows updates.

    If you already installed SP1, according to the error message ‘The setup cannot run in compatibility mode’, please have a look at this documents:

    https://msdn.microsoft.com/en-us/library/hh925569%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396

    1. In Registry Editor, browse to the following subkeys:
      • HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Persisted
      • HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
    2. In the Name column, look for .NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, or 4.6.2 Preview download names, depending on which version you are installing, and delete these entries. For download names, see the Installing the .NET Framework article.
    3. Rerun the .NET Framework installer for version 4.5, 4.5.1, 4.5.2, or 4.6, 4.6.1, or 4.6.2 Preview.

    https://blogs.msdn.microsoft.com/vsnetsetup/2015/02/03/the-setup-cannot-run-in-compatibility-mode/

    Soumitra : I renamed registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Custom\setup.exe and started the NetFx 4.5.2 Setup package. It was successful and the issue was resolved. 

    Best regards,

    Sara


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, May 18, 2016 5:46 AM
    Moderator

All replies

  • Hi Jassim,

    Based on your description, your case more related to .NET Framework Setup, I will move your case to that forum for better support.

    Have a nice day!

    Kristin


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, May 18, 2016 1:58 AM
  • Dear Jassim,

    Welcome to the MSDN forum.

    If you want to install .NET Framework 4.6.1, according to the system requirement of .NET Framework 4.6.1, it supports OS versions as below:

    • Windows 7 SP1 (x86 and x64)
    • Windows 8 (x86 and x64)
    • Windows 8.1 (x86 and x64)
    • Windows 10
    • Windows Server 2008 R2 SP1 (x64)
    • Windows Server 2012 (x64)
    • Windows Server 2012 R2 (x64)

    Since your OS is Windows 7, please upgrade to Windows 7 SP1 and install all patches under Windows updates.

    If you already installed SP1, according to the error message ‘The setup cannot run in compatibility mode’, please have a look at this documents:

    https://msdn.microsoft.com/en-us/library/hh925569%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396

    1. In Registry Editor, browse to the following subkeys:
      • HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Persisted
      • HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
    2. In the Name column, look for .NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, or 4.6.2 Preview download names, depending on which version you are installing, and delete these entries. For download names, see the Installing the .NET Framework article.
    3. Rerun the .NET Framework installer for version 4.5, 4.5.1, 4.5.2, or 4.6, 4.6.1, or 4.6.2 Preview.

    https://blogs.msdn.microsoft.com/vsnetsetup/2015/02/03/the-setup-cannot-run-in-compatibility-mode/

    Soumitra : I renamed registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Custom\setup.exe and started the NetFx 4.5.2 Setup package. It was successful and the issue was resolved. 

    Best regards,

    Sara


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, May 18, 2016 5:46 AM
    Moderator