经测试过连接无线路由器后是会在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
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\explorer_RASAPI32]
"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
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList]
"FirstNetwork"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks]
"NetworkList"=hex(7):00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Nla\Cache]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Nla\Cache\Intranet]
"{9577867F-F0C7-4AAA-A7C9-1B8D69C20525}"=hex:84,c9,b2,29,61,97
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Nla\Cache\IntranetAuth]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Nla\Cache\IntranetAuth\3.3.192.168.0.61]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Nla\Wireless]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Nla\Wireless\40118FA88B8F02B97FA046AB148DFC1C7B248746E75EBC14939F6B3FF23BB1D0]
@="4C696E4875614A696E2D4150"
"4C696E4875614A696E2D4150"=hex:01,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles\{38E26913-A114-4D7E-ADEF-B01EC9FEA995}]
"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"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Unmanaged\010103000F0000F0080000000F0000F040118FA88B8F02B97FA046AB148DFC1C7B248746E75EBC14939F6B3FF23BB1D0]
"DefaultGatewayMac"=hex:84,c9,b2,29,61,97
"Description"="DLINK-AP"
"DnsSuffix"="<无>"
"FirstNetwork"="DLINK-AP"
"ProfileGuid"="{38E26913-A114-4D7E-ADEF-B01EC9FEA995}"
"Source"=dword:00000008
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces\{9577867F-F0C7-4AAA-A7C9-1B8D69C20525}]
"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
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces\{9577867F-F0C7-4AAA-A7C9-1B8D69C20525}\Profiles]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces\{9577867F-F0C7-4AAA-A7C9-1B8D69C20525}\Profiles\{CE424016-3ED3-45DA-89B0-6CC4CB16A0CB}]
"Flags"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces\{9577867F-F0C7-4AAA-A7C9-1B8D69C20525}\Profiles\{CE424016-3ED3-45DA-89B0-6CC4CB16A0CB}\MetaData]
"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
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Nsi\{eb004a00-9b1a-11d4-9123-0050047759bc}\7]
"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
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\SharedAccess\Epoch]
"Epoch"=dword:00000359
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\SharedAccess\Epoch2]
"Epoch"=dword:000001e3
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\Tcpip\Parameters]
"DhcpNameServer"="192.168.0.1"
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\Tcpip\Parameters\Interfaces\{9577867F-F0C7-4AAA-A7C9-1B8D69C20525}]
"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
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\TCPIP6\Parameters\Interfaces\{9577867f-f0c7-4aaa-a7c9-1b8d69c20525}]
"Dhcpv6State"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\{9577867F-F0C7-4AAA-A7C9-1B8D69C20525}\Parameters\Tcpip]
"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
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi\{eb004a00-9b1a-11d4-9123-0050047759bc}\7]
"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
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Epoch]
"Epoch"=dword:00000359
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Epoch2]
"Epoch"=dword:000001e3
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters]
"DhcpNameServer"="192.168.0.1"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces\{9577867F-F0C7-4AAA-A7C9-1B8D69C20525}]
"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
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters\Interfaces\{9577867f-f0c7-4aaa-a7c9-1b8d69c20525}]
"Dhcpv6State"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\{9577867F-F0C7-4AAA-A7C9-1B8D69C20525}\Parameters\Tcpip]
"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
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\HomeGroup\UIStatusCache]
"UIStatus"=dword:00000220
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\Network\NwCategoryWizard]
"Suppress"=dword:00000000
[HKEY_USERS\.DEFAULT\System\CurrentControlSet\Control\Network]
[HKEY_USERS\.DEFAULT\System\CurrentControlSet\Control\Network\ShowWirelessConnectingOnStart]
[HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\HomeGroup\UIStatusCache]
"UIStatus"=dword:00000220
[HKEY_USERS\S-1-5-18\Software\Microsoft\Windows NT\CurrentVersion\Network\NwCategoryWizard]
"Suppress"=dword:00000000
[HKEY_USERS\S-1-5-18\System\CurrentControlSet\Control\Network]
[HKEY_USERS\S-1-5-18\System\CurrentControlSet\Control\Network\ShowWirelessConnectingOnStart]
把文件打包入WIM里并在PE启动时导入注册表,但启动后还是无法自动连接
[ 本帖最后由 极度凶残 于 2012-4-14 18:46 编辑 ] |