极度凶残 发表于 2012-4-13 19:52:02

如何才能让WIN7PE自动连接无线网络

连接无线路由器时输入个密码并按连接,系统会保存这个接入点配置,用于以后重新开机后时能自动连接,但PE无法保存配置,所以想把配置文件提取出来,重新打包入WIM里,从这个PE每次开机都能自动连接这个路由器。

[ 本帖最后由 极度凶残 于 2012-4-14 11:11 编辑 ]

linhuajin 发表于 2012-4-13 21:37:24

这可是个高难度问题,只能等高手了

azhong123456 发表于 2012-4-13 21:41:12

先下载正确的无线驱动.用PE提起驱动,打包成CAB,如一下图

[ 本帖最后由 azhong123456 于 2012-4-13 21:42 编辑 ]

zhs509 发表于 2012-4-13 21:43:34

回复 #3 azhong123456 的帖子

SmartDriverBackup2.12汉化版这个工具会不会比较好用呢?

这个大概是按名称进行分类的

azhong123456 发表于 2012-4-13 21:45:44

原帖由 zhs509 于 2012-4-13 21:43 发表 http://bbs.wuyou.net/images/common/back.gif
SmartDriverBackup2.12汉化版这个工具会不会比较好用呢?

这个大概是按名称进行分类的

不过我的无线驱动就是用这个工具提起的,还是觉得就个好用.可以查看多个驱动

极度凶残 发表于 2012-4-13 22:04:56

原帖由 azhong123456 于 2012-4-13 21:41 发表 先下载正确的无线驱动.用PE提起驱动,打包成CAB,如一下图 我说的不是网卡驱动,是无线接入点(连接无线路由器时输入个密码并按连接,系统会保存这个接入点配置,用于以后重新开机后时能自动连接,但PE无法保存配置,所以想把配置文件提取出来,重新打包入WIM里,重这个PE每次开机都能自动连接这个路由器)

zhs509 发表于 2012-4-13 22:07:53

回复 #5 azhong123456 的帖子

好像用您提供的这个工具备份的驱动,是按1、2、3是目录来命名的,
如果同时备份所有驱动,重新安装驱动的时候比较不好判断到底是哪个驱动?

2011xiaobing 发表于 2012-4-13 22:45:31

唉。。。所答非所问,只能无语了


这里只提示一下:
1 . 备份X:...下的文件(本想给出完整路径,自己搜吧)
2 . 导出加载无线网络后改动的注册表(需要比较)
3. 重新制作WIM

就当路过。。。

[ 本帖最后由 2011xiaobing 于 2012-4-13 22:58 编辑 ]

极度凶残 发表于 2012-4-13 22:48:04

原帖由 zhs509 于 2012-4-13 22:07 发表 好像用您提供的这个工具备份的驱动,是按1、2、3是目录来命名的,如果同时备份所有驱动,重新安装驱动的时候比较不好判断到底是哪个驱动? 各位大虾!能不能说点有意义的内容?都跑题了……

[ 本帖最后由 极度凶残 于 2012-4-13 22:58 编辑 ]

极度凶残 发表于 2012-4-13 22:55:59

原帖由 2011xiaobing 于 2012-4-13 22:45 发表 唉。。。所答非所问,只能无语了这里只提示一下:1 . 备份X:\.....\......\Wlansvc 下的文件(本想给你完整路径,自己搜吧)2 . 导出加载无线网络后改动的注册表(需要比较)3. 重新制作WIM 谢谢了!明天到公司试一试。

极度凶残 发表于 2012-4-14 10:59:51

经测试过连接无线路由器后是会在X:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces目录创建一个.xml文件,内容如下:

