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

deprecated and removed wmic.exe is used internally (VSC-1538) #1364

Closed
1 task done
AndreasDiet opened this issue Dec 12, 2024 · 3 comments · May be fixed by #1365
Closed
1 task done

deprecated and removed wmic.exe is used internally (VSC-1538) #1364

AndreasDiet opened this issue Dec 12, 2024 · 3 comments · May be fixed by #1365
Assignees
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)

Comments

@AndreasDiet
Copy link

AndreasDiet commented Dec 12, 2024

OS

Windows

Operating System version

Win 11 24H2

Visual Studio Code version

n.a.

ESP-IDF version

n.a.

Python version

n.a.

Doctor command output

n.a.

Extension

n.a.

Description

follow up for microsoft/vscode#228661

see

private static GetWindowsArchitecture(): Promise<string> {
const command = "wmic";
const args = ["os", "get", "osarchitecture"];

wmic.exe is marked as deprecated since release of Windows 10 21H2
see https://learn.microsoft.com/en-us/windows/whats-new/deprecated-features and search for wmic
in Win 11 24H2 it is no longer part of the installation bits

please replace the wmic.exe usage by running
powershell -executionPolicy bypass "(Get-WmiObject Win32_OperatingSystem).OSArchitecture"

Debug Message

n.a.

Other Steps to Reproduce

n.a.

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@AndreasDiet AndreasDiet added the bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue) label Dec 12, 2024
@github-actions github-actions bot changed the title deperecated and removed wmic.exe is used internally deperecated and removed wmic.exe is used internally (VSC-1538) Dec 12, 2024
@AndreasDiet AndreasDiet changed the title deperecated and removed wmic.exe is used internally (VSC-1538) deprecated and removed wmic.exe is used internally (VSC-1538) Dec 12, 2024
@brianignacio5 brianignacio5 self-assigned this Dec 13, 2024
@brianignacio5
Copy link
Collaborator

Thanks for the issue request. You can test the bug fix in #1365 and will be available in marketplace on our next release.

You can also use the vsix installer from the PR or use the master vsix after it is merged in the meantime.

@AndreasDiet
Copy link
Author

opened a tree of directories - my wmicCatcher is triggered, indicating wmic.exe is used
installed the vsix
opened the very same directory tree- my wmicCatcher is no longer be triggered

thanks for changing to make this extension compatible to Win11 24H2/Server 2025

Copy link

Thanks for using our extension! 🚀

Your feedback matters! Could you take a moment to rate it on the marketplace? A positive rating helps other developers discover our tools and motivates us to keep improving.

⭐ Rate ESP-IDF Extension: https://marketplace.visualstudio.com/items?itemName=espressif.esp-idf-extension&ssr=false#review-details

Your support means a lot to our development team!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants