After upgrading a test machine to Windows 10 Version 2004 wmic stopped working with the following error:
[wmi/wmic.c:196:main()] ERROR: Login to remote object.
NTSTATUS: NT code 0x80010111 – NT code 0x80010111
This appears to be some kind of RPC header error. From the Samba source code:
#define WERR_RPC_E_INVALID_HEADER W_ERROR(0x80010111)
It looks like Microsoft have changed something, maybe in the RPC protocol. The biggest problem is that this may be a precursor to wmic no longer working for future versions of Windows Server, which effectively kills off agentless monitoring of Windows from Linux.
If you know how to fix this or another way to access WMI from Linux, please Contact us so that we can publish the fix on this site.
Note that wmic is not our software, we just use it.