SPS0004

Severity

Critical

Source

OS_ENVIRONMENT

Message Text

Could not create/open registry key %s. Last error %d

Description

An error was reported trying to create or open a registry key for the Server Manager presence detection.

Cause

The cause of the error is reported in the "last error" code displayed in the message. This error code is reported by the RegOpenKeyEx Windows API function and the Windows documentation provides the detailed cause of the error in the description of the error code. This is often an authorisation issue for the user-id running the Server Manager process if this user cannot create a subkey in the registry "HKLM\Software" key.

Action

Rerun the application once from a user-id with authorisation to write new subkeys in the "HKLM\Software" key. If this also fails, delete the "HKLM\Software\SOFTPRO" key from the registry and attempt once more to run the application from a user-id with authorisation to write new subkeys in the "HKLM\Software" key. Once the application has been successful writing the "SOFTPRO" subkey, there is no longer a need to use an authorised user when running the application.