I have an application which uses WMI to perform several tasks, one of them is pinging remote machines. For ping I use the following query:
SELECT * FROM Win32_PingStatus WHERE Address='192.168.0.1' AND Timeout=3000 AND StatusCode=0
On several systems this works perfectly right. But on some machines this query returns 0x80041001 - "Generic WMI Error". When I execute this query manually with wbemtest.exe, I get the same error and the following 'Description':
Failed to send echo, IcmpSendEcho2 failed.
What can be the reason of this error, and how could it be fixed?
User contributions licensed under CC BY-SA 3.0