Help Needed: wmic broken as of Windows 10 Version 2004

Update 2021: The problem described on this page is now fixed

Express your interest in helping to fix this problem

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:

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.