System.Exception Critical registry key

Error Encountered: System.Exception: Critical registry key

When upgrading the Orchestrator, if the error below is encountered during the installation, please check the solution.

System.Exception: Critical registry key [SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\_UPGRADE_PROP_] could not be read

at UiPath.OrchestratorCAs.Sessions.SessionManager.g__UpgradedVersionIsAspNetCore|52_0(OrchestratorSession session)

at UiPath.OrchestratorCAs.Sessions.SessionManager.SetVersionProperties()

at UiPath.OrchestratorCAs.CustomActions.Immediate.ValidateFeaturesAction.Execute()

at UiPath.OrchestratorCAs.CustomActions.Base.BaseCustomAction.InternalExecute()



Solution: Check if there is enough storage size on the machine where orchestrator is going to be installed.

If not, resize it and retry the installation.