Troubleshooting
Problem
We have a server that is failing the Capacity scan and returning a 255 exit code.
Resolving The Problem
please execute following from cmd to check if wmic works:
wmic path Win32_UTCTime
If it outputs with an error, check if following command output any path:
echo %PATH% | findstr /i wbem
if it doesn't please add 'C:\Windows\System32\Wbem' into PATH variable...
Please restart WMI:
net stop winmgmt
net start winmgmt
and try again.
If it doesn't help try using wbemtest tool "Open Class..." and try to open "Win32_UTCTime".
If there are any problems while trying to open that class, I recommend rebuilding the WMI repository.
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JFY","label":"IBM License Metric Tool"},"Component":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
26 April 2021
UID
ibm10733945