I was upgrading a SharePoint 2010 farm using PSConfig.exe as shown below

PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures

After the timer stopped at “The farm is being upgraded in the timer service process. The task is 10.00% completed.” it failed and after searching the LOGS I found the below error.

Unable to create a Service Connection Point in the current Active Directory domain. Verify that the SharePoint container exists in the current domain and that you have rights to write to it. Microsoft.SharePoint.SPException: The object LDAP://CN=Microsoft SharePoint Products,CN=System,DC=,DC=,DC=com doesn't exist in the directory. at Microsoft.SharePoint.Administration.SPServiceConnectionPoint.Ensure(String serviceBindingInformation) at Microsoft.SharePoint.PostSetupConfiguration.UpgradeTask.Run()

To resolve the the issue I used this walkthrough.