-
Notifications
You must be signed in to change notification settings - Fork 32
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
Error: spawn wmic.exe ENOENT on Windows Server 2025 #69
Comments
|
|
Yes, my comments would refer to 24H2. Admittedly not sure why they're separate issues when they're the exact same problem though, the removal of wmic.exe. |
The underlying issue is the same across Windows desktop and Windows Server operating systems, and the separate GitHub issues could be combined.
|
ps-tree
has a dependency on the deprecated Windows Management Instrumentation command-line (WMIC) utilityIssue
ps-tree
fails under GitHub Actions windows-2025 with the errorps-tree
depends on wmic.For Microsoft Windows Servers, wmic has been deprecated since 2016 and it is not installed by default on Windows Server 2025 (see Features we're no longer developing).
The GitHub Actions runner image windows-2025, currently in beta status, does not include WMIC. (See Windows Server 2025 is now in public preview).
Steps to reproduce
Run the following workflow in this repo in GitHub Actions
Logs
The text was updated successfully, but these errors were encountered: