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

[java_runtime_nuker.bat] WMIC no longer exists in the latest versions of Windows 11 #15

Open
Lusiiky opened this issue Oct 3, 2024 · 1 comment

Comments

@Lusiiky
Copy link

Lusiiky commented Oct 3, 2024

Hello !

Following the latest Windows 11 updates, WMIC no longer exists, so the file “%WINDIR%\system32\wbem\wmic.exe” no longer exists.

Is it possible to change this?
Or even replace the wmic.exe with the new PowerShell-based system for computers that no longer have a wmic.exe?
=> https://learn.microsoft.com/powershell/scripting/learn/ps101/07-working-with-wmi

Thanks a lot!
Lusiiky

@vocatus
Copy link
Contributor

vocatus commented Oct 4, 2024

Good find, I know they'd planned on deprecating it for quite a while now, but didn't know it'd actually happened. More than likely the whole script will have to be re-written in PowerShell, unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants