哦~
我来讲一讲,这里以老九元旦52M版为例,详细地讲解一下:
我们先看一下XCMD的介绍,完全替代系统登录程序
那原来的登录程序是哪些呢?
XPEINIT.EXE XPELOGON.EXE XPESET.EXE
就这么三个。而且我们都知道它们是干什么的(不知道的也无妨,反正不要了)
聪明的一看就知道怎么改~改哪里呢?~注册表呗!
引导哪一个系统登录程序是在SETUPREG.HIV这个注册表文件里存着。怎么打开呢?这个就不讲了(如果这个东西都不了解,那就再学学,暂时先不要研究这么多,玩玩改好的吧)
还是说说吧,省的别人说我不虚心回答问题,打开注册表编辑器,点一个根项,文件——加载配置单元
打开setup项里Cmdline值,这个肯定是XPELogon.exe -r (好像老九的PE都是autorun.cmd 用来扩展,autorun.cmd有一个XPELogon.exe -r 不过无所谓)
把Cmdline值改为XCMD.EXE INIT "XCMD.INI的位置"
好了,这个SETUPREG.HIV算完工了,别忘了卸载配置单元。
接下来是SOFTWARE 这也是个注册表文件 加载它
Microsoft\Windows\CurrentVersion\RunOnceEx\
把这个项删了,XPESET和XPEINIT.EXE 是在这里用到的
这就算完了,没有什么其它的了,不过老九的只做到怎么多会不能正常加载开始程序菜单
要加进这个注册表。
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"Common Desktop"=hex(2):25,00,41,00,4c,00,4c,00,55,00,53,00,45,00,52,00,53,00,\
50,00,52,00,4f,00,46,00,49,00,4c,00,45,00,25,00,5c,00,4c,68,62,97,00,00
"Common Start Menu"=hex(2):25,00,41,00,4c,00,4c,00,55,00,53,00,45,00,52,00,53,\
00,50,00,52,00,4f,00,46,00,49,00,4c,00,45,00,25,00,5c,00,0c,30,00,5f,cb,59,\
0d,30,dc,83,55,53,00,00
"Common Programs"=hex(2):25,00,41,00,4c,00,4c,00,55,00,53,00,45,00,52,00,53,00,\
50,00,52,00,4f,00,46,00,49,00,4c,00,45,00,25,00,5c,00,0c,30,00,5f,cb,59,0d,\
30,dc,83,55,53,5c,00,0b,7a,8f,5e,00,00
"Common Startup"=hex(2):25,00,41,00,4c,00,4c,00,55,00,53,00,45,00,52,00,53,00,\
50,00,52,00,4f,00,46,00,49,00,4c,00,45,00,25,00,5c,00,0c,30,00,5f,cb,59,0d,\
30,dc,83,55,53,5c,00,0b,7a,8f,5e,5c,00,2f,54,a8,52,00,00
"Common AppData"=hex(2):25,00,41,00,4c,00,4c,00,55,00,53,00,45,00,52,00,53,00,\
50,00,52,00,4f,00,46,00,49,00,4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,6c,\
00,69,00,63,00,61,00,74,00,69,00,6f,00,6e,00,20,00,44,00,61,00,74,00,61,00,\
00,00
"Common Templates"=hex(2):25,00,41,00,4c,00,4c,00,55,00,53,00,45,00,52,00,53,\
00,50,00,52,00,4f,00,46,00,49,00,4c,00,45,00,25,00,5c,00,54,00,65,00,6d,00,\
70,00,6c,00,61,00,74,00,65,00,73,00,00,00
"Common Favorites"=hex(2):25,00,41,00,4c,00,4c,00,55,00,53,00,45,00,52,00,53,\
00,50,00,52,00,4f,00,46,00,49,00,4c,00,45,00,25,00,5c,00,46,00,61,00,76,00,\
6f,00,72,00,69,00,74,00,65,00,73,00,00,00
"Common Documents"=hex(2):25,00,41,00,4c,00,4c,00,55,00,53,00,45,00,52,00,53,\
00,50,00,52,00,4f,00,46,00,49,00,4c,00,45,00,25,00,5c,00,44,00,6f,00,63,00,\
75,00,6d,00,65,00,6e,00,74,00,73,00,00,00
其它的PE我没试,应该大同小异吧~
完 |