Skip to content

Migrate to Windows registry - #562

Closed
HaHaWTH wants to merge 1 commit into
lucko:masterfrom
HaHaWTH:wmic-migration
Closed

Migrate to Windows registry#562
HaHaWTH wants to merge 1 commit into
lucko:masterfrom
HaHaWTH:wmic-migration

Conversation

@HaHaWTH

@HaHaWTH HaHaWTH commented Apr 5, 2026

Copy link
Copy Markdown
Contributor

Migrate from WMIC to the Windows Registry for getting system info.

Microsoft has deprecated WMIC and removed it in Windows 11 25H2. Relying on it may lead to missing CPU and OS information.

Info retrieved from Registry

image

Currently Windows 11 will be detected as Windows 10, but can be identified via the trailing build number.

lucko added a commit that referenced this pull request Jul 26, 2026
@lucko

lucko commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Thanks for the PR :) I have used a slightly different approach in the above commits, to work around the reg query issue where Windows 10 is reported.

@lucko lucko closed this Jul 26, 2026
@HaHaWTH
HaHaWTH deleted the wmic-migration branch July 26, 2026 17:07
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

Successfully merging this pull request may close these issues.

2 participants