Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)

For those impacted by this problem, it helped to remove and reinstall the VMware Infrastructure Client in my case.

I think I caused this problem because I first installed VI Client 2.5 before removing VI Client 2.0. It worked without a problem directly after the VI Client 2.5 installation, so I noticed only the next day that it suddenly stopped working with the error:

Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))