WMIC stopped working on Windows 10 2004

James Peppe 11 Reputation points
2020-10-30T18:46:40.387+00:00

I use WMIC to pull logs from remote machines internally. After we upgraded a few machines to Windows 10 2004 it stopped working for those machines and we now getting the following error:

[wmi/wmic.c:196:main()] ERROR: Login to remote object.

NTSTATUS: NT code 0x80010111 - NT code 0x80010111

This indicates that Windows has changed something either in Samba or RPC to prevents WMIC from work. I know that WMIC is not an official Microsoft Product but wanted to know if Microsoft has published anything work arounds for this issue or if they have made any statements confirming changes to samba, RPC, or have acknowledged that WMIC no longer will work with there products?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,911 questions
Windows Open Specifications
Windows Open Specifications
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
42 questions
{count} votes

11 answers

Sort by: Most helpful
  1. Docs 15,551 Reputation points
    2022-01-25T10:02:22.953+00:00

    WMIC is used widely however this was posted:

    Windows 10 features we're no longer developing

    Windows Management Instrumentation Command line (WMIC) tool.

    The WMIC tool is deprecated in Windows 10, version 21H1 and the 21H1 semi-annual channel release of Windows Server.

    This tool is superseded by Windows PowerShell for WMI.

    Note: This deprecation only applies to the command-line management tool. WMI itself is not affected. 21H1

    https://learn.microsoft.com/en-us/windows/deployment/planning/windows-10-deprecated-features#:~:text=The%20WMIC%20tool%20is%20deprecated,WMI%20itself%20is%20not%20affected.

    Please contact Microsoft using the Feedback Hub:

    https://support.microsoft.com/en-us/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.