---
title: "微软将从Windows 11及后续版本中彻底删除WMIC命令行工具"
url: https://www.landian.news/archives/102062.html
date: 2024-01-28T12:45:21+08:00
modified: 2024-01-28T04:45:21+00:00
author: "山外的鸭子哥"
description: "早在 2016 年微软就宣布在 Windows Server 服务器版操作系统中弃用 Windows Mana [&hellip;]"
categories: "Windows, 系统资讯"
tags: "IT管理员, windows, Windows 11, Windows Server, 微软"
---

# 微软将从Windows 11及后续版本中彻底删除WMIC命令行工具

早在 2016 年微软就宣布在 Windows Server 服务器版操作系统中弃用 Windows Management Instrumentation Command Line (即 WMIC)。

而 Windows 10 是在 2021 年开始弃用 WMIC 的，在 Windows 11 里 WMIC 作为可选功能供有需要的用户主动下载和安装。

不过微软现在已经明确计划将在未来版本中彻底删除 WMIC 工具，不再作为可选功能提供，这意味着后续用户尤其是企业 IT 管理员将无法再使用 WMIC。

[!\[微软将从Windows 11及后续版本中彻底删除WMIC命令行工具\](https://img.lancdn.com/landian/2024/01/102062.avif)](https://img.lancdn.com/landian/2024/01/102062.avif)

**WMIC 是干嘛的：**

WMIC 是微软提供的命令行工具，旨在帮助企业 IT 管理员管理系统和查询有关硬件、软件、服务等信息，这个功能通常情况下家庭用户无需使用，主要是企业 IT 管理员使用 WMIC。

**1 月 29 日起关闭 WMIC：**

据微软发布的最新支持公告，自 2024 年 1 月 29 日微软将关闭 WMIC，最初从 Windows 11 预览版开始，到今年秋季 Windows 11 24H2 版发布时，该功能会被默认禁用，直到未来的 Windows 版本发布时 WMIC 被彻底删除。

**替代品是 WMI：**

当然微软也为企业 IT 管理员开发了替代功能，也就是 Windows PowerShell for WMI，需要提醒的是 WMIC 和 WMI 不是相同的东西。

WMI 为企业 IT 管理员更好的方式来查询 Windows Management Instrumentation，对于删除原因，微软称删除弃用的功能有助于降低代码复杂性和保存用户的安全和高效。

微软也在技术论坛为企业 IT 管理员提供应对 WMIC 弃用以及后续的解决方案：[https://techcommunity.microsoft.com/t5/windows-it-pro-blog/wmi-command-line-wmic-utility-deprecation-next-steps/ba-p/4039242](https://techcommunity.microsoft.com/t5/windows-it-pro-blog/wmi-command-line-wmic-utility-deprecation-next-steps/ba-p/4039242)

---

Source: [微软将从Windows 11及后续版本中彻底删除WMIC命令行工具](https://www.landian.news/archives/102062.html)
