Skip to main content

Problem:

How do I resolve "Error invoking unauthorized copy..." on Windows 2003? (Loc 508)

Resolution:

If the administrator account can run, the most likely cause of this error is insufficient privileges to create the needed key in the registry entry:

[HKLM\\SOFTWARE\\Liant Software Corporation\\Common

The runtime requires a user ID with appropriate permissions to access HKLM, or at the very least, that allow the user access to that registry entry.  A Power User normally has sufficient permissions to write to HKLM, so an Administrator user ID is not required.

The HKLM\\SOFTWARE\\Liant Software Corporation\\Common portion of the registry is used to make the runtime start faster, so it is advantageous to allow this access.

Another possible cause that affects Citrix and Terminal Services users of RM/COBOL is the "Create Global Object" privilege implemented in Service Pack 4 for Windows 2000. This privilege also affects all subsequent Windows operating systems.

Microsoft Knowledge Base article #821546 describes the privilege and how to resolve the problem in detail.

It was introduced in Windows Service Pack 4 to close security gaps. This new user right (SeCreateGlobalPrivilege) must be set to allow RM/COBOL to run under a Citrix or Terminal Services session. Instructions for setting these permissions are included in the Knowledge Base article (http://support.microsoft.com/kb/821546/)

NOTE: Because this Privilege was added to Windows 2000, no user account, not even Administrator accounts have this privilege set by default. All accounts should be set manually.

    

Old KB# 5141