16 KiB
title, description, keywords, ms.prod, ms.mktglfcycl, ms.sitesec, ms.pagetype, audience, author, ms.author, manager, ms.collection, ms.topic, localizationpriority, ms.date, ms.reviewer
title | description | keywords | ms.prod | ms.mktglfcycl | ms.sitesec | ms.pagetype | audience | author | ms.author | manager | ms.collection | ms.topic | localizationpriority | ms.date | ms.reviewer |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Pin Reset | Learn how Microsoft PIN reset services enables you to help users recover who have forgotten their PIN. | identity, PIN, Hello, passport, WHFB, hybrid, cert-trust, device, reset | w10 | deploy | library | security, mobile | ITPro | mapalko | mapalko | dansimp | M365-identity-device-management | article | medium | 5/3/2021 |
PIN reset
Applies to:
- Windows 10, version 1709 or later
Windows Hello for Business provides the capability for users to reset forgotten PINs using the "I forgot my PIN link" from the Sign-in options page in Settings or from above the lock screen. User's are required to authenticate and complete multi-factor authentication to reset their PIN.
There are two forms of PIN reset called destructive and non-destructive. Destructive PIN reset is the default and does not require configuration. During a destructive PIN reset, the user's existing PIN and underlying credentials, including any keys or certificates added to their Windows Hello container, will be deleted from the client and a new logon key and PIN are provisioned. For non-destructive PIN reset, you must deploy the Microsoft PIN reset service and client policy to enable the PIN recovery feature. During a non-destructive PIN reset, the user's Windows Hello for Business container and keys are preserved, but the user's PIN that they use to authorize key usage is changed.
Using PIN Reset
Requirements
- Reset from settings - Windows 10, version 1703
- Reset above Lock - Windows 10, version 1709
Destructive and non-destructive PIN reset use the same entry points for initiating a PIN reset. If a user has forgotten their PIN, but has an alternate logon method, they can navigate to Sign-in options in Settings and initiate a PIN reset from the PIN options. If they do not have an alternate way to sign into their device, PIN reset can also be initiated from above the lock screen in the PIN credential provider.
Important
For hybrid Azure AD joined devices, users must have corporate network connectivity to domain controllers to reset their PIN. If AD FS is being used for certificate trust or for on-premises only deployments, users must also have corporate network connectivity to federation services to reset their PIN.
Reset PIN from Settings
- Sign-in to Windows 10, version 1703 or later using an alternate credential.
- Open Settings, click Accounts, click Sign-in options.
- Under PIN, click I forgot my PIN and follow the instructions.
Reset PIN above the Lock Screen
For Azure AD joined devices:
- If the PIN credential provider is not selected, expand the Sign-in options link, and select the PIN pad icon.
- Click I forgot my PIN from the PIN credential provider
- Select an authentication option from the list of presented options. This list will be based on the different authentication methods enabled in your tenant (i.e. Password, PIN, Security key)
- Follow the instructions provided by the provisioning process
- When finished, unlock your desktop using your newly created PIN.
For Hybrid Azure AD joined devices:
- If the PIN credential provider is not selected, expand the Sign-in options link, and select the PIN pad icon.
- Click I forgot my PIN from the PIN credential provider
- Enter your password and press enter.
- Follow the instructions provided by the provisioning process
- When finished, unlock your desktop using your newly created PIN.
Note
Key trust on hybrid Azure AD joined devices does not support destructive PIN reset from above the Lock Screen. This is due to the sync delay between when a user provisions their Windows Hello for Business credential and being able to use it for sign-in. For this deployment model, you must deploy non-destructive PIN reset for above lock PIN reset to work.
You may find that PIN reset from settings only works post login, and that the "lock screen" PIN reset function will not work if you have any matching limitation of SSPR password reset from the lock screen. For more information, see Enable Azure Active Directory self-service password reset at the Windows sign-in screen - General .
Visit the Windows Hello for Business Videos page and watch Windows Hello for Business forgotten PIN user experience.
Non-Destructive PIN reset
Requirements:
- Azure Active Directory
- Hybrid Windows Hello for Business deployment
- Azure AD registered, Azure AD joined, and Hybrid Azure AD joined
- Windows 10, version 1709 to 1809, Enterprise Edition. There is no licensing requirement for this feature since version 1903.
When non-destructive PIN reset is enabled on a client, a 256-bit AES key is generated locally and added to a user's Windows Hello for Business container and keys as the PIN reset protector. This PIN reset protector is encrypted using a public key retrieved from the Microsoft PIN reset service and then stored on the client for later use during PIN reset. After a user initiates a PIN reset, completes authentication to Azure, and completes multi-factor authentication, the encrypted PIN reset protector is sent to the Microsoft PIN reset service, decrypted, and returned to the client. The decrypted PIN reset protector is used to change the PIN used to authorize Windows Hello for Business keys and it is then cleared from memory.
Using Group Policy, Microsoft Intune or a compatible MDM, you can configure Windows 10 devices to securely use the Microsoft PIN reset service that enables users to reset their forgotten PIN through settings or above the lock screen without requiring re-enrollment.
Important
The Microsoft PIN Reset service only works with Enterprise Edition for Windows 10, version 1709 to 1809. The feature works with Enterprise Edition and Pro edition with Windows 10, version 1903 and newer. The Microsoft PIN Reset service is not currently available in Azure Government.
Onboarding the Microsoft PIN reset service to your Intune tenant
Before you can remotely reset PINs, you must on-board the Microsoft PIN reset service to your Azure Active Directory tenant, and configure devices you manage.
Connect Azure Active Directory with the PIN reset service
-
Go to the Microsoft PIN Reset Service Production website, and sign in using the Global administrator account you use to manage your Azure Active Directory tenant.
-
After you have logged in, choose Accept to give consent for the PIN reset service to access your account.
-
Go to the Microsoft PIN Reset Client Production website, and sign in using the Global administrator account you use to manage your Azure Active Directory tenant.
-
After you have logged in, choose Accept to give consent for the PIN reset client to access your account.
Note
After you have accepted the PIN reset service and client requests, you will land on a page that states "You do not have permission to view this directory or page." This behavior is expected. Be sure to confirm that the two PIN reset applications are listed for your tenant.
-
In the Azure portal, verify that the Microsoft PIN Reset Service and Microsoft PIN Reset Client are integrated from the Enterprise applications blade. Filter to application status "Enabled" and both Microsoft Pin Reset Service Production and Microsoft Pin Reset Client Production will show up in your tenant.
Configure Windows devices to use PIN reset using Group Policy
You configure Windows 10 to use the Microsoft PIN Reset service using the computer configuration portion of a Group Policy object.
- Using the Group Policy Management Console (GPMC), scope a domain-based Group Policy to computer accounts in Active Directory.
- Edit the Group Policy object from Step 1.
- Enable the Use PIN Recovery policy setting located under Computer Configuration > Administrative Templates > Windows Components > Windows Hello for Business.
- Close the Group Policy Management Editor to save the Group Policy object. Close the GPMC.
Create a PIN Reset Device configuration profile using Microsoft Intune
- Sign-in to Endpoint Manager admin center using a Global administrator account.
- Click Endpoint Security > Account Protection > Properties.
- Set Enable PIN recovery to Yes.
Note
You can also setup PIN recovery using configuration profiles.
- Sign in to Endpoint Manager.
- Click Devices > Configuration Profiles > Create a new profile or edit an existing profile using the Identity Protection profile type.
- Set Enable PIN recovery to Yes.
Assign the PIN Reset Device configuration profile using Microsoft Intune
- Sign in to the Azure portal using a Global administrator account.
- Navigate to the Microsoft Intune blade. Choose Device configuration > Profiles. From the list of device configuration profiles, choose the profile that contains the PIN reset configuration.
- In the device configuration profile, select Assignments.
- Use the Include and/or Exclude tabs to target the device configuration profile to select groups.
Confirm that PIN recovery policy is enforced on the client
The PIN reset configuration for a user can be viewed by running dsregcmd /status from the command line. This state can be found under the output in the user state section as the CanReset line item. If CanReset reports as DestructiveOnly, then only destructive PIN reset is enabled. If CanReset reports DestructiveAndNonDestructive, then non-destructive PIN reset is enabled.
Sample User state Output for Destructive PIN Reset
+----------------------------------------------------------------------+
| User State |
+----------------------------------------------------------------------+
NgcSet : YES
NgcKeyId : {FA0DB076-A5D7-4844-82D8-50A2FB42EC7B}
CanReset : DestructiveOnly
WorkplaceJoined : NO
WamDefaultSet : YES
WamDefaultAuthority : organizations
WamDefaultId : https://login.microsoft.com
WamDefaultGUID : { B16898C6-A148-4967-9171-64D755DA8520 } (AzureAd)
+----------------------------------------------------------------------+
Sample User state Output for Non-Destructive PIN Reset
+----------------------------------------------------------------------+
| User State |
+----------------------------------------------------------------------+
NgcSet : YES
NgcKeyId : {FA0DB076-A5D7-4844-82D8-50A2FB42EC7B}
CanReset : DestructiveAndNonDestructive
WorkplaceJoined : NO
WamDefaultSet : YES
WamDefaultAuthority : organizations
WamDefaultId : https://login.microsoft.com
WamDefaultGUID : { B16898C6-A148-4967-9171-64D755DA8520 } (AzureAd)
+----------------------------------------------------------------------+
Configure Web Sign-in Allowed URLs for Third Party Identity Providers on Azure AD Joined Devices
Applies to:
- Windows 10, version 1803 or later
- Azure AD joined
The ConfigureWebSignInAllowedUrls policy allows you to specify a list of domains that are allowed to be navigated to during PIN reset flows on Azure AD joined devices. If you have a federated environment and authentication is handled using AD FS or a third-party identity provider, this policy should be set to ensure that authentication pages from that identity provider can be used during Azure AD joined PIN reset.
Configuring Policy Using Intune
-
Sign-in to Endpoint Manager admin center using a Global administrator account.
-
Click Devices. Click Configuration profiles. Click Create profile.
-
For Platform select Windows 10 and later and for Profile type select Templates. In the list of templates that is loaded, select Custom and click Create.
-
In the Name field type Web Sign In Allowed URLs and optionally provide a description for the configuration. Click Next.
-
On the Configuration settings page, click Add to add a custom OMA-URI setting. Provide the following information for the custom settings
- Name: Web Sign In Allowed URLs
- Description: (Optional) List of domains that are allowed during PIN reset flows.
- OMA-URI: ./Vendor/MSFT/Policy/Config/Authentication/ConfigureWebSignInAllowedUrls
- Data type: String
- Value: Provide a semicolon delimited list of domains needed for authentication during the PIN reset scenario. An example value would be "signin.contoso.com;portal.contoso.com"
-
Click the Save button to save the custom configuration.
-
On the Assignments page, use the Included groups and Excluded groups sections to define the groups of users or devices that should receive this policy. Once you have completed configuring groups click the Next button.
-
On the Applicability rules page, click Next.
-
Review the configuration that is shown on the Review + create page to make sure that it is accurate. Click create to save the profile and apply it to the configured groups.
Note
For Azure Government, there is a known issue with PIN reset on Azure AD Joined devices failing. When the user attempts to launch PIN reset, the PIN reset UI shows an error page that says, "We can't open that page right now." The ConfigureWebSignInAllowedUrls policy can be used to work around this issue. If you are experiencing this problem and you are using Azure US Government cloud, set login.microsoftonline.us as the value for the ConfigureWebSignInAllowedUrls policy.
Related topics
- Windows Hello for Business
- Manage Windows Hello for Business in your organization
- Why a PIN is better than a password
- Prepare people to use Windows Hello
- Windows Hello and password changes
- Windows Hello errors during PIN creation
- Event ID 300 - Windows Hello successfully created
- Windows Hello biometrics in the enterprise