本帖最后由 huaqingyuan 于 2015-11-24 23:36 编辑
最近红毛老大通过ProductOptions注册表项,实现了X32系统的大支持,但是WIN7,WIN8,WIN8.1,WIN10全部都是一个注册表,总觉得会有一些潜在的问题!
于是个人对ProductOptions注册表项进行了研究发现手动添加,修改等等,都是可能的。
1,先挂接待处理的SYSTEM导出ProductOptions注册表项
2,记事本打开结尾处45,00,00,00前多敲几个回车,以便分开
3,在45,00,00,00前面的空行粘帖已经处理好的项目,上面英文是这个项目的名字,实际只复制粘帖数字部分
ChangeDesktopBackground-Enabled:(允许设置壁纸)
54,00,3e,00,04,00,04,00,00,\
00,00,00,00,00,00,00,43,00,68,00,61,00,6e,00,67,00,65,00,44,00,65,00,73,00,\
6b,00,74,00,6f,00,70,00,42,00,61,00,63,00,6b,00,67,00,72,00,6f,00,75,00,6e,\
00,64,00,2d,00,45,00,6e,00,61,00,62,00,6c,00,65,00,64,00,01,00,00,00,00,00,\
Microsoft-Windows-AuxiliaryDisplay-EnableDriver:(允许显卡驱动)
74,00,5e,00,04,00,04,00,00,00,00,00,00,00,00,00,4d,00,69,00,63,00,72,00,6f,\
00,73,00,6f,00,66,00,74,00,2d,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,\
2d,00,41,00,75,00,78,00,69,00,6c,00,69,00,61,00,72,00,79,00,44,00,69,00,73,\
00,70,00,6c,00,61,00,79,00,2d,00,45,00,6e,00,61,00,62,00,6c,00,65,00,44,00,\
72,00,69,00,76,00,65,00,72,00,01,00,00,00,00,00,\
CodeIntegrity-AllowConfigurablePolicy:(允许配置策略)
60,00,4a,00,04,00,04,00,00,00,00,00,00,00,00,00,43,00,6f,00,64,00,65,00,\
49,00,6e,00,74,00,65,00,67,00,72,00,69,00,74,00,79,00,2d,00,41,00,6c,00,6c,\
00,6f,00,77,00,43,00,6f,00,6e,00,66,00,69,00,67,00,75,00,72,00,61,00,62,00,\
6c,00,65,00,50,00,6f,00,6c,00,69,00,63,00,79,00,01,00,00,00,00,00,\
4,完毕后检查每行结尾,只有逗号的加上\
5,记下我们添加的项目前面的16进制数据,假设我们添加了二个,一个是Microsoft-Windows-AuxiliaryDisplay-EnableDriver,一个是CodeIntegrity-AllowConfigurablePolicy那么就是00 74,00 60
6,取"ProductPolicy"=hex:后面前8组数字比如"ProductPolicy"=hex:c8,57,00,00,b0,57,00,00,……
7,16进制计算57c8+74+60=589c ,, 57b0+74+60=5884
8,修改hex:c8,57,00,00,b0,57,00,00为hex:9c,58,00,00,84,58,00,00
9,修改完毕!删除多余的空行。检查每行结尾,只有逗号的加上\。导入注册表,完成!
|