Microsoft KB Archive/929847

= How to enable computer-only authentication for a 802.1X-based network in Windows Vista =

Article ID: 929847

Article Last Modified on 3/17/2007

-

APPLIES TO


 * Windows Vista Ultimate
 * Windows Vista Enterprise
 * Windows Vista Business
 * Windows Vista Home Basic
 * Windows Vista Home Premium
 * Windows Vista Starter
 * Windows Vista Ultimate 64-bit edition
 * Windows Vista Enterprise 64-bit edition
 * Windows Vista Business 64-bit edition
 * Windows Vista Home Premium 64-bit edition
 * Windows Vista Home Basic 64-bit edition

-



INTRODUCTION
This article discusses how to enable computer-only authentication for an 802.1X-based network in Windows Vista.



MORE INFORMATION
Microsoft Windows XP and Microsoft Windows Server 2003 store 802.1X computer and user authentication settings in the AuthMode registry entry in the following registry subkey:

However, the AuthMode registry entry is not included in Windows Vista. If computer-only authentication is configured in an environment that has Windows XP-based computers, the settings are not applied to Windows Vista-based computers. To set the authentication mode in Windows Vista, you must modify the 802.1X network profile.

To enable computer-only authentication for an 802.X-based network in Windows Vista, follow these steps:  Perform one of the following procedures, depending on whether you are using a wired or a wireless network connection.  Wired network connection

Create an 802.1X-based network profile on a wired network connection. To do this, follow these steps:  Right-click the network connection icon in the notification area at the far right of the taskbar, and then click Network and Sharing Center. Under Tasks, click Manage Network Connections. Right-click the network connection that you want to configure, and then click Properties.

If you are prompted for an administrator password or confirmation, type your password or click Continue. Click the Authentication tab, specify the settings that you want, and then click OK. </li> Wireless network connection

Create an 802.1X-based network profile on a wireless network connection. To do this, follow these steps:  Right-click the network connection icon in the notification area at the far right of the taskbar, and then click Network and Sharing Center.</li> Under Tasks, click Manage Wireless Networks.</li> Click Add. The Wireless Network Wizard starts.</li> Follow the instructions that are displayed on the screen to create a wireless network profile.</li></ol> </li></ul> </li> Export the network profile information to an XML file. To do this, follow these steps:  Click Start, type cmd in the Start Search box, right-click cmd in the Programs list, and then click Run as administrator.

If you are prompted for an administrator password or confirmation, type your password or click Continue.</li> At the command prompt, type one of the following lines, depending on whether you are using a wired or a wireless network connection, and then press ENTER. <ul> If you are using a wired network connection, type the following line:

netsh lan export profile folder=c:\

</li> If you are using a wireless network connection, type the following line:

netsh wlan export profile folder=c:\

</li></ul> </li></ol> </li> Modify the network profile in the XML file to specify computer-only authentication. To do this, follow these steps:  Start Notepad, and then open the XML file.</li>  In the XML file, locate the section that contains the OneX settings. The following is an example of this section: <OneX xmlns=&quot;http://www.microsoft.com/networking/OneX/v1&quot;>

<authMode>machineoruser</authMode>

<EAPConfig>...</EAPConfig>

</OneX> </li> <li> Modify the <authMode> line as follows: <authMode>machine</authMode> The following is an example of the section that contains the OneX settings after it is modified: <OneX xmlns=&quot;http://www.microsoft.com/networking/OneX/v1&quot;>

<authMode>machine</authMode>

<EAPConfig>...</EAPConfig>

</OneX> </li> <li>Save, and then close the XML file.</li></ol> </li> <li>Add the network profile that you modified. To do this, type one of the following lines at the command prompt, depending on whether the network profile is for a wired or a wireless network connection. Then, press ENTER. <ul> <li>If the network profile is for a wired network connection, type the following line:

netsh lan add profile filename=

</li> <li>If the network profile is for a wireless network connection, type the following line:

netsh wlan add profile filename=

</li></ul> </li></ol>

<div class="references_section">