Enable Desktop MFA Factor Discovery for Windows

Enable Desktop MFA Factor Discovery so that the Windows sign-in screen shows users only the MFA factors that they have enrolled, instead of every factor allowed by your org policy.

About this task

Early Access release. See Enable self-service features.

Showing only enrolled factors prevents failed sign-in attempts that result from users selecting factors they haven't set up. When the feature is active, the Desktop MFA client requests the user's enrolled online factors from the server and presents only those factors at the Windows sign-in screen:

  • Existing users who have an enrolled online factor see only those factors, and the Skip option is removed. They must authenticate with an enrolled factor, even on a new device, so a stolen password alone doesn't provide access.
  • New users who don't have an enrolled online factor can still sign in during the grace period to set up MFA. The MaxLoginsWithoutEnrolledFactors policy controls the duration of the grace period.
  • When a user signs in for the first time, the device must be connected to the internet and registered with Okta.

Factor Discovery exposes which factors a user has enrolled, so you must exclude Desktop MFA clients from User Enumeration Prevention (UEP) when UEP is enabled. This exclusion allows trusted Desktop MFA clients to read enrolled factors, while UEP continues to protect all other clients from user-enumeration attacks.

Before you begin

  • Exclude Desktop MFA from User Enumeration Prevention.

    1. In the Admin Console, go to Security > General.
    2. In the User Enumeration Prevention section, select Edit.
    3. Select Authentication.
    4. In the Exclude the following clients field, add Desktop MFA.
    5. Select Save.
  • Set the client policy on your Windows devices.

    1. On the Windows device, or through your mobile device management (MDM) tool, open the registry key HKLM\Software\Policies\Okta\Okta Device Access.
    2. Set MFAEnrolledDiscovery (REG_DWORD) to 1.

      The default value is 0 (off).

  • Verify the configuration.

    1. Sign in as a user who has an enrolled online factor.

      Only that user's enrolled factors appear on the sign-in screen, and the Skip option isn't available.

    2. Sign in as a user who has no enrolled factors but is within the grace period defined by MaxLoginsWithoutEnrolledFactors.

      The user signs in and can set up an MFA factor. If the user is outside of the grace period, the sign-in attempt is blocked and the user is prompted to set up a factor.

    Tell your users what to expect at the Windows sign-in screen. See Desktop MFA user experience for Windows.