Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exec: "wmic": executable file not found in %PATH% #4681

Open
sago35 opened this issue Jan 4, 2025 · 1 comment
Open

exec: "wmic": executable file not found in %PATH% #4681

sago35 opened this issue Jan 4, 2025 · 1 comment
Labels
next-release Will be part of next release windows

Comments

@sago35
Copy link
Member

sago35 commented Jan 4, 2025

When performing a clean installation of Windows 11 24H2, WMIC is disabled by default.
In this state, tinygo flash fails.

$ tinygo flash --target wioterminal --size short examples/blinky1
...
failed to flash C:\Users\XXXXX\AppData\Local\Temp\tinygo4218132535\main.uf2: could not list mount points: exec: "wmic": executable file not found in %PATH%

WMI command line (WMIC) utility deprecation: Next steps
https://techcommunity.microsoft.com/blog/windows-itpro-blog/wmi-command-line-wmic-utility-deprecation-next-steps/4039242

@sago35
Copy link
Member Author

sago35 commented Jan 4, 2025

This issue is expected to be resolved in the following PR.

#4680

@deadprogram deadprogram added next-release Will be part of next release windows labels Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next-release Will be part of next release windows
Projects
None yet
Development

No branches or pull requests

2 participants