AnsweredAssumed Answered

Win2k PC and OSIWMI interface "Error: GetNextObject failed"

Question asked by kayae on Nov 27, 2015
Latest reply on Dec 2, 2015 by kayae

I have a Win2k PC which I want to get the system date and time. I am ussign the OSIWMI interface but it gives me an error saying that "Error: GetNextObject failed with Error: Error HRESULT 0x80041010 : Invalid class". It seems Win32_LocalTime class does not exist on Win2000, but I know I shoudl be able to get the system time by querying the Win32_OperatingSystem parameter but it seems the only availabel key is the hard disk when I run this query. Is there any way that I can get the system date and time into my PI Tgas from a Win2000 Machines?

Any help would be very much appreciated.

Outcomes