Printbrm.exe (the Printer Migration Wizard or the command-line tool) could not open registry key %1. Error code %2. This ...

Printbrm.exe (the Printer Migration Wizard or the command-line tool) could not open registry key %1. Error code %2. This can occur if an important Windows resource (such as the registry) is unavailable, if the Component Object Model (COM) cannot be initialized, or if Printbrm.exe cannot allocate memory. Examine the Windows error returned by this event to determine the cause.