microsoft / microsoft/pxt-microbit
pxt deploy fails because WMIC is no longer available
@abchatra is already working on this.
Since Mar 18, 2026.
- Dominant language
- TypeScript
- Stars
- 804
- Forks
- 721
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 2
Description
Describe the bug
Workaround: transfer built/binary.hex
pxt uses WMIC
https://github.com/search?q=repo%3Amicrosoft%2Fpxt%20wmic&type=code
INTERNAL ERROR: Error: Command failed: wmic PATH Win32_LogicalDisk get DeviceID, VolumeName, FileSystem, DriveType
'wmic' is not recognized as an internal or external command, operable program or batch file.
To Reproduce
Steps to reproduce the behavior:
- Go to a local project folder
- Try command pxt
- See error
Expected behavior
pxt command works on Windows 11
micro:bit version (please complete the following information):
not hardware related
Desktop (please complete the following information):
- OS: [e.g. iOS] Windows 11 24H2
- Browser [e.g. chrome, safari] Chrome
- Version [e.g. 22] 143.0.7499.40
Additional context
WMI command line (WMIC) utility deprecation: Next steps
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.