查看“内部版本字符串”的源代码
←
内部版本字符串
跳转到导航
跳转到搜索
因为以下原因,你没有权限 编辑此页:
你请求的操作仅限属于此用户组的用户执行:
用户
你可以查看和复制此页面的源代码。
[[文件:Windows8-6.2.8014-winver.png|thumb|[[winver]] 显示 [[Windows 8 Build 8014.0.fbl_grfx_dev1.110525-1700|Windows 8 Build 8014]] 的完整内部版本标识。]] 内部版本标识或内部版本字符串是当前的 [[Microsoft Windows 通述|Microsoft Windows]] 版本使用的版本字符串格式的通用名称。在其完全展开的形式中,内部版本标识是 Windows 编译的唯一标识符,包括版本号、目标体系结构和内部版本类型、分支或实验室名称、专用生成的帐户用户名以及编译时间戳。 内部版本标识最初是在 [[Windows 2000]] 开发结束时引入的,尽管它们直到 [[Windows XP]] 开发的早期才插入到 Windows 内部版本本身中。从那时起,内部版本标识作为版本信息的一部分显示在 [[winver]] 中。它也是大多数 Windows 预发布版本显示的[[水印]]的高亮部分。 == 格式 == [[文件:Windows build string explainer.png|thumb|内部版本字符串/[[水印]]指南|320px]] Modern build tags most commonly use the following format: <pre> version.arch.lab.timestamp </pre> However, depending on the Windows version, the following formats may also be encountered: <pre> version (lab.timestamp) version built by: lab at: timestamp version built by: lab </pre> A build tag is composed of the following components: * <code>version</code> is the full version number, i.e. <code>6.3.9600.16384</code>. The major and minor version or the delta number is often omitted, in which case there is no default implied value. * <code>arch</code> is the target platform identifier suffixed by the build type (<code>fre</code> for free/retail builds, <code>chk</code> for checked/debug builds). This part is often left out when it is not considered necessary to identify the exact compile. Known target platform identifiers are as follows: **<code>x86</code> for 32-bit x86 **<code>x64</code>, <code>amd64</code> for 64-bit x86 **<code>axp64</code> for 64-bit DEC Alpha **<code>ia64</code> for Itanium **<code>woa</code>, <code>arm</code> for ARM32 **<code>arm64</code> for ARM64 * <code>lab</code> is the name of the branch or [[build lab]] that the build was compiled from. For private builds, this is followed (or replaced for early build tags) by the username of the account that initiated the build in parentheses; this can sometimes be an official build service account, like <code>wincbld</code> (Windows Central Build Account) or <code>wmbla</code> (Windows Main Build Lab Account). Private builds compiled after the migration to Git use the dummy <code>GitEnlistment</code> lab name. * <code>timestamp</code> is the compilation date and time in the <code>YYMMDD-hhmm</code> format. The build tag may be followed by a hash of activation data from the registry, although it is not considered to be a part of the build tag itself. Applying the above logic, the build tag <code>[[Windows 10 Build 10240.16384.x86fre.th1.150709-1700|10.0.10240.16384.x86fre.th1.150709-1700]]</code> is the free/retail 32-bit x86 build of version 10.0.10240.16384, which was compiled from the <code>th1</code> branch on 9 July 2015 17:00 ([[w:Pacific Time Zone|PT]]). == Location == The build tag of the currently running version of Windows is located in the registry under the <code>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion</code>. Depending on the exact version being used, there are two string values named <code>BuildLab</code> and <code>BuildLabEx</code>. However, it might not necessarily match the tag reported in winver in certain [[Windows 10]] updates, e.g. [[Windows 10 v1909|Windows 10 November 2019 Update]] and all updates since the [[Windows 10 v2004|May 2020 Update]], as the build number is artificially increased by a separate mechanism in order to distinguish between the updates. Since [[Windows Server 2022]], the build tag can also be found under the <code>OSClient</code> and <code>ShellCommon</code> subkeys within <code>HKEY_LOCAL_MACHINE\SYSTEM\Software\Microsoft\BuildLayers</code>. In older versions of Windows, the build tag is inserted into the file version information for system files. Due to the implementation of [[w:reproducible builds|reproducible builds]] during the development of [[Windows 10 v1703|Windows 10 Creators Update]], most files now only contain a dummy build tag with the full version number, but a placeholder lab and timestamp component, i.e. <code>(WinBuild.160101.0800)</code>, as including build timestamps breaks the deterministic premise that compiling the same source code would always result in the exact same binary no matter what. == 另行参阅 == {{See also|内部版本实验室|水印}}
此页使用的模板:
模板:See also
(
查看源代码
)
模块:Arguments
(
查看源代码
)
模块:Format link
(
查看源代码
)
模块:Hatnote
(
查看源代码
)
模块:Hatnote/styles.css
(
查看源代码
)
模块:Hatnote list
(
查看源代码
)
模块:Labelled list hatnote
(
查看源代码
)
模块:Yesno
(
查看源代码
)
返回
内部版本字符串
。
导航菜单
个人工具
登录
命名空间
页面
讨论
大陆简体
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
批量上传文件
深色模式
工具
链入页面
相关更改
特殊页面
页面信息
获取短URL