<?xml version="1.0"?>
<WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1">
      <name>DLINK-AP</name>
      <SSIDConfig>
                <SSID>
                        <hex>4C696E4875614A696E2D4150</hex>
                        <name>DLINK-AP</name>
                </SSID>
      </SSIDConfig>
      <connectionType>ESS</connectionType>
      <connectionMode>auto</connectionMode>
      <MSM>
                <security>
                        <authEncryption>
                              <authentication>WPA2PSK</authentication>
                              <encryption>AES</encryption>
                              <useOneX>false</useOneX>
                        </authEncryption>
                        <sharedKey>
                              <keyType>passPhrase</keyType>
                              <protected>true</protected>
                              <keyMaterial>01000000D08C9DDF0115D1118C7A00C04FC297EB01000000FAA89FB5D8E28A4BBEFF01750676AF7200000000020000000000106600000001000020000000B9A1D9A3E8F781EE9B8CC8EDB0F858146D8AD7A0EBDA0187F3BB00207EEBAB7C000000000E8000000002000020000000061C34BBC46C07046B68391EF3FF1C3F1C81C6E3D55A66A218A464B999AD3441100000006EFE5FE99D505423F9B52FBD7D62A0B44000000051D6BD1601B99DF1539B9D2C0B28BC5AAE5F413829A0DDED3E6E431F368AB19DD4827E0421D69DBD64CFD1049B82FF12D0E9EE5DAC431E246D5616D79226B942</keyMaterial>
                        </sharedKey>
                </security>
      </MSM>
</WLANProfile>



并对比注册表,内容如下:

Windows Registry Editor Version 5.00


"ConsoleTracingMask"=dword:ffff0000
"EnableConsoleTracing"=dword:00000000
"EnableFileTracing"=dword:00000000
"FileDirectory"=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,\
74,00,72,00,61,00,63,00,69,00,6e,00,67,00,00,00
"FileTracingMask"=dword:ffff0000
"MaxFileSize"=dword:00100000


"FirstNetwork"=dword:00000000


"NetworkList"=hex(7):00,00




"{9577867F-F0C7-4AAA-A7C9-1B8D69C20525}"=hex:84,c9,b2,29,61,97








@="4C696E4875614A696E2D4150"
"4C696E4875614A696E2D4150"=hex:01,00,00,00


"Category"=dword:00000000
"DateCreated"=hex:dc,07,04,00,06,00,0e,00,0a,00,14,00,37,00,96,00
"DateLastConnected"=hex:dc,07,04,00,06,00,0e,00,0a,00,14,00,37,00,96,00
"Description"="DLINK-AP"
"Managed"=dword:00000000
"NameType"=dword:00000047
"ProfileName"="DLINK-AP"


"DefaultGatewayMac"=hex:84,c9,b2,29,61,97
"Description"="DLINK-AP"
"DnsSuffix"="<无>"
"FirstNetwork"="DLINK-AP"
"ProfileGuid"="{38E26913-A114-4D7E-ADEF-B01EC9FEA995}"
"Source"=dword:00000008




"ProfileList"=hex(7):7b,00,43,00,45,00,34,00,32,00,34,00,30,00,31,00,36,00,2d,\
00,33,00,45,00,44,00,33,00,2d,00,34,00,35,00,44,00,41,00,2d,00,38,00,39,00,\
42,00,30,00,2d,00,36,00,43,00,43,00,34,00,43,00,42,00,31,00,36,00,41,00,30,\
00,43,00,42,00,7d,00,00,00,00,00




"Flags"=dword:00000000


