How to Disable WMIC on servers

Muhammad Hussain 201 Reputation points
2022-06-27T07:33:25.08+00:00

How to block WMIC on servers, but WMI should remain enabled.

And how we can test that WMIC has been disabled, we want to disable WMIC from GPO via domain controller.

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,926 Reputation points
    2022-06-28T15:45:57.68+00:00

    Hi there,

    The WMIC tool is deprecated in Windows 10, version 21H1, and the 21H1 General Availability Channel release of Windows Server. This tool is superseded by Windows PowerShell for WMI.

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

    Starting and Stopping the WMI Service https://learn.microsoft.com/en-us/windows/win32/wmisdk/starting-and-stopping-the-wmi-service

    ----------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer–

    1 person found this answer helpful.
    0 comments No comments

  2. Lucas 266 Reputation points
    2022-07-03T18:18:21.663+00:00

    You can create a "Deny" AppLocker rule to prevent users running "C:\Windows\System32\wbem\WMIC.exe"

    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.