Hello,
The WMI error code 0x80041017 typically indicates "WBEM_E_INVALID_QUERY" WMI Error Constants (WbemCli.h) - Win32 apps | Microsoft Learn
It is possible that the Win32_PerfRawData_PerfOS_Processor cannot be found or accessed on the server and causing a null result. If the same query runs and retrieves values from other similar Windows systems at the same OS level this indicates that the query is correct and something is different at the OS level causing the query not to retrieve data. (see: Getting 'Invalid WMI query' with error code 0x80041017 in Windows (manageengine.com))Note: Since the websites are not hosted by Microsoft, the links may change without notice. Microsoft does not guarantee the accuracy of this information.
I hope the information provided is helpful. However, I must apologize as this issue falls beyond my area of expertise. You might also consider reposting your question in the Windows API - Win32 - Microsoft Q&A forum for further assistance.
Best regards,
Karlie