[Samba] Compiling WMIC/Accessing WMI

Matthew Jurgens samba at edcint.co.nz
Thu Jun 25 03:29:18 UTC 2020

On 25/06/2020 12:59 pm, Andrew Bartlett via samba wrote:
> On Thu, 2020-06-25 at 11:29 +1000, Matthew Jurgens via samba wrote:
>> Background:
>> As of Windows 10 version 2004, the wmic client no longer works. It
>> gets
>> the following error -
>> [wmi/wmic.c:196:main()] ERROR: Login to remote object.
>> NTSTATUS: NT code 0x80010111 - NT code 0x80010111
>> This seems to be an RPC header error. Presumably Microsoft changed
>> something that broke wmic.
>> Since I found wmic.c in the samba source I thought that it might be
>> able
>> to be compiled as part of samba. However, I've found an old thread
>> in
>> this mailing list
>> https://lists.samba.org/archive/samba/2018-February/214033.html()
>> which
>> suggests that compiling it would not be possible.
>> So I have two questions:
>> 1) Is compiling wmic as part of samba still out of the question?
> Yes, absent a massive development effort.  I really should delete those
> last scraps.
>> 2) Is there some other way to access WMI on Windows from Linux?
> Try over web services (which are not really web), there are python
> clients for some of this.
> Sorry!
> Andrew Bartlett
Are you aware of any specifically?
I've tried searching for some and tried a few different projects but 
with the same error result

More information about the samba mailing list