chore(docs): add Windows wmic information to README#393
Conversation
|
The issue also affects Windows Server: Features removed or no longer developed starting with Windows Server 2025 includes the section
|
|
|
Withdrawn - due to lack of maintainer response |
|
@MikeMcC399 thanks for your work on this repo and this issue! What's the current status - any progress on a fix or alternative? I can work around it by installing wmic.exe for now, but wondering if there's a better long-term solution in the works. |
|
I can't really answer your question as I'm not a maintainer of this repo, just a consumer. Looking at the commit history, the last time the owner committed to the master branch was in the year 2023, so I wouldn't be hopeful that there will be any solution provided here. Possibly a combination of wait-on and npm-run-all2 might be a replacement, but that's just an idea and I haven't tried it out. |
|
@MikeMcC399 thanks for your reply. Sorry for mistakenly assuming you were a maintainer - I saw your extensive work on this issue and made that assumption. Really appreciate your suggestions! |
|
This PR is obsolete through the release of v3.0.0 which drops the requirement for WMIC on Windows. |
Issue
start-server-and-testuses the unmaintained npm package ps-tree@1.2.0, last published 6 years ago, with cross-platform support, to implement the shut down server functionality.As shown in the ps-tree > README > Windows section,
ps-treemakes use of thewmicutility on Windows. This is the "Windows Management Instrumentation command-line" utility executable, also referred to asWMIC(upper case).WMIC has however been deprecated by Microsoft since Aug 2016 and is removed by default in Windows 11 24H2 and Windows Server 2025.
There is currently no higher version of
ps-treeavailable which removes the dependency on WMIC. There are two associated open PRs indexzero/ps-tree#59 and indexzero/ps-tree#62 which have not received any maintainer feedback.Change
Add information into the README > Install section for Windows 11 24H2 and Windows Server 2025.
References
Features Removed or Deprecated in Windows Server 2012 Aug 30, 2016
Deprecated features for Windows client Nov 14, 2024
WMI command line (WMIC) utility deprecation: Next steps
How to install WMIC Feature on Demand on Windows 11