802.1X on Windows PC

Command to create WiFi profile from XML file:

netsh wlan add profile filename=”c:\temp\wireless\Wi-Fi-eir_WiFi.xml”

 

<?xml version=”1.0″?>
<WLANProfile xmlns=”http://www.microsoft.com/networking/WLAN/profile/v1″&gt;
<name>eir_WiFi</name>
<SSIDConfig>
<SSID>
<hex>6569725F57694669</hex>
<name>eir_WiFi</name>
</SSID>
<nonBroadcast>false</nonBroadcast>
</SSIDConfig>
<connectionType>ESS</connectionType>
<connectionMode>auto</connectionMode>
<autoSwitch>false</autoSwitch>
<MSM>
<security>
<authEncryption>
<authentication>WPA2</authentication>
<encryption>AES</encryption>
<useOneX>true</useOneX>
</authEncryption>
<OneX xmlns=”http://www.microsoft.com/networking/OneX/v1″&gt;
<cacheUserData>true</cacheUserData>
<authMode>user</authMode>
<EAPConfig><EapHostConfig xmlns=”http://www.microsoft.com/provisioning/EapHostConfig”><EapMethod><Type xmlns=”http://www.microsoft.com/provisioning/EapCommon”>25</Type><VendorId xmlns=”http://www.microsoft.com/provisioning/EapCommon”>0</VendorId><VendorType xmlns=”http://www.microsoft.com/provisioning/EapCommon”>0</VendorType><AuthorId xmlns=”http://www.microsoft.com/provisioning/EapCommon”>0</AuthorId></EapMethod><Config xmlns=”http://www.microsoft.com/provisioning/EapHostConfig”><Eap xmlns=”http://www.microsoft.com/provisioning/BaseEapConnectionPropertiesV1″><Type>25</Type><EapType xmlns=”http://www.microsoft.com/provisioning/MsPeapConnectionPropertiesV1″><ServerValidation><DisableUserPromptForServerValidation>false</DisableUserPromptForServerValidation><ServerNames></ServerNames></ServerValidation><FastReconnect>true</FastReconnect><InnerEapOptional>false</InnerEapOptional><Eap xmlns=”http://www.microsoft.com/provisioning/BaseEapConnectionPropertiesV1″><Type>26</Type><EapType xmlns=”http://www.microsoft.com/provisioning/MsChapV2ConnectionPropertiesV1″><UseWinLogonCredentials>false</UseWinLogonCredentials></EapType></Eap><EnableQuarantineChecks>false</EnableQuarantineChecks><RequireCryptoBinding>false</RequireCryptoBinding><PeapExtensions><PerformServerValidation xmlns=”http://www.microsoft.com/provisioning/MsPeapConnectionPropertiesV2″>false</PerformServerValidation><AcceptServerName xmlns=”http://www.microsoft.com/provisioning/MsPeapConnectionPropertiesV2″>false</AcceptServerName><PeapExtensionsV2 xmlns=”http://www.microsoft.com/provisioning/MsPeapConnectionPropertiesV2″><AllowPromptingWhenServerCANotFound xmlns=”http://www.microsoft.com/provisioning/MsPeapConnectionPropertiesV3″>true</AllowPromptingWhenServerCANotFound></PeapExtensionsV2></PeapExtensions></EapType></Eap></Config></EapHostConfig></EAPConfig&gt;
</OneX>
</security>
</MSM>
</WLANProfile>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s