Windows 11 keeps asking for a1b2c3 – how to fix
In this article
Yes, you can stop the “a1b2c3” prompt by clearing the faulty credential and adjusting the related policy, then confirming the fix with a quick reboot.
What You’ll Need
- Administrator access on the Windows 11 PC
- Internet connection (optional, for Windows updates)
- Basic familiarity with Settings, Control Panel, and Command Prompt
Step-by-Step
- Open the Start menu, type
Credential Manager, and select the Control Panel result. (If the label differs slightly, look for “Credential Manager” under “Windows Tools”.) - In Credential Manager, click the Windows Credentials tab. Locate any entry that contains the string
a1b2c3or that refers to the network resource that triggers the prompt. - Select the offending entry and choose Remove. Confirm the deletion when prompted.
- Next, open Settings (Win + I) → Accounts → Sign‑in options. Scroll to the “Password” section and make sure “Require Windows Hello sign‑in for Microsoft accounts” is set to your preference; disabling it temporarily can help isolate the issue.
- Open the Group Policy editor (type
gpedit.mscin the Run dialog). Navigate to Computer Configuration → Administrative Templates → System → Credentials Delegation. Ensure the policy “Allow delegating saved credentials with NTLM-only server authentication” is either not configured or includes the correct server name. If you see a reference toa1b2c3, delete it. - Run a quick Windows update to make sure any bug‑fix patches are applied: Settings → Windows Update → Check for updates. Install any pending updates and let the PC restart.
- After reboot, test the scenario that previously triggered the prompt. If the message no longer appears, the issue is resolved.
- If the prompt persists, open Command Prompt as administrator and run
net use * /delete /yto clear any lingering mapped network connections that might be forcing the credential request. - Finally, re‑map the network share (if needed) using the correct credentials:
net use Z: \\server\share /user:domain\username. ReplaceZ:,server\share, and the user details with your actual values.
Common Mistakes
- Deleting the wrong credential entry – always double‑check the name and description before removing it.
- Changing Group Policy settings on a domain‑joined PC without consulting your IT admin – this can override local changes.
- Skipping the
net use * /deletestep – lingering connections often keep the old credential alive. - Forgetting to restart after updates – some fixes only take effect after a reboot.
Tips
- Use the
cmdkey /listcommand to list stored credentials if you’re unsure which entry is causing the prompt. - When re‑mapping a share, add the
/persistent:noflag if you only need a temporary connection; this prevents Windows from storing the credential automatically. - If you frequently access the same network resource, consider creating a dedicated local account for that share to keep credentials isolated.
- Keep Windows Update set to automatic so future patches address similar credential bugs before they affect you.
Troubleshooting
If the steps above do not stop the “a1b2c3” prompt, follow this escalation path:
- Safe Mode test: Restart the PC, hold Shift and select Troubleshoot → Advanced options → Startup Settings → Restart. Choose option 4 (Enable Safe Mode). If the prompt disappears in Safe Mode, a third‑party service is likely interfering.
- Clean‑boot isolation: Press Win + R, type
msconfig, go to the Services tab, check “Hide all Microsoft services,” then click Disable all. Restart and test again. Re‑enable services gradually to pinpoint the culprit. - Check Event Viewer: Open Event Viewer (type
eventvwr), expand Windows Logs → Security, and look for failed logon events around the time the prompt appears. The event details often show the exact resource name. - Reset Credential Manager store: Open Command Prompt as admin and run
rundll32.exe keymgr.dll,KRShowKeyMgr. This opens the old “Stored User Names and Passwords” dialog; remove any entries that reference the problematic server. - Repair system files: Run
sfc /scannowand thenDISM /Online /Cleanup-Image /RestoreHealth. Corrupted system files can cause credential caching glitches. - Contact IT or vendor support: If the PC is part of a corporate domain, the credential prompt may be enforced by a domain policy you cannot override locally.
Frequently Asked Questions
Why does Windows 11 suddenly start asking for a1b2c3?
The prompt usually appears after a credential entry becomes corrupted or after a policy change forces Windows to re‑authenticate to a network share.
Will removing the credential delete my files?
No. Deleting a stored credential only removes the saved password; it does not affect any files on the network share.
Do I need to reinstall Windows to fix this?
Reinstalling is unnecessary. The issue is resolved by clearing the bad credential and correcting the related policy.
Can I prevent future prompts for similar codes?
Yes. Keep Windows updated, regularly review Credential Manager entries, and use consistent, strong passwords for network resources.
Is the “a1b2c3” code a virus or malware indicator?
No. It is simply a placeholder string that appears when Windows cannot locate a valid saved credential for a particular resource.
What if I’m on a work laptop and cannot change Group Policy?
Contact your IT department; they can adjust the domain‑level policy or provide a proper credential that stops the prompt.