"All User Profile Security Descriptor"=hex:4f,00,3a,00,53,00,59,00,47,00,3a,00,\
53,00,59,00,44,00,3a,00,28,00,41,00,3b,00,3b,00,43,00,43,00,52,00,43,00,3b,\
00,3b,00,3b,00,42,00,55,00,29,00,28,00,41,00,3b,00,3b,00,43,00,43,00,57,00,\
50,00,52,00,43,00,3b,00,3b,00,3b,00,42,00,55,00,29,00,28,00,41,00,3b,00,3b,\
00,43,00,43,00,44,00,43,00,57,00,50,00,53,00,44,00,52,00,43,00,57,00,44,00,\
3b,00,3b,00,3b,00,42,00,55,00,29,00,28,00,41,00,3b,00,3b,00,43,00,43,00,52,\
00,43,00,3b,00,3b,00,3b,00,4e,00,4f,00,29,00,28,00,41,00,3b,00,3b,00,43,00,\
43,00,57,00,50,00,52,00,43,00,3b,00,3b,00,3b,00,4e,00,4f,00,29,00,28,00,41,\
00,3b,00,3b,00,43,00,43,00,44,00,43,00,57,00,50,00,53,00,44,00,52,00,43,00,\
57,00,44,00,3b,00,3b,00,3b,00,4e,00,4f,00,29,00,28,00,41,00,3b,00,3b,00,43,\
00,43,00,52,00,43,00,3b,00,3b,00,3b,00,42,00,41,00,29,00,28,00,41,00,3b,00,\
3b,00,43,00,43,00,57,00,50,00,52,00,43,00,3b,00,3b,00,3b,00,42,00,41,00,29,\
00,28,00,41,00,3b,00,3b,00,43,00,43,00,44,00,43,00,57,00,50,00,53,00,44,00,\
52,00,43,00,57,00,44,00,3b,00,3b,00,3b,00,42,00,41,00,29,00,28,00,44,00,3b,\
00,3b,00,46,00,41,00,3b,00,3b,00,3b,00,57,00,44,00,29,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"succeeded"=hex:01,00,00,00


"0000000000004700"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ff,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ff,ff,ff,ff,ff,\
ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff


"Epoch"=dword:00000359


"Epoch"=dword:000001e3


"DhcpNameServer"="192.168.0.1"


"DhcpDefaultGateway"=hex(7):31,00,39,00,32,00,2e,00,31,00,36,00,38,00,2e,00,30,\
00,2e,00,31,00,00,00,00,00
"DhcpGatewayHardware"=hex:c0,a8,00,01,06,00,00,00,84,c9,b2,29,61,97
"DhcpGatewayHardwareCount"=dword:00000001
"DhcpInterfaceOptions"=hex:03,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,16,\
ed,88,4f,c0,a8,00,01,06,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,16,ed,\
88,4f,c0,a8,00,01,1c,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,16,ed,88,\
4f,c0,a8,00,ff,01,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,16,ed,88,4f,\
ff,ff,ff,00,33,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,16,ed,88,4f,00,\
00,0e,0c,36,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,16,ed,88,4f,c0,a8,\
00,01,35,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,16,ed,88,4f,05,00,00,\
00,fc,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0a,df,88,4f,51,00,00,00,\
00,00,00,00,11,00,00,00,00,00,00,00,15,ed,88,4f,03,ff,ff,6d,69,6e,69,6e,74,\
2d,32,67,38,6f,75,6d,6d,00,00,00,3b,00,00,00,00,00,00,00,04,00,00,00,00,00,\
00,00,15,ed,88,4f,00,00,0c,4e,3a,00,00,00,00,00,00,00,04,00,00,00,00,00,00,\
00,15,ed,88,4f,00,00,07,08
"DhcpIPAddress"="192.168.0.61"
"DhcpNameServer"="192.168.0.1"
"DhcpServer"="192.168.0.1"
"DhcpSubnetMask"="255.255.255.0"
"DhcpSubnetMaskOpt"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,\
00,35,00,35,00,2e,00,30,00,00,00,00,00
"Lease"=dword:00000e10
"LeaseObtainedTime"=dword:4f88df05
"LeaseTerminatesTime"=dword:4f88ed15
"T1"=dword:4f88e60d
"T2"=dword:4f88eb53


"Dhcpv6State"=dword:00000001


