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

Fix ProductName Bug #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix ProductName Bug #6

wants to merge 1 commit into from

Conversation

AU-Mark
Copy link

@AU-Mark AU-Mark commented Jul 2, 2024

Fixed an issue where the ProductName shows as Windows 10 when its really Windows 11. This was by design from Microsoft for software compatibility purposes. It's recommended to pull the ProductName directly from WMI or from winbrand.dll. This method uses WMI with Get-CimInstance to pull the caption and then remove "Microsoft " from the beginning of the string.

Fixed an issue where the ProductName shows as Windows 10 when its really Windows 11. This was by design by Microsoft. It's recommended to pull the ProductName directly from WMI or from winbrand.dll.
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.

1 participant