Alexander's Blog

Sharing knowledge with the global IT community since November 1, 2004

Setup Library wbemupgd.dll could not be loaded, or function OcEntry could not be found. Contact your system administrator. The specific error code is 0x7e.

/
/
ad-mania

Today I was working on a Windows Server 2003 and tried to add a program using Add or Remove Programs. I got the following error message when I tried to open Add/Remove Windows Components.

Setup Library wbemupgd.dll could not be loaded, or function OcEntry could not be found. Contact your system administrator. The specific error code is 0x7e.

The error mentioned wbemupgd.dll so I tried to restore it from the original source files, but it didn’t fix the problem. I was finally able to fix the problem by fixing an error in the path, as discussed in Microsoft’s KB article KB838420. The KB article suggests you add WBEM folder to the path. When I looked at the path under Control Panel, System, Advanced, Environment Variables, I noticed that my path under System Variables contained WBEM folder but it was missing a semicolon. My path looked something like this.

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEMC:\Program Files\QuickTime\QTSystem\;

Due to the missing “;” at the end of %SystemRoot%\system32\WBEM, the path to WBEM was invalid. I added the semicolon and everything was back to normal.

  • Facebook
  • Twitter
  • Linkedin

Leave a Comment

Your email address will not be published. Required fields are marked *

This div height required for enabling the sticky sidebar