|
你的WIN7PE的PECMD.INI应该和这个差不多!我这个也是修改过后!
- /////OSD////////////////////////////////////////////////////////////////////////////////////////
- WALL %SystemRoot%\System32\black.bmp
- TEAM EXEC !%SystemRoot%\system32\winpeshl.exe|INIT I|FONT %SystemRoot%\Fonts,0
- DEVI %WinDir%\inf\usbport.inf
- ////////////////////////////////////////////////////////////////////////////////////////////////
- _SUB USBREC
- SERV usbhub
- SERV kbdhid
- SERV usbccgp
- `SERV usbehci
- `SERV usbuhci
- `SERV kbdclass
- _END
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- _SUB LoadShell
- LINK %Programs%\附件\显示隐藏分区,%WinDir%\System32\PECMD.EXE,SHOW -1:-1,SHOW -1:-1,SHELL32.DLL#8
- REGI HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2\Settings=@28000000ffffffff02000000030000003e0000002800000000000000f2030000900600001a040000
- REGI HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.cab\!
- REGI HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}=#0x00000001
- EXEC !X:\Windows\system32\REGDOC.CMD
- EXEC !=%SystemRoot%\regedit.exe /S %SystemRoot%\System32\PE.REG
- EXEC !X:\Windows\system32\vhd\setup.cmd
- SERV gpsvc
- SERV UxSms
- CALL $msjava.dll
- CALL $wmvcore.dll
- CALL $X:\Program Files\Unlocker\UnlockerCOM.dll
- CALL $inetcomm.dll
- FORX %WinDir%\System32\*.ocx,Regocx,0,CALL $%Regocx%
- /////LoadShell///////////////////////////////////////////////////////////////////////////////////////////
- //用户登录界面
- EXEC !%CurDrv%\81PeProg\DRIVERPACKS\DEVINST.EXE auto2、、我把驱动改到这了!
- LINK %Desktop%\PECMD,X:\Windows\System32\PECMD.EXE,help 0x000eef#0x000000
- FORX \petools\文件工具\Q-Dirx32.exe,Q-DIR,1,LINK %Desktop%\Q-DIR,%Q-DIR%
- LOAD X:\Windows\System32\IME\Aero.ini
- REGI HKCU\Software\Sysinternals\PsExec\EulaAccepted=#1
- REGI HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce\Init=PECMD.EXE LOAD %SystemRoot%\System32\init.ini
- REGI HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList\Guest=#0
- REGI HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoAdminLogon=1
- REGI HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultUserName=LsaSetupDomain\Administrator
- REGI HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultPassword=""
- EXEC !%SystemRoot%\System32\tsdiscon.exe
- REGI HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Start_PowerButtonAction=#4
- HOTK #255,PECMD.EXE SHUT //电源键关机
- SERV !Winmgmt
- `-------------------------------------网络服务------------------------------------------
- EXEC @!=netcfg -c s -i MS_Server `微软网络文件和打印机共享
- `EXEC @!=netcfg -c s -i ms_rassrv `拨号网络服务器
- EXEC @!=netcfg -c s -i ms_nativewifip `Native 无线网络筛选器
- EXEC @!=netcfg -c s -i ms_wfplwf `WFP 轻型筛选器
- EXEC @!=netcfg -c s -i ms_ndiscap `NDIS 捕获轻型筛选器
- `EXEC @!=netcfg -c s -i ms_pacer `QoS 数据包计划程序
- `--------------------------------------网络协议------------------------------------------
- EXEC !=netcfg -e -c p -i MS_NDISWAN `远程访问 NDIS 广域网驱动程序
- EXEC !=netcfg -e -c s -i MS_RASMAN `远程访问连接管理器
- EXEC !=netcfg -e -c p -i MS_PPPOE `以太网上的点对点协议
- EXEC @!=netcfg -e -c p -i MS_NDISUIO `NDIS 用户模式 I/O 协议
- EXEC @!=netcfg -e -c p -i ms_nwipx `NWLink IPX/SPX/NetBIOS 兼容传送协议
- `EXEC @!=netcfg -e -c p -i ms_rspndr `链路层拓扑发现响应程序
- `EXEC @!=netcfg -e -c p -i ms_lltdio `链路层拓扑发现映射器 I/O 驱动程序
- `EXEC @!=netcfg -e -c p -i ms_tcpip_tunnel `Internet 隧道协议版本 4 (TCP/IPv4)
- `EXEC @!=netcfg -e -c p -i ms_tcpip6_tunnel `Internet 隧道协议版本 6 (TCP/IPv6)
- `EXEC @!=netcfg -e -c p -i ms_rmcast `可靠的多播协议
- `EXEC @!=netcfg -e -c p -i ms_agilev `VPN 隧道协议
- `--------------------------------------隧道网络------------------------------------------------
- `EXEC !devcon install %SystemRoot%\inf\nettun.inf *TEREDO `Microsoft Teredo 隧道适配器
- `EXEC !devcon install %SystemRoot%\inf\nettun.inf *ISATAP `Microsoft ISATAP 适配器
- `EXEC !devcon install %SystemRoot%\inf\nettun.inf *6to4mp `Microsoft 6to4 适配器
- `EXEC !devcon install %SystemRoot%\inf\nettun.inf *TUNDIRECT `Microsoft 直接点对点适配器
- `----------------------------------------------------------------------------------------------
- DEVI %WinDir%\inf\imdisk.inf
- DEVI %WinDir%\inf\usb.inf
- DEVI %WinDir%\inf\acpi.inf
- DEVI %WinDir%\inf\hal.inf
- DEVI %WinDir%\inf\cpu.inf
- DEVI %WinDir%\inf\msports.inf
- DEVI %WinDir%\inf\volsnap.inf
- DEVI %WinDir%\inf\netvw*.inf
- DEVI %WinDir%\inf\keyboard.inf
- DEVI %WinDir%\inf\volume.inf
- DEVI %WinDir%\inf\msmouse.inf
- DEVI %WinDir%\inf\blbdrive.inf
- DEVI %WinDir%\inf\machine.inf
- DEVI %WinDir%\inf\hda*.inf
- DEVI %WinDir%\inf\ramdisk.inf
- SERV Winmgmt
- SERV LanmanServer
- SERV WwanSvc
- SERV HomeGroupListener
- SERV Wlansvc
- SERV Spooler
- SERV Schedule
- SHEL X:\Windows\explorer.exe
- FILE X:\Windows\inf\awealloc
- FILE X:\Windows\inf\cli
- FILE X:\Windows\inf\cpl
- FILE X:\Windows\inf\svc
- FILE X:\Windows\inf\sys
- LOAD %CurDrv%\81PeProg\kdlj.wcs
- _END
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- CALL USBREC
- CALL LoadShell
- ENVI
- ////////////////////////////////////////////////////////////////////////////////////////////////
复制代码 |
|