I am asking about those two registry keys:
Both seem to contain the Windows 10 build number (10240 for RTM/TH1, 10586 for 1511/TH2).
Is there any (documented) difference between those two? Which one should I use to determine the "Version" of Windows 10?
Footnote: I am aware that usually checking for required features is better practice than checking version numbers. Note, however, that there are legitimate cases for wanting to get the version of the currently running OS, which I'll gladly discuss in the comments, if needed.
I figure it out. I did some "hack"
I changed the value of CurrentBuild
key to another value, then I opened winver.exe
and I saw that the new value I typed in CurrentBuild
key was shown by winver.exe
So there is no documentation but with a little help of reverse engineering and trial and error you get the answer :)
So CurrentBuild
key is what winver.exe
is looking for as the build number and I assume that you should do the same.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With