Microsoft Word Automation Error Library Not Registered

I’ve seen this issue crop up a few times now and I spend hours process-monitoring it and fixing it, only to find another occurrence a few months later!  And since I have the memory of a fish, this time I’m documenting the fix for Microsoft Word Automation Error Library Not Registered!

As a bit of background, our current client is rolling out Office 365.  In exceptional circumstances, when they find applications that don’t integrate well they revert these machines back to Office 2010.  And this is where the problem gets introduced.

Office 365 doesn’t do a good job of removing itself, and leaves some junk registry entries behind.  And when an application uses Word Automation (or Excel automation, or otherwise) it gets confused by these junk registry entries and spits out the ‘Microsoft Word Automation Error Library Not Registered’.

I didn’t have time to find ALL the junk it leaves behind – there is no doubt more!  But the fix is to remove all of the TypeLib versions that no longer exist!  Here is my registry fix below:

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\TypeLib\{00020802-0000-0000-C000-000000000046}\1.9]

[-HKEY_CLASSES_ROOT\TypeLib\{00020813-0000-0000-C000-000000000046}\1.9]

[-HKEY_CLASSES_ROOT\TypeLib\{00020905-0000-0000-C000-000000000046}\8.7]

[-HKEY_CLASSES_ROOT\TypeLib\{91493440-5A91-11CF-8700-00AA0060263B}\2.c]

[-HKEY_CLASSES_ROOT\TypeLib\{00062FFF-0000-0000-C000-000000000046}\9.6]

[-HKEY_CLASSES_ROOT\TypeLib\{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}\2.8]

[-HKEY_CLASSES_ROOT\TypeLib\{0002123C-0000-0000-C000-000000000046}\2.3]

[-HKEY_CLASSES_ROOT\TypeLib\{0006F062-0000-0000-C000-000000000046}\1.2]

and for reference, we can see below what the versions SHOULD be for Office 2010.

    • Graph: HKEY_CLASSES_ROOT\TypeLib\{00020802-0000-0000-C000-000000000046}\
      • 1.7 is for Office 2010
      • 1.8 is for Office 2013
      • 1.9 is for Office 2016/365
    • Excel: HKEY_CLASSES_ROOT\TypeLib\{00020813-0000-0000-C000-000000000046}\
      • 1.7 is for Office 2010
      • 1.8 is for Office 2013
      • 1.9 is for Office 2016/365
    •  Word: HKEY_CLASSES_ROOT\TypeLib\{00020905-0000-0000-C000-000000000046}\
      • 8.5 is for Office 2010
      • 8.6 is for Office 2013
      • 8.7 is for Office 2016/365
    • PowerPoint: HKEY_CLASSES_ROOT\TypeLib\{91493440-5A91-11CF-8700-00AA0060263B}\
      • 2.a is for Office 2010
      • 2.b is for Office 2013
      • 2.c is for Office 2016/365
    • Outlook: HKEY_CLASSES_ROOT\TypeLib\{00062FFF-0000-0000-C000-000000000046}\
      • 9.4 is for Office 2010
      • 9.5 is for Office 2013
      • 9.6 is for Office 2016/365
    • Office Common: HKEY_CLASSES_ROOT\TypeLib\{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}\
      • 2.5 is for Office 2010
      • 2.7 is for Office 2013
      • 2.8 is for Office 2016/365
    • Publisher: HKEY_CLASSES_ROOT\TypeLib\{0002123C-0000-0000-C000-000000000046}\
      • 2.1 is for Office 2010
      • 2.2 is for Office 2013
      • 2.3 is for Office 2016/365
    • Outlook View Control: HKEY_CLASSES_ROOT\TypeLib\{0006F062-0000-0000-C000-000000000046}\
      • 1.1 is for Office 2010
      • 1.1 is for Office 2013
      • 1.2 is for Office 2016/365