How do you stop and start the service in Central Aministration using PowerShell in SharePoint 2016?

To stop a service: $ServiceName = “Microsoft SharePoint Foundation Sandboxed Code Service” Get-SPServiceInstance -server $env:COMPUTERNAME | where-object {$_.TypeName -eq $ServiceName} | Stop-SPServiceInstance -confirm:$false > $null   To start a service: $ServiceName = “Microsoft SharePoint Foundation Sandboxed Code Service” Get-SPServiceInstance -server $env:COMPUTERNAME | where-object {$_.TypeName -eq… Read More

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… Read More