HKLM\Software\Microsoft\Windows NT\CurrentVersion:CurrentBuild 和 CurrentBuildNumber 有什么区别? [英] HKLM\Software\Microsoft\Windows NT\CurrentVersion: What's the difference between CurrentBuild and CurrentBuildNumber?

查看:24
本文介绍了HKLM\Software\Microsoft\Windows NT\CurrentVersion:CurrentBuild 和 CurrentBuildNumber 有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在询问这两个注册表项:

I am asking about those two registry keys:

两者似乎都包含 Windows 10 内部版本号(RTM/TH1 为 10240,1511/TH2 为 10586).

Both seem to contain the Windows 10 build number (10240 for RTM/TH1, 10586 for 1511/TH2).

这两者之间有任何(记录在案的)区别吗?我应该使用哪一个来确定 Windows 10 的版本"?

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"

我将 CurrentBuild 键的值更改为另一个值,然后打开 winver.exe 并看到我在 CurrentBuild 键由 winver.exe

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 :)

所以 CurrentBuild 键是 winver.exe 正在寻找的内部版本号,我假设您也应该这样做.

So CurrentBuild key is what winver.exe is looking for as the build number and I assume that you should do the same.

这篇关于HKLM\Software\Microsoft\Windows NT\CurrentVersion:CurrentBuild 和 CurrentBuildNumber 有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