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.

082515_2152_SharePointS1

 

082515_2152_SharePointS2

 

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