This indicates that WMI is broken on those computers. You probably need to repair WMI or repair the OS on those machines to fix it. Some help is provided here: https://techcommunity.microsoft.com/blog/askperf/wmi-missing-or-failing-wmi-providers-or-invalid-wmi-class/375485
I’d suggest Google search for ‘repair WMI’ and ‘rebuild WMI’ for other options. Or do an OS repair/reinstall.