Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

invalid class

invalid class

gyoussef
Occasional Visitor

i trying to install ctrlx-works-2.4.1 but error msg appear "invalid class" how can i resolve this issue 

thank you

6 REPLIES 6

CodeShepherd
Community Moderator
Community Moderator

Could you add a full screen picture of the error? At which part of the installation Process does is occur?

it is appear on the first step

FooFighter
Long-established Member

Hello gyoussef,

Maybe your WMI is corrupt, then this may be helpful:

Run in an elevated cmd the command window: winmgmt /salvagerepository

Then execute the command: winmgmt /verifyrepository

to see if it now comes back as consistent.

Regards Oliver

I have had the same error message during starting the ctrlX WORKS installation exe (here version 2.4.1). Additional I could not start existing virtual cores.

To get it running again I made this sequence at the cmd prompt (adim):

  • cd C:\Windows\System32\Wbem
  • regsvr32 /s %systemroot%\system32\scecli.dll
  • regsvr32 /s %systemroot%\system32\userenv.dll
  • regsvr32 cimwin32.dll
  • mofcomp cimwin32.mof
  • mofcomp rsop.mof

I found this sequence at https://learn.microsoft.com/en-us/answers/questions/684166/failed-to-initialize-all-required-wmi-cla...

I know that the sequence I have done was not complete the sequence which was descriped in the link. But I got some error messages at the other comands. So I only made the fewe lines I have descriped and it works. 

Regards

Jochen

 

Hello @Jochen_Mueller 

My customer has the same problem but with ctrlX works 1.20.10. They already tried your procedure in the post above but it didn't work. 

They asked if there are there any dependencies required? I can't see anything in the manual 

https://www.boschrexroth.com/media/c2321111-0c80-4cf5-a555-97c85a99e7d9

bclapperton_0-1720487392729.png

 

FooFighter
Long-established Member

Hello @bclapperton 

The "invalid class" error is an error returned by the Windows Management Instrumentation. The cause can be different, and occurs at every installer that needs to access the WMI.

Here is a link that might help you to "repair" your WMI on the particular machine:

https://techcommunity.microsoft.com/t5/ask-the-performance-team/wmi-missing-or-failing-wmi-providers...

Regards, 

Oliver

 

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist