|
这个配置是这样的亲:
- //Twinkle PE Start
- //设置开始菜单
- CALL STARTMENU_SETTING
-
- SHEL %WinDir%\explorer.exe
- //加载外置程序
- LOAD \APPS\peinit.ini
-
- //禁止Media Player首次运行设置界面
- REGI HKCU\Software\Microsoft\MediaPlayer\Preferences\AcceptedPrivacyStatement=#1
- //设置IE主页为空白
- REGI HKLM\SOFTWARE\Microsoft\Internet Explorer\Main\Start Page=""
- REGI HKLM\SOFTWARE\Microsoft\Internet Explorer\Main\Default_Page_URL=""
- //禁止IE设置向导
- REGI HKLM\Software\Policies\Microsoft\Internet Explorer\Main\DisableFirstRunCustomize=#2
- //删除桌面的desktop.ini
- FILE %Desktop%\desktop.ini
- FILE X:\Users\Public\Desktop\desktop.ini
- FILE X:\Users\Default\Desktop\desktop.ini
- ////////////////////////////////////////////////////////////////////////////
- /////////////// 声音系统初始化 ////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////
- _SUB AUDIO_INIT
- //安装HDAudio驱动,可驱动绝大部分声卡
- DEVI x:\windows\inf\hdaudio.inf
- //禁止Media Player首次运行设置界面
- REGI HKCU\Software\Microsoft\MediaPlayer\Preferences\AcceptedPrivacyStatement=#1
- _END
- ////////////////////////////////////////////////////////////////////////////
- /////////////// 网络初始化 ////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////
- _SUB NET_INIT
- //===初始化网络===
- EXEC =!netcfg.exe -v -winpe
- EXEC =!netcfg.exe -e -c s -i MS_Server
- EXEC =!netcfg.exe -e -c p -i MS_NDISWAN
- EXEC =!netcfg.exe -e -c s -i MS_RASMAN
- EXEC =!netcfg.exe -e -c p -i MS_PPPOE
- EXEC =!netcfg.exe -e -c p -i MS_NDISUIO
- EXEC =!netcfg.exe -e -c s -i ms_nativewifip
- //Link Layer Discovery Protocal
- EXEC =!netcfg.exe -e -c p -i ms_lltdio
- EXEC =!netcfg.exe -e -c p -i ms_rspndr
- EXEC =!netcfg.exe -e -c p -i ms_lldp
- //===启动网络服务===
- REGI HKLM\SYSTEM\Setup\SystemSetupInProgress=#0
- //网络状态指示
- SERV wcmsvc
- SERV nlasvc
- SERV netprofm
- //文件共享
- SERV Server
- //网络防火墙
- SERV mpssvc
- //宽带连接服务
- SERV TapiSvc
- SERV RasMan
- SERV RasAuto
- //无线网络
- SERV dot3svc
- SERV wlansvc
- SERV wwansvc
- //REGI HKLM\SYSTEM\Setup\SystemSetupInProgress=#1
- //设置IE主页为空白
- REGI HKLM\SOFTWARE\Microsoft\Internet Explorer\Main\Start Page=""
- REGI HKLM\SOFTWARE\Microsoft\Internet Explorer\Main\Default_Page_URL=""
- //禁止IE设置向导
- REGI HKLM\Software\Policies\Microsoft\Internet Explorer\Main\DisableFirstRunCustomize=#2
- //===设置工作组 (如已加入schema.dat,不需执行此命令)====
- EXEC =!startnet.exe -wg WORKGROUP
- _END
- ////////////////////////////////////////////////////////////////////////////
- /////////////// 开始菜单设置 /////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////
- _SUB STARTMENU_SETTING
- //附件
- LINK %StartMenu%\附件\记事本,%Windir%\system32\notepad.exe
- LINK %StartMenu%\附件\注册表编辑器,%Windir%\regedit.exe
- LINK %StartMenu%\附件\任务管理器,%Windir%\system32\Taskmgr.exe
- LINK %StartMenu%\附件\画图,%Windir%\System32\mspaint.exe
- LINK %StartMenu%\附件\计算器,%Windir%\System32\calc.exe
- LINK %StartMenu%\附件\写字板,%ProgramFiles%\Windows NT\Accessories\wordpad.exe
- LINK %StartMenu%\附件\截图工具,%Windir%\System32\SnippingTool.exe
- LINK %StartMenu%\附件\XPS查看器,%Windir%\System32\xpsrchvw.exe
- //LINK %StartMenu%\附件\Windows图片查看器,"%SystemRoot%\System32\rundll32.exe %ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll, ImageView_Fullscreen %%1"
- //删除多余的快捷方式
- FILE "%Programs%\System Tools"
- FILE "%Programs%\Accessories"
- //Media Player
- LINK %StartMenu%\Windows Media Player,%ProgramFiles%\Windows Media Player\wmplayer.exe
- //网络程序
- LINK %StartMenu%\网络\远程桌面,%Windir%\System32\mstsc.exe
- LINK %StartMenu%\网络\宽带连接,%ProgramData%\Microsoft\Network\Connections\Pbk\rasphone.pbk
-
- _END
复制代码 |
|