question

Popeye-3932 avatar image
1 Vote"
Popeye-3932 asked 14855785 commented

windows version for windows 11

Dears,

Why the MajorVersion and MinorVersion of windows 11 are the same as windows 10 ? It's both 10.0.
And how to check the system is windows 11 using windows API ?

Thanks.

windows-11
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Noticed that this is not fixed in Beta build Windows 11 Version 21H2 (OS Build 22000.176). The registry keys such as "CurrentMajorVersionNumber", "ProductName" under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion, shows as Windows 10. Please let us know if this will be changed soon? Do we expect these values on Windows 11 future builds or official builds?

0 Votes 0 ·
PercivalYang-MSFT avatar image
0 Votes"
PercivalYang-MSFT answered 14855785 commented

Hi
@Popeye-3932

Because win11 is still being close testing. It's reasonable there existing several modules that not perfect enough, so that it released close test version for users to report and fix them quickly.

Currently, Microsoft only provide one approach that sign in Insider Preview→dev channel to upgrade your win10 21h1 dev to win11 21h2 22000.65 updated on 09/07/2021, if you upgrade to win11, obviously you will find the api is much different with win10

The beta channel will open in either July or August. As a public testing, it will be more reliable and stable only if you have chosen the beta channel and await its release.
You can use win+R and then input winver , running it will show your current detail of version,

The dev channel users can not switch to beta channel unless rollback or reinstall win10 21h2.



Hope this can help you

If your need further help, be free reply to me at your convenience.


==============================================================================
If the Answer is helpful, please click "Accept Answer" and upvote it

· 8
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @PercivalYang-MSFT,

Thanks for your reply. So if the version 10.0.22000 will fix to 11.x.xxxx in the future versions?

Thanks

0 Votes 0 ·

Hi
I'am afraid I'm not sure with it, maybe it will be fixed in beta channel. but it will definitely be fix in official win11.

The official win11 will be released in late 2021, it's close. you can follow up Microsoft or Windows in twitter to get latest news.
I think Most of users will not stay in dev channel or beta channel once the official windows 11 released, right ?the thing is by that time, do the Insider Previewer users need a reinstall?
So far we are formulating the optimal solution for users.

Best Regards

0 Votes 0 ·

Noticed that this is not fixed in Beta build Windows 11 Version 21H2 (OS Build 22000.176). The registry keys such as "CurrentMajorVersionNumber", "ProductName" under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion, shows as Windows 10. Please let us know if this will be changed soon? Do we expect these values on Windows 11 future builds or official builds? thanks for your reply

0 Votes 0 ·

Hi
@Popeye-3932
I upgraded three of my PC to win11 dev, and run into many unexpected issues but it's reasonable because its being tested and will be fixed by Microsoft.
So we don't suggest users who are in pursuit of stability to join in dev channel and upgrade to win11 dev.
If you want further information I can share early tomorrow.

Here is the picture for your reference.
114411-2.png


0 Votes 0 ·
2.png (105.3 KiB)

Hi
@PercivalYang-MSFT

Thanks for your info. Because I need APIs to determine whether the system is WIN10 or Win11 in my own devlopment software. So I care about that. Thanks agin, I will expect for the future versions.

Best Regards

0 Votes 0 ·
Show more comments

This looks good and is very useful.

0 Votes 0 ·
Castorix31 avatar image
0 Votes"
Castorix31 answered Castorix31 edited

I don't have Windows 11, but on Windows 10, MS apps like Winver or ms-settings:about read values from registry, at :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Loyo2-1526 avatar image
0 Votes"
Loyo2-1526 answered Castorix31 commented

Hello.
I want do it through Api, but the MajorVersion, MinorVersion and registry productName of latest win11 is still same with win10. can I use build number >= 22000 to distinguish them under this situlation?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I did a test with 3 APIs in this thread How can I get windows 11 operating system version by api precisely?
But the OP did not answer and I don't know if the 3rd method really works on Windows 11...


0 Votes 0 ·