"DhcpDefaultGatewa"=hex(7):31,00,39,00,32,00,2e,00,31,00,36,00,38,00,2e,00,30,\
00,2e,00,31,00,00,00,00,00
"DhcpIPAddress"="192.168.0.61"
"DhcpServer"="192.168.0.1"
"DhcpSubnetMask"="255.255.255.0"
"DhcpSubnetMaskOpt"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,\
00,35,00,35,00,2e,00,30,00,00,00,00,00
"Lease"=dword:00000e10
"LeaseObtainedTime"=dword:4f88df05
"LeaseTerminatesTime"=dword:4f88ed15
"T1"=dword:4f88e60d
"T2"=dword:4f88eb53


"0000000000004700"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ff,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ff,ff,ff,ff,ff,\
ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff


"Epoch"=dword:00000359


"Epoch"=dword:000001e3


"DhcpNameServer"="192.168.0.1"


"DhcpDefaultGateway"=hex(7):31,00,39,00,32,00,2e,00,31,00,36,00,38,00,2e,00,30,\
00,2e,00,31,00,00,00,00,00
"DhcpGatewayHardware"=hex:c0,a8,00,01,06,00,00,00,84,c9,b2,29,61,97
"DhcpGatewayHardwareCount"=dword:00000001
"DhcpInterfaceOptions"=hex:03,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,16,\
ed,88,4f,c0,a8,00,01,06,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,16,ed,\
88,4f,c0,a8,00,01,1c,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,16,ed,88,\
4f,c0,a8,00,ff,01,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,16,ed,88,4f,\
ff,ff,ff,00,33,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,16,ed,88,4f,00,\
00,0e,0c,36,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,16,ed,88,4f,c0,a8,\
00,01,35,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,16,ed,88,4f,05,00,00,\
00,fc,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0a,df,88,4f,51,00,00,00,\
00,00,00,00,11,00,00,00,00,00,00,00,15,ed,88,4f,03,ff,ff,6d,69,6e,69,6e,74,\
2d,32,67,38,6f,75,6d,6d,00,00,00,3b,00,00,00,00,00,00,00,04,00,00,00,00,00,\
00,00,15,ed,88,4f,00,00,0c,4e,3a,00,00,00,00,00,00,00,04,00,00,00,00,00,00,\
00,15,ed,88,4f,00,00,07,08
"DhcpIPAddress"="192.168.0.61"
"DhcpNameServer"="192.168.0.1"
"DhcpServer"="192.168.0.1"
"DhcpSubnetMask"="255.255.255.0"
"DhcpSubnetMaskOpt"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,\
00,35,00,35,00,2e,00,30,00,00,00,00,00
"Lease"=dword:00000e10
"LeaseObtainedTime"=dword:4f88df05
"LeaseTerminatesTime"=dword:4f88ed15
"T1"=dword:4f88e60d
"T2"=dword:4f88eb53


"Dhcpv6State"=dword:00000001


"DhcpDefaultGatewa"=hex(7):31,00,39,00,32,00,2e,00,31,00,36,00,38,00,2e,00,30,\
00,2e,00,31,00,00,00,00,00
"DhcpIPAddress"="192.168.0.61"
"DhcpServer"="192.168.0.1"
"DhcpSubnetMask"="255.255.255.0"
"DhcpSubnetMaskOpt"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,\
00,35,00,35,00,2e,00,30,00,00,00,00,00
"Lease"=dword:00000e10
"LeaseObtainedTime"=dword:4f88df05
"LeaseTerminatesTime"=dword:4f88ed15
"T1"=dword:4f88e60d
"T2"=dword:4f88eb53


"UIStatus"=dword:00000220


"Suppress"=dword:00000000






"UIStatus"=dword:00000220


"Suppress"=dword:00000000








把文件打包入WIM里并在PE启动时导入注册表,但启动后还是无法自动连接

[ 本帖最后由 极度凶残 于 2012-4-14 18:46 编辑 ]

sh52pj 发表于 2019-2-24 20:59:15

后来楼主解决了嘛?我也想知道
页: [1]
查看完整版本: 如何才能让WIN7PE自动连接无线网络