HomeNewsletterCommunityMVP FeedToolsArchiveBlogToday's NewsAboutServicesQuick Links Subscribe free
← Back to Blog
Windows Hello for Business WHfBPIN ResetMicrosoft PIN Reset ServiceIntunedsregcmdHybrid Identity

Windows Hello PIN Reset Done Right: Destructive vs Non-Destructive (and the Free Service Nobody Enables)

IA
Imran Awan
31 July 2026

"I forgot my PIN" sounds trivial until you realise what the default reset actually does: it throws the credential away and re-enrols from scratch. On a Microsoft Entra hybrid joined device using key trust, that re-enrolment can leave the user unable to sign in above the lock screen until Entra Connect syncs the new key - which is exactly when they need to sign in. There is a better way, it is free, and almost nobody turns it on. This post covers destructive vs non-destructive PIN reset, how to deploy the Microsoft PIN Reset Service, and how to prove which mode a device is in.

The problem: the default PIN reset is destructive

Windows Hello for Business (WHfB) has two kinds of PIN reset, and the default is the blunt one:

The destructive default is fine on a Microsoft Entra joined device. It is a genuine problem on a hybrid joined, key-trust device: because the freshly provisioned key has to sync from Entra ID down to Active Directory before it can be used on-premises, destructive reset from the lock screen is not supported there. The user resets their PIN, then cannot get to their desktop. Non-destructive reset sidesteps the whole issue because no new key is created.

Note: Non-destructive PIN reset has no licensing requirement and works on Windows Enterprise, Education and Pro. It is available for hybrid and cloud-only WHfB deployments. There is genuinely no reason most tenants have not enabled it except that the default hides the problem until a user is stuck.

Why it happens: how non-destructive reset actually works

When you enable it, the client generates a 256-bit AES key locally and adds it to the user's Hello container as the PIN reset protector. That protector is encrypted with a public key retrieved from the Microsoft PIN Reset Service and stored on the device. When the user resets their PIN, they authenticate and complete multifactor authentication (MFA) to Microsoft Entra ID; the encrypted protector is sent to the service, decrypted, and returned; the client uses it to re-authorise the existing keys under a new PIN, then wipes the decrypted protector from memory. The keys never change - so there is nothing to re-sync.

How to verify: dsregcmd tells you the mode

This is the field nobody knows about. Run dsregcmd /status and look in the User State block for CanReset. It reports exactly which reset modes the device supports:

Command Prompt
C:\> dsregcmd /status +----------------------------------------------------------------------+ | User State | +----------------------------------------------------------------------+ NgcSet : YES NgcKeyId : {FA0DB076-A5D7-4844-82D8-50A2FB42EC7B} CanReset : DestructiveAndNonDestructive # non-destructive is ON

Read it like this: CanReset : DestructiveOnly means the policy has not applied and users still get the blunt re-enrolment. CanReset : DestructiveAndNonDestructive means the PIN Reset Service and client policy are both in place and non-destructive reset is live.

Watch out: On Microsoft Entra joined devices, the lock-screen reset uses a flow called web sign-in, which only navigates to allow-listed domains. In a federated environment (AD FS or a non-Microsoft identity provider) you must allow-list your sign-in domains, or reset fails with "We can't open that page right now." Set the Configure Web Sign In Allowed Urls setting (Authentication CSP: ConfigureWebSignInAllowedUrls) to a semicolon-delimited list such as signin.contoso.com;portal.contoso.com.

The fix, part 1: register the two service applications

Non-destructive reset depends on the Microsoft PIN Reset Service, which is two Microsoft Entra enterprise applications you consent to once per tenant. Sign in as at least an Application Administrator and grant admin consent to each:

Gotcha: After you accept consent, the redirect lands on a blank page. That is documented, expected behaviour - not a failure. Do not re-run consent thinking it broke.

Then confirm both service principals actually landed in your tenant:

entra.microsoft.comMicrosoft Entra IDApplicationsEnterprise applicationssearch "Microsoft PIN"

You should see both Microsoft Pin Reset Service Production and Microsoft Pin Reset Client Production listed.

The fix, part 2: enable PIN recovery on the clients

Intune (Settings Catalog)

Intune Admin Center — Settings catalog › Windows Hello For Business
Enable Pin RecoveryTrue

You can also reach it via Endpoint security › Account protection › Create Policy. Prefer raw CSP? Use a custom policy (replace TenantId with your directory GUID):

Intune — Custom OMA-URI
./Vendor/MSFT/Policy/PassportForWork/{TenantId}/Policies/EnablePinRecovery Boolean = True

Group Policy

Group policy pathSettingValue
Computer Configuration \ Administrative Templates \ Windows Components \ Windows Hello for BusinessUse PIN RecoveryEnabled

The user experience

Both modes start the same way. If the user can still get in with another method, they go to Settings › Accounts › Sign-in options › PIN (Windows Hello) › I forgot my PIN. If they are stuck at the lock screen, they pick the PIN credential provider and choose I forgot my PIN there. Either way they authenticate, complete MFA, and set a new PIN. With non-destructive reset enabled, that is all that happens - no re-provisioning, no waiting for a key to sync, no lockout on hybrid key-trust devices.

Tip: If you run hybrid key trust, treat non-destructive PIN reset as mandatory, not optional. It is the only PIN-reset mode that works reliably above the lock screen on those devices, and it is free. Enable the service, push EnablePinRecovery, then spot-check a device with dsregcmd /status and confirm CanReset : DestructiveAndNonDestructive before you close the ticket.

Proof it worked: the mode the user actually gets

You have deployed this correctly when dsregcmd /status reports CanReset : DestructiveAndNonDestructive on a target device, both PIN Reset Service applications appear under Enterprise applications, and a test user can choose I forgot my PIN, complete multifactor authentication, and set a new PIN without the credential being re-provisioned - no key re-sync, no lockout on hybrid key trust.

References

PowerShell Scripts — PIN Reset Readiness

Script for this post is in Daily-Tasks.

Get-PinResetReadiness.ps1 — read-only: reads dsregcmd CanReset and the EnablePinRecovery policy to report whether non-destructive PIN reset is live on the device
View all scripts on GitHub
Share this post
LinkedIn X / Twitter Reddit Bluesky

More from EndpointWeekly

Windows Hello for Business
Windows Hello for Business Cloud Kerberos Trust: The Complete…
Cloud Kerberos trust deploys Windows Hello for Business with no PKI and no AD FS. This…
Windows Hello for Business
dsregcmd /status Decoded: The Complete Field Reference for WHfB…
One command answers more WHfB questions than any portal - and its forty-plus fields come…
Windows Hello for Business
Windows Hello Signs In Fine but File Shares Prompt: Fixing…
The user signs in with their PIN and cloud apps work, but a file share throws a…