[整理中][原创]PE制作简单小结及插件下载(感谢xmatc兄指导)
费了老大劲检查每个plugins终于搞定了。我用的xpe和bartpe都是最新版的,还用了一个叫nu2xpe的插件(nu2menu的菜单转到xpe菜单中)。基本修改情况如下:
1、改nu2menu插件下的nu2xpe.inf文件。
[Software.AddReg]
0x1,"Microsoft\Windows\CurrentVersion\RunOnceEx\999","997","||xpeinit.exe -f -m ""Updating Start Menu Entries"" %SystemDrive%\Programs\Nu2XPE\nu2xpe.exe"
其中的997原来是998,它好像跟xpe插件目录中z_xpe-custom.inf中的
; Remove resource limit by killing smss.exe and winlogon.exe, courtesy of Pierre Mounir (TheTruth)
0x1,"Microsoft\Windows\CurrentVersion\RunOnceEx\999","998","||xpeinit.exe -9"
这个有冲突。
2、修改xpe插件目录中xpe-defaults.inf文件,将
; Required
; 0x2,"ControlSet001\Control\Session Manager\Environment","USERPROFILE","%temp%\@ProfilesDir@\Default User"
; 0x2,"ControlSet001\Control\Session Manager\Environment","ProfilesDir","%temp%\@ProfilesDir@"
注册表0x2 这两项前面的";"去掉使之生效;
将; Profiles
;0x2,"Microsoft\Windows NT\CurrentVersion\ProfileList","ProfilesDirectory","%temp%\@ProfilesDir@"
0x2,"Microsoft\Windows NT\CurrentVersion\ProfileList","ProfilesDirectory","%ProfilesDir%"
0x1,"Microsoft\Windows NT\CurrentVersion\ProfileList","DefaultUserProfile","Default User"
0x1,"Microsoft\Windows NT\CurrentVersion\ProfileList","AllUsersProfile","All Users"
改为:
; Profiles
0x2,"Microsoft\Windows NT\CurrentVersion\ProfileList","ProfilesDirectory","%temp%\@ProfilesDir@"
;0x2,"Microsoft\Windows NT\CurrentVersion\ProfileList","ProfilesDirectory","%ProfilesDir%"
0x1,"Microsoft\Windows NT\CurrentVersion\ProfileList","DefaultUserProfile","Default User"
0x1,"Microsoft\Windows NT\CurrentVersion\ProfileList","AllUsersProfile","All Users"
通过这样的修改,菜单显示的问题应该可以解决了。