Microsoft SharePoint Server 2016 encountered an error during setup

While installing SharePoint Server 2016 you get the “Microsoft SharePoint Server 2016 encountered an error during setup”, and when the error page opens you see its error 1603.





Solution :-


Run the below  PowerShell with  administrator privileges


if(!(Test-Path HKLM:SOFTWAREPoliciesMicrosoftWindowsInstaller)){
New-Item -Path HKLM:SOFTWAREPoliciesMicrosoftWindowsInstaller | Out-Null
$regProps = Get-ItemProperty -Path HKLM:SOFTWAREPoliciesMicrosoftWindowsInstaller
if(! $regProps.logging){
New-ItemProperty -Path HKLM:SOFTWAREPoliciesMicrosoftWindowsInstaller -Name logging -Value voicewarmup -PropertyType String | Out-Null
if(! $regProps.debug){
New-ItemProperty -Path HKLM:SOFTWAREPoliciesMicrosoftWindowsInstaller -Name debug -Value 3 -PropertyType DWord | Out-Null



Add Comment