Extensible Authentication Protocol (EAP) for network access in Windows | Microsoft Learn
The Extensible Authentication Protocol (EAP) is an authentication framework that allows for the use of different authentication methods for secure network access technologies. Examples of these technologies include wireless access using IEEE 802.1X, wired access using IEEE 802.1X, and Point-to-Point Protocol (PPP) connections like Virtual Private Networking (VPN). EAP isn't a specific authentication method like MS-CHAP v2, but rather a framework that enables networking vendors to develop and install new authentication methods, known as EAP methods on the access client and authentication server. The EAP framework is originally defined by RFC 3748 and extended by various other RFCs and standards.
Authentication methods
EAP authentication methods that are used within tunneled EAP methods are commonly known as inner methods or EAP types. Methods that are set up as inner methods have the same configuration settings as they would when used as an outer method. This article contains configuration information specific to the following authentication methods in EAP.
EAP-Transport Layer Security (EAP-TLS): Standards-based EAP method that uses TLS with certificates for mutual authentication. Appears as Smart Card or other Certificate (EAP-TLS) in Windows. EAP-TLS can be deployed as an inner method for another EAP method or as a standalone EAP method.
Tip
EAP methods that use EAP-TLS, being certificate-based, generally offer the highest level of security. For example, EAP-TLS is the only allowed EAP method for WPA3-Enterprise 192-bit mode.
EAP-Microsoft Challenge Handshake Authentication Protocol version 2 (EAP-MSCHAP v2): Microsoft-defined EAP method that encapsulates the MSCHAP v2 authentication protocol, which uses username and password, for authentication. Appears as Secure password (EAP-MSCHAP v2) in Windows. EAP-MSCHAPv2 can be used as a standalone method for VPN, but only as an inner method for wired/wireless connections.
Warning
MSCHAPv2-based connections are subject to similar attacks as for NTLMv1. Windows 11 Enterprise, version 22H2 (build 22621) enables Windows Defender Credential Guard, which might cause issues with MSCHAPv2-based connections.
Protected EAP (PEAP): Microsoft-defined EAP method that encapsulates EAP within a TLS tunnel. The TLS tunnel secures the inner EAP method, which could be unprotected otherwise. Windows supports EAP-TLS and EAP-MSCHAP v2 as inner methods.
EAP-Tunneled Transport Layer Security (EAP-TTLS): This is described by RFC 5281, encapsulates a TLS session that performs mutual authentication using another inner authentication mechanism. This inner method can be either an EAP protocol, such as EAP-MSCHAP v2, or a non-EAP protocol, such as Password Authentication Protocol (PAP). In Windows Server 2012, the inclusion of EAP-TTLS only provides support on the client-side (in Windows 8). NPS doesn't support EAP-TTLS at this time. The client support enables interoperation with commonly deployed RADIUS servers that support EAP-TTLS.
EAP-Subscriber Identity Module (EAP-SIM), EAP-Authentication and Key Agreement (EAP-AKA), and EAP-AKA Prime (EAP-AKA'): This is described by various RFCs, enables authentication by using SIM cards, and is implemented when a customer purchases a wireless broadband service plan from a mobile network operator. As part of the plan, the customer commonly receives a wireless profile that is preconfigured for SIM authentication.
Tunnel EAP (TEAP): This is described by RFC 7170, tunneled EAP method that establishes a secure TLS tunnel and executes other EAP methods inside that tunnel. Supports EAP chaining - authenticating the machine and user within one authentication session. In Windows Server 2022, the inclusion of TEAP only provides support for the client-side - Windows 10, version 2004 (build 19041). NPS doesn't support TEAP at this time. The client support enables interoperation with commonly deployed RADIUS servers that support TEAP. Windows supports EAP-TLS and EAP-MSCHAP v2 as inner methods.
The following table lists some common EAP methods and their IANA assigned method Type numbers.
| EAP method | IANA assignedTypenumber | Native Windows support |
| --- | --- | --- |
| MD5-Challenge (EAP-MD5) | 4 | ❌ |
| One-Time Password (EAP-OTP) | 5 | ❌ |
| Generic Token Card (EAP-GTC) | 6 | ❌ |
| EAP-TLS | 13 | ✅ |
| EAP-SIM | 18 | ✅ |
| EAP-TTLS | 21 | ✅ |
| EAP-AKA | 23 | ✅ |
| PEAP | 25 | ✅ |
| EAP-MSCHAP v2 | 26 | ✅ |
| Protected One-Time Password (EAP-POTP) | 32 | ❌ |
| EAP-FAST | 43 | ❌ |
| Pre-Shared Key (EAP-PSK) | 47 | ❌ |
| EAP-IKEv2 | 49 | ❌ |
| EAP-AKA' | 50 | ✅ |
| EAP-EKE | 53 | ❌ |
| TEAP | 55 | ✅ |
| EAP-NOOB | 56 | ❌ |
Configuring EAP properties
You can access the EAP properties for 802.1X authenticated wired and wireless access in the following ways:
-
Configuring the Wired Network (IEEE 802.3) Policies and Wireless Network (IEEE 802.11) Policies extensions in Group Policy.
-
Computer Configuration > Policies > Windows Settings > Security Settings
-
Using Mobile Device Management (MDM) software, such as Intune (Wi-Fi/Wired)
-
Manually configuring wired or wireless connections on client computers.
You can access the EAP properties for virtual private network (VPN) connections in the following ways:
-
Using Mobile Device Management (MDM) software, such as Intune
-
Manually configuring VPN connections on client computers.
-
Using Connection Manager Administration Kit (CMAK) to configure VPN connections.
For more information on configuring EAP properties, see Configure EAP profiles and settings in Windows.
XML profiles for EAP
The profiles used for different connections types are XML files that contain the configuration options for that connection. Each different connection type follows a specific schema:
However, when configured to use EAP, each profile schema has a child element EapHostConfig element.
-
Wired/Wireless:
EapHostConfigis a child element of the EAPConfig element. MSM > security (Wired/Wireless) >OneX> EAPConfig -
VPN:
EapHostConfigis a child element of NativeProfile > Authentication > Eap > Configuration
This configuration syntax is defined in the Group Policy: Wireless/Wired Protocol Extension specification.
Note
The various configuration GUIs don't always show every technically possible option. For example, Windows Server 2019 and earlier are unable to configure TEAP in UI. However, it's often possible to import an existing XML profile that has previously been configured.
The remainder of the article is intended to provide a mapping between the EAP specific portions of the Group Policy/Control Panel UI and the XML configuration options, and providing a description of the setting.
More information about configuring XML profiles can be found in XML Profiles. An example of using an XML profile containing EAP settings can be found in Provision a Wi-Fi profile via a website.
Security settings
The following table explains the configurable security settings for a profile that uses 802.1X. These settings map to OneX.
| Setting | XML element | Description |
| --- | --- | --- |
| Select a network authentication method: | EAPConfig | Allows you to select the EAP method to use for authentication. See Authentication method configuration settings and Cellular authentication configuration settings |
| Properties | | Opens the properties dialog for the selected EAP method. |
| Authentication Mode | authMode | Specifies the type of credentials used for authentication. The following values are supported: 1. User or computer authentication2. Computer authentication3. User authentication4. Guest authentication"Computer", in this context, means "Machine" in other references. machineOrUser is the default in Windows. |
| Max Authentication Failures | maxAuthFailures | Specifies the maximum number of authentication failures allowed for a set of credentials, defaulting to 1. |
| Cache user information for subsequent connections to this network | cacheUserData | Specifies whether the user's credentials should be cached for subsequent connections to the same network, defaulting to true. |
Advanced security settings > IEEE 802.1X
If Enforce advanced 802.1X settings is checked, all of the following settings are configured. If it's unchecked, default settings apply. In XML, all elements are optional, with the default values used if they aren't present.
| Setting | XML element | Description |
| --- | --- | --- |
| Max Eapol-Start Msgs | maxStart | Specifies the maximum number of EAPOL-Start messages that can be sent to the authenticator (RADIUS server) before the supplicant (Windows client) assumes there's no authenticator present, defaulting to 3. |
| Start Period (seconds) | startPeriod | Specifies the time period (in seconds) to wait before an EAPOL-Start message is sent to start the 802.1X authentication process, defaulting to 5. |
| Held Period (seconds) | heldPeriod | Specifies the time period (in seconds) to wait after a failed authentication attempt to reattempt authentication, defaulting to 1. |
| Auth Period (seconds) | authPeriod | Specifies the time period (in seconds) to wait for a response from the authenticator (RADIUS server) before assuming there's no authenticator present, defaulting to 18. |
| Eapol-Start Message | supplicantMode | Specifies the method of transmission used for EAPOL-Start messages. The following values are supported: 1. Don't transmit (inhibitTransmission)2. Transmit (includeLearning)3. Transmit per IEEE 802.1X (compliant)"Computer", in this context, means "Machine" in other references. compliant is the default in Windows, and is the only valid option for wireless profiles. |
Advanced security settings > Single Sign On
The following table explains the settings for Single Sign On (SSO), formerly known as Pre-Logon Access Provider (PLAP).
| Setting | XML element | Description |
| --- | --- | --- |
| Enable Single Sign On for this network | singleSignOn | Specifies whether SSO is enabled for this network, defaulting to false. Don't use singleSignOn in a profile if the network doesn't require it. |
| Perform immediately before UserPerform immediately after User | type | Specifies when SSO should be performed - either before or after the user logs on. |
| Max delay for connectivity(seconds) | maxDelay | Specifies the maximum delay (in seconds) before the SSO attempt fails, defaulting to 10. |
| Allow additional dialogs to be displayed during Single Sign On | allowAdditionalDialogs | Specified whether to allow EAP dialogs to be displayed during SSO, defaulting to false. |
| This network uses different VLAN for authentication with machine and user credentials | userBasedVirtualLan | Specifies whether the virtual LAN (VLAN) used by the device changes based on the user's credentials, defaulting to false. |
Authentication method configuration settings
Caution
If a Network Access Server is configured to allow the same type of authentication method for a tunneled EAP method (such as PEAP) and a non-tunneled EAP method (such as EAP-MSCHAP v2), there's a potential security vulnerability. When you deploy both a tunneled EAP method and EAP (which isn't protected), don't use the same authentication type. For example, if you deploy PEAP-TLS, don't also deploy EAP-TLS because if you require the protection of the tunnel, it serves no purpose to permit the method to be executed outside of the tunnel as well.
The following table explains the configurable settings for each authentication method.
EAP-TLS
The EAP-TLS settings in the UI map to EapTlsConnectionPropertiesV1, which is extended by EapTlsConnectionPropertiesV2 and EapTlsConnectionPropertiesV3.
| Setting | XML element | Description |
| --- | --- | --- |
| Use my smart card | CredentialsSource>SmartCard | Specifies that clients making authentication requests must present a smart card certificate for network authentication. |
| Use a certificate on this computer | CredentialsSource>CertificateStore | Specifies that authenticating clients must use a certificate located in the Current User or Local Computer certificate stores. |
| Use simple certificate selection (Recommended) | SimpleCertSelection | Specifies whether Windows will automatically select a certificate for authentication without user interaction (if possible) or if Windows shows a dropdown for the user to select a certificate. |
| Advanced | | Opens the Configure Certificate Selection dialog box. |
| Server validation options | | |
| Use a different user name for the connection | DifferentUsername | Specifies whether to use a user name for authentication that is different from the user name in the certificate. |
