Windows 中的功能锁定:修订间差异

删除294字节 、​ 2024 年 9 月 5 日 (星期四)
第 9 行: 第 9 行:


== Windows 8 ==
== Windows 8 ==
A more elaborate feature lockout system, called Redpill or SuperPill, was introduced during the development of [[Windows 8]], which now takes advantage of the licensing subsystem as well as components that are not included with the base system. Noteworthy features hidden behind Redpill include the Start Screen, redesigned logon UI, new OOBE, Ribbon in Explorer, new Aero resources, and the pattern login (which later became the picture password login). However, while the majority of hidden features were locked using Redpill, simple registry checks remained the method of choice in some areas.
[[Windows 8]] 的开发过程中引入了一种更复杂的功能锁定系统,称为 Redpill 或 SuperPill,它现在利用了许可子系统以及基本系统中未包含的组件。隐藏在 Redpill 后面的值得注意的功能包括开始屏幕、重新设计的登录 UI、新的 OOBE、资源管理器中的功能区、新的 Aero 资源和模式登录(后来成为图片密码登录)。然而,虽然大多数隐藏功能都使用 Redpill 锁定,但在某些区域,简单的注册表检查仍然是首选方法。


Product policies, a set of values usually used to determine what a particular edition can or cannot do, are now also used to control shell features. This made it considerably harder to overcome the protection, as the majority of licensing data is signed and handled largely at kernel level. The intended method of delivering the Redpill policies into an existing install (clean installs do not ship with them) was activating against the internal <code>win8act</code> server with the parameter <code>configextension=rpp</code>. Unlocking the functionality manually implies the need to sacrifice parts of licensing functionality. Besides product policy sourced values, a sizable chunk of behavior hidden by Redpill also depends on an external library called <code>shsxs.dll</code>, which is not included with the base Windows install and is only copied upon the activation of Redpill. This library is home to a large set of image and DirectUI markup assets, as well as a handful of functions used to initialize various parts of Metro such as Charms bar, Start screen search and the PC settings application.
产品策略(通常用于确定特定版本可以做什么或不能做什么的一组值)现在也用于控制 shell 功能。这使得克服保护变得更加困难,因为大多数许可数据主要在内核级别进行签名和处理。将 Redpill 策略传送到现有安装中的预期方法(全新安装不附带它们)是使用参数 <code>configextension=rpp</code> 针对内部 <code>win8act</code> 服务器进行激活。手动解锁功能意味着需要牺牲部分许可功能。除了产品策略来源的值外,Redpill 隐藏的相当大块行为还依赖于一个名为 <code>shsxs.dll</code> 的外部库,此库不包含在基本 Windows 安装中,仅在激活 Redpill 时复制。此库包含大量图像和 DirectUI 标记资产,以及用于初始化 Metro 各个部分的少量函数,例如超级按钮栏(Charms bar)、“开始”屏幕搜索和 PC 设置应用。


Nearly all builds from Milestone 1 to shortly after the Developer Preview (currently [[Windows 8 build 7779|7779]] to [[Windows 8 build 8118|8118]]) have Redpill implemented. Exemptions are builds from the <code>fbl_eeap</code> and <code>winmain_win8m3_eeap</code> branches, e.g. [[Windows 8 build 8064|build 8064]], which do not have any form of Redpill implemented as all traces of Metro user interface components were removed from the operating system at compile time. These builds were released to [[w:Microsoft|Microsoft]] partners via the Ecosystem Engineering Access Program (EEAP). The only available build with Redpill unlocked out of the box is [[Windows 8 build 8102|build 8102]], the original Developer Preview. Due to the complexity of the mechanism, a formerly widespread method of unlocking Redpill on other builds was to use a modified set of components from build 8102, although the reliability of this method decreased with earlier builds. It wasn't until the introduction of [[Redlock]] with a custom version of <code>shsxs.dll</code> reimplemented from scratch that Redpill could be unlocked for builds before [[Windows 8 build 7927|build 7927]].
Milestone 1 Developer Preview 之后不久(目前为 [[Windows 8 Build 7779.0.fbl_grfx_dev1.100713-1700|7779]] [[Windows 8 Build 8118.0.fbl_core2_sfs.110921-1900|8118]])的几乎所有版本都实施了 Redpill。豁免是来自 <code>fbl_eeap</code> <code>winmain_win8m3_eeap</code> 分支的版本,例如 [[Windows 8 Build 8064.0.fbl_eeap.110806-1000|Build 8064]],它们没有实施任何形式的 Redpill,因为在编译时从操作系统中删除了 Metro 用户界面组件的所有痕迹。这些版本通过生态系统工程访问计划(EEAP)发布给 Microsoft 合作伙伴。唯一开箱即用解锁 Redpill 的可用版本是 Build 8102,即原始 Developer Preview。由于此机制的复杂性,以前在其他版本上解锁 Redpill 的一种广泛方法是使用 [[Windows 8 Build 8102|Build 8102]] 中修改后的一组组件,尽管这种方法的可靠性随着早期版本的增加而降低。直到引入 [[Redlock]] 并从头开始重新实现自定义版本的 <code>shsxs.dll</code> 后,Redpill 才能在 [[Windows 8 Build 7927|Build 7927]] 之前的版本中解锁。


=== Unlockers ===
=== Unlockers ===