无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 3683|回复: 3
打印 上一主题 下一主题

谁能给我一个用在winpe的启动网络支持的程序?

[复制链接]
跳转到指定楼层
1#
发表于 2009-2-14 16:12:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
谁能给我一个用在winpe的启动网络支持的程序?
我的winpe是自己做的,dll可能缺,请告诉我启动网络支持需要那些dll
2#
 楼主| 发表于 2009-2-22 13:04:26 | 只看该作者
没人知道?????????
回复

使用道具 举报

3#
发表于 2009-2-22 13:28:20 | 只看该作者
随便下一pe,在外置里有网络支持文件及启动批处理,自己研究一下。(不同的pe可能稍有不同)
这是一个的文件列表,不包括驱动
INF\NDISUIO.INF
INF\NETMSCLI.INF
INF\NETNB.INF
INF\NETRASA.INF
INF\NETRASS.INF
INF\NETRAST.INF
INF\NETRTSNT.INF
INF\NETSERV.INF
INF\NETTCPIP.INF
INF\NETWZC.INF
INF\STREAMIP.INF
System32\ACTIVEDS.DLL
System32\ADSLDPC.DLL
System32\BROWSER.DLL
System32\CLUSAPI.DLL
System32\CSCDLL.DLL
System32\DHCPCSVC.DLL
System32\DOT3API.DLL
System32\DOT3CFG.DLL
System32\DOT3DLG.DLL
System32\DOT3MSM.DLL
System32\DOT3SVC.DLL
System32\DOT3UI.DLL
System32\EAPOLQEC.DLL
System32\EAPP3HST.DLL
System32\EAPPCFG.DLL
System32\EAPPGNUI.DLL
System32\EAPPHOST.DLL
System32\EAPPPRXY.DLL
System32\EAPQEC.DLL
System32\EAPSVC.DLL
System32\ESENT.DLL
System32\EVENTLOG.DLL
System32\HANGUP.CMD
System32\HANGUP.ICO
System32\HNETCFG.DLL
System32\HOSTNAME.EXE
System32\ICMP.DLL
System32\IPCONFIG.EXE
System32\IPSECSNP.DLL
System32\IPSECSVC.DLL
System32\KMDDSP.TSP
System32\LMHSVC.DLL
System32\MPRAPI.DLL
System32\MPRMSG.DLL
System32\MSWSOCK.DLL
System32\NET.EXE
System32\NET1.EXE
System32\NETCFG.EXE
System32\NETCFGX.DLL
System32\NETEVENT.DLL
System32\NETMAN.DLL
System32\NETMSG.DLL
System32\NETPLWIZ.DLL
System32\NETSHELL.DLL
System32\NTLANMAN.DLL
System32\NTLSAPI.DLL
System32\ONEX.DLL
System32\ONEX_V1.XSD
System32\PENETCFG.EXE
System32\PING.EXE
System32\POLSTORE.DLL
System32\PSTORSVC.DLL
System32\QUTIL.DLL
System32\RASADHLP.DLL
System32\RASAPI32.DLL
System32\RASAUTO.DLL
System32\RASCHAP.DLL
System32\RASDIAL.EXE
System32\RASDLG.DLL
System32\RASMAN.DLL
System32\RASMANS.DLL
System32\RASMXS.DLL
System32\RASPHONE.EXE
System32\RASPHONE.PBK
System32\RASPPP.DLL
System32\RASSER.DLL
System32\RASTAPI.DLL
System32\RASTLS.DLL
System32\ROUTE.EXE
System32\RTUTILS.DLL
System32\SECURITY.DLL
System32\SENS.DLL
System32\SHAREPWD.CMD
System32\SRVSVC.DLL
System32\TAPI32.DLL
System32\TAPISRV.DLL
System32\TELNET.EXE
System32\URL.DLL
System32\WINHTTP.DLL
System32\WINIPSEC.DLL
System32\WINSCARD.DLL
System32\WKSSVC.DLL
System32\WSHNETBS.DLL
System32\WSHTCPIP.DLL
System32\WZCDLG.DLL
System32\WZCSAPI.DLL
System32\WZCSVC.DLL
System32\Drivers\AFD.SYS
System32\Drivers\ASYNCMAC.SYS
System32\Drivers\ATMARPC.SYS
System32\Drivers\IPINIP.SYS
System32\Drivers\IPSEC.SYS
System32\Drivers\MRXSMB.SYS
System32\Drivers\mrxsmb_xp.sys
System32\Drivers\NDISIP.SYS
System32\Drivers\NDISTAPI.SYS
System32\Drivers\NDISUIO.SYS
System32\Drivers\NDPROXY.SYS
System32\Drivers\NETBIOS.SYS
System32\Drivers\NETBT.SYS
System32\Drivers\PTILINK.SYS
System32\Drivers\RASACD.SYS
System32\Drivers\RASL2TP.SYS
System32\Drivers\RASPPPOE.SYS
System32\Drivers\RASPPTP.SYS
System32\Drivers\RASPTI.SYS
System32\Drivers\RNDISMP.SYS
System32\Drivers\RTL8139.SYS
System32\Drivers\SRV.SYS
System32\Drivers\STREAMIP.SYS
System32\Drivers\TCPIP.SYS
System32\Drivers\TDI.SYS
System32\Drivers\WANARP.SYS

开启服务批处理

@echo off
set cs=%1
PUSHD %~dp0
echo 启动网络服务安装网络组件
PECMD UPNP -pnp -cn WinPE%RANDOM% -wg WORKGROUP
REGSVR32 /S NETCFGX.DLL
REGSVR32 /S NETSHELL.DLL
REGSVR32 /S NETMAN.DLL
PECMD UPNP -c p -i MS_TCPIP
PECMD UPNP -c c -i MS_MSCLIENT
PECMD UPNP -c s -i MS_SERVER
PECMD UPNP -c p -i MS_L2TP
PECMD UPNP -c p -i MS_PPTP
PECMD UPNP -c p -i MS_PPPOE
PECMD UPNP -c p -i MS_WANARP
PECMD UPNP -c p -i MS_NDISWAN
PECMD UPNP -c s -i MS_RASCLI
PECMD UPNP -c s -i MS_RASSRV
PECMD UPNP -c s -i MS_RASMAN
PECMD UPNP -c s -i MS_STEELHEAD
PECMD UPNP -v -c p -i MS_NDISUIO
PECMD UPNP -v -c s -i MS_WZCSVC
SET K=HKLM\SYSTEM\CurrentControlSet\Services&&SET W=AutoShareServer&&SET S=AutoShareWks
REG ADD %K%\Lanmanserver\parameters /v %S% /t REG_DWORD /d 0 /f
REG ADD %K%\Lanmanserver\parameters /v %W% /t REG_DWORD /d 0 /f
REG ADD %K%\lanmanworkstation\parameters /v %S% /t REG_DWORD /d 0 /f
REG ADD %K%\lanmanworkstation\parameters /v %W% /t REG_DWORD /d 0 /f
REG ADD "HKLM\SOFTWARE\Microsoft\Driver Signing" /f /v "Policy" /t REG_BINARY /d 00
NET START EVENTLOG
NET START TCPIP
NET START DHCP
NET START NLA
NET START LMHOSTS
NET START SERVER
NET START NETMAN
NET START TAPISRV
NET START RASMAN
NET START WZCSVC
PECMD.EXE EXEC @REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /va /f
PECMD.EXE EXEC @REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /va /f
for %%i in (%systemroot%\inf\*.pnf) do del /q %%i
if exist %SystemRoot%\INF\INFCACHE.1  DEL /Q %SystemRoot%\INF\INFCACHE.1
PECMD.EXE LINK !%USERPROFILE%\「开始」菜单\程序\网络\设置\ADSL 宽带连接,%SystemRoot%\SYSTEM32\RASPHONE.PBK
PECMD.EXE LINK !%USERPROFILE%\「开始」菜单\程序\网络\设置\挂断ADSL,%SystemRoot%\System32\HANGUP.CMD,,HANGUP.ICO
PECMD.EXE LINK !%USERPROFILE%\「开始」菜单\程序\网络\设置\PENETCFG网络设置,%SystemRoot%\System32\PENETCFG.exe
PECMD.EXE LINK !%USERPROFILE%\「开始」菜单\程序\网络\设置\设置网络共享密码为123,%SystemRoot%\System32\SHAREPWD.CMD,,SHELL32.DLL#47
if  *%cs%* == **  Start PENETCFG.EXE
:显示图标到任务栏
REGSVR32 /S "%windir%\system32\stobject.dll" 1>nul
FOR /F %%i IN ([email=]'@reg[/email] query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}" /s^|find /i "Connection"') DO >nul REG ADD %%i /v ShowIcon /t REG_DWORD /d 1 /f
EXIT /B
回复

使用道具 举报

4#
发表于 2009-2-22 19:27:08 | 只看该作者
FOR /F %%i IN ([email=]'@reg[/email] query ......

这行有误,我说过的:
http://bbs.wuyou.net/forum.php?m ... 3874&highlight=
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-12-1 00:54

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表