#3524·choco

RefreshEnv broken on Windows 11 24H2 - missing wmic.exe

Author: mwallnerCreated Oct 3, 2024Updated Jul 2, 2026
LabelsBug1 - ReadyPriority - HighClickUp - Backlog

Checklist

  • I confirm there are no unresolved issues reported on the Chocolatey Status page.
  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my problem.
  • I have verified this is not an issue for a specific package.
  • I have verified this issue is not security related.
  • I confirm I am using official, and not unofficial, or modified, Chocolatey products.

What You Are Seeing?

On the latest LTSC release of Windows 11, the "wmic" utility has been removed.

What is Expected?

RefreshEnv should work whether wmic is available or not

How Did You Get This To Happen?

Using choco on the latest Win11 24h2 family releases.

System Details

  • Operating System: Win11 24H2 LTSC
  • Windows PowerShell version: 5.1
  • Chocolatey CLI Version: 2.2.2
  • Chocolatey Licensed Extension version: -
  • Chocolatey License type:
  • Terminal/Emulator: powershell / conhost

Installed Packages

bash
-

Output Log

bash
-

Additional Context

No response

┆Issue is synchronized with this Clickup task by Unito