.NET Framework 4.6 and Sharepoint installation

…this post was published on 2017 January 1.

Sharepoint it sn’t compatible with .NET Framework 4.6. To install it, you should first

1. remove update KB3102467
and
2.  block the installation later

For​ this , you can manually create a new entry in registry, or you can use the following Powershell script

Set-Location ‘HKLM:\Software\Microsoft\NET Framework Setup\NDP’
if (Test-Path WU)
{
     “Over-write the item”
     New-ItemProperty -Path .\WU -Name BlockNetFramework461 -Value 1 -PropertyType DWORD
}

else
{
    “Create the path and the key”
    New-Item -Path .\WU
    New-ItemProperty -Path .\WU -Name BlockNetFramework461 -Value 1 -PropertyType DWORD
}
This entry was posted in .NET, Powershell. Bookmark the permalink.