I've been getting this error for years when upgrading. It has something to do with editing the registry and I can't remember which keys to edit. I also believe it's Windows related because when you search for this in Google you find non-HEM instances as well.
How do we fix this? This is an issue going back for over a decade now.