|
DISP W1024 H768 B32
EXEC Winpeshl
TEAM ENVI W=%WinDir%|ENVI WS=%W%\SYSTEM32
INIT IU
TEAM LOGO %Windir%\system32\1.JPG |DISP B32|WAIT 69
TEXT 正在启动 Windows 8 PE 系统 ... #0xFFFFFF L680 T702 R980 B764 $20
`不对System Volume Information目录写入信息
REGI HKLM\SOFTWARE\Policies\Microsoft\Windows NT\systemrestore\DisableConfig=#1
REGI HKLM\SOFTWARE\Policies\Microsoft\Windows NT\systemrestore\DisableSR=#1
NUMK 0 `对于台式机键盘,可以将本命令改成 NUMK 1,以打开数字键
TEAM EXEC =!%WS%\AUTONUMLOCK.EXE
//开始菜单中显示“重启”
REGI HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Start_PowerButtonAction=#4
//隐藏“启动”
SITE %Startup%,+H+R
TEXT 正在启动 Windows 8 PE 系统……
EXEC =!%WS%\ORDERDRV.CMD
TEAM WAIT 2000|KILL MOUNTVOL.EXE
TEAM FILE %WS%\ORDERDRV.CMD|FILE %WS%\MOUNTVOL.EXE
TEXT 正在加载程序……
FORX \dashixiong\WIN8PE.INI,Cdd,1,TEAM LOAD %Cdd%|EXIT LOOP
LOAD \dashixiong\WIN8PE.INI
LOAD \MyDriver\DRV.INI
LINK %Programs%\附件\计算器,%WS%\calc.exe
LINK %Programs%\附件\画图,%WS%\mspaint.exe
LINK %Programs%\附件\记事本,%WS%\notepad.exe
LINK %Programs%\附件\命令提示符,%WS%\CMD.EXE
LINK %Programs%\附件\注册表编辑器,%W%\REGEDIT.EXE
LINK %Programs%\管理工具\磁盘管理,%WinDir%\system32\diskmgmt.msc
LINK %Programs%\管理工具\计算机管理,%WinDir%\system32\compmgmt.msc
LINK %Programs%\管理工具\设备管理,%WinDir%\system32\devmgmt.msc
LINK %Programs%\管理工具\服务,%WinDir%\system32\services.msc
PINT %Windir%\System32\notepad.exe,TaskBand
PINT %Windir%\REGEDIT.EXE,TaskBand
//去掉快捷方式箭头
REGI HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons\29=X:\WINDOWS\SYSTEM32\Empty.ico,0
//隐藏回收站
REGI HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel\{645FF040-5081-101B-9F08-00AA002F954E}=#1
//开始菜单程序
REGI HKU\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Start_ShowRecordedTV=#2
REGI ~HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\{1A6FDBA2-F42D-4358-A798-B74D745926C5}=%%USERPROFILE%%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
//删除屏幕分辨率设置
REGI HKCR\DesktopBackground\Shell\Display\!
//删除控制面板多余项
REGI HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D9EF8727-CAC2-4e60-809E-86F80A666C91}\!
REGI HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{F2DDFC82-8F12-4CDD-B7DC-D4FE1425AA4D}\!
REGI HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{8E908FC9-BECC-40f6-915B-F4CA0E70D03D}\!
REGI HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{5ea4f148-308c-46d7-98a9-49041b1dd468}\!
//删除库
REGI HKCR\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\!
REGI HKLM\SOFTWARE\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\!
REGI HKCR\Folder\ShellEx\ContextMenuHandlers\Library Location\!
//删除家庭组,收藏夹,网络
REGI HKCR\CLSID\{B4FB3F98-C1EA-428d-A78A-D1F5659CBA93}\!
REGI HKLM\SOFTWARE\Classes\CLSID\{B4FB3F98-C1EA-428d-A78A-D1F5659CBA93}\!
REGI HKCR\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\!
REGI HKLM\SOFTWARE\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\ShellFolder\Attributes=#10940064
REGI HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Start_ShowNetPlaces=#0
TEXT
SHEL %SystemRoot%\explorer.exe
TEAM FILE %public%\desktop\desktop.ini|FILE %desktop%\desktop.ini|FILE X:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup|FILE X:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
DEVI %SystemRoot%\inf\basicdisplay.inf
DEVI %SystemRoot%\inf\BasicRender.inf
DEVI %SystemRoot%\inf\usb.inf
DEVI %SystemRoot%\inf\usbport.inf
EXEC @REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /VA /F
EXEC @REG DELETE HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /VA /F
REGI HKLM\SYSTEM\CurrentControlSet\Control\Lsa\Audit\!
_SUB Logopaper
FORX !\BOOT\GRUB\PE启动图片.jpg,MyJPG,1,LOGO %MyJPG%
FORX \BOOT\GRUB\PE启动图片.jpg,MyJPG,1,LOGO %MyJPG%
_END
_SUB Wallpaper
FORX !\dashixiong\桌面背景\WinPE.jpg,MyJPG,1,WALL %MyJPG%
FORX \dashixiong\桌面背景\WinPE.jpg,MyJPG,1,WALL %MyJPG%
_END
TEAM EXEC =!winpeshl.exe|INIT IU,4000
就是加载不上背景图片 求高人指点到底怎么弄啊.. |
|