Event Viewer Error

SOLVED

Just wondering if anyone has come across the following application error in event viewer. 

System Registry Error. The operating system reported "The system cannot find the file specified. " on attempting to create or open the ACCPAC International, Inc. registry subkey of the \HKEY_LOCAL_MACHINE\Software key (writable was 0)

The error sounds like Accpac is trying to write to the local machines registry. A standard user would not have the rights to do that. 

I'm reasonably sure this  error is coming from a custom VB6 application that uses the Accpac COMAPI

Sage 300 2021 PU7
Windows Server 2019