Skip to content
Tech Master Tech Master

OneStopTechnical Forum

  • Books
  • AI
  • Networking
  • Windows
  • Linux
  • Cloud
  • Mac
  • Active Directory
  • Azure
  • Cloud
  • Exchange
  • M365
  • Server 2025
  • Storage
  • Vsphere
  • Website
  • Database
  • Security
  • Knowledge Base
  • VPN
Tech Master
Tech Master

OneStopTechnical Forum

Outlook keeps popping up asking for a password and not accepting it (Part-2)

blog.payperitem.com, April 9, 2025April 9, 2025

Let’s go deeper. I’ll break this down into root cause areas with advanced diagnostics and fixes tailored for Outlook password prompt loops.


🧠 DEEP DIVE: Outlook Keeps Asking for Password – Advanced Fixes


🧱 1. Autodiscover + Authentication Flow Breakdown

Outlook uses Autodiscover to locate and configure the mailbox. Any misstep here = auth failure.

✅ Diagnostic Steps:

  • Run this in Command Prompt: bashCopyEditoutlook.exe /autodiscover /cleanserverrules
  • Or use Microsoft Remote Connectivity Analyzer: https://testconnectivity.microsoft.com/

🛠️ Fixes:

  • Corrupt autodiscover entries:
    • Check: bashCopyEditregedit → HKEY_CURRENT_USER\Software\Microsoft\Office\<XX>\Outlook\AutoDiscover
    • Clear these:
      • ExcludeScpLookup, ExcludeHttpsRootDomain, ExcludeSrvRecord, etc.
      • Set them all to 0 to re-enable defaults unless explicitly set by org.
  • Flush DNS + restart networking: bashCopyEditipconfig /flushdns netsh int ip reset

🔐 2. Modern Auth / OAuth Conflicts (Office 365, Gmail, etc.)

💡 Symptoms:

  • Password loop but works in browser
  • App password works but regular one doesn’t
  • MFA enabled

✅ Fixes:

Office 365:
  • Ensure Modern Authentication is enabled:
    • Run PowerShell (with ExchangeOnlineManagement module): powershellCopyEditConnect-ExchangeOnline Get-OrganizationConfig | FL OAuth* You want OAuth2ClientProfileEnabled : True
  • Check registry: bashCopyEditregedit → HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity Add or set: iniCopyEditEnableADAL = 1 (DWORD) And: pgsqlCopyEditHKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity\EnableADAL = 1 HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity\Version = 1
Gmail IMAP:
  • You must use an App Password if 2FA is enabled.
  • Google blocks insecure apps unless specifically allowed.

📦 3. Credential Manager Corruption / SSO Conflict

Even after clearing credential manager, tokens can persist or loop.

✅ Kill all tokens:

  • Delete from:
    • Credential Manager
    • %LOCALAPPDATA%\Microsoft\IdentityCache
    • %LOCALAPPDATA%\Microsoft\Outlook\RoamCache
  • Kill AAD tokens: powershellCopyEditdsregcmd /leave
  • Rejoin AAD (if corporate): powershellCopyEditdsregcmd /join

💼 4. Hybrid/AADJ Issues (Work Devices)

On corporate-managed devices, you may get mismatches between:

  • Device not properly joined to Azure AD
  • Conditional Access Policies failing silently

✅ Fix:

  • Run: powershellCopyEditdsregcmd /status
  • Look for:
    • AzureAdJoined: YES
    • DeviceId present
    • SSO State: YES

If not, fix the AAD join. May need re-registering the device:

bashCopyEditSettings → Accounts → Access work or school → Disconnect and reconnect

🧪 5. Test Profile With Clean Flags

Create a new Outlook profile with full logging:

bashCopyEditoutlook.exe /profiles /logonprofile "<ProfileName>" /rpcdiag

You can also enable Outlook logging:

  • File → Options → Advanced → Enable troubleshooting logging (under “Other”)

📊 6. Use SaRA with Full Traces

Use Microsoft’s Support and Recovery Assistant (SaRA):

  • Choose “Outlook keeps prompting for password”
  • Run trace diagnostics
  • Download: https://aka.ms/SaRA-OutlookPwd

🚫 7. Third-Party Interference

Common offenders:

  • Antivirus scanning Outlook data files
  • VPNs affecting port 443 or redirecting auth URLs
  • Proxy settings breaking Modern Auth

✅ Fix:

  • Temporarily disable AV/firewall
  • Try Outlook without VPN
  • Run: bashCopyEditinetcpl.cpl → Connections → LAN Settings Ensure no unexpected proxy.

Cloud Exchange M365 Networking Windows

Post navigation

Previous post
Next post

Related Posts

Microsoft brings new group policy for optional updates in Windows 11

March 8, 2025April 2, 2025

Now that Windows 11 only receives one feature update per year, Microsoft is delivering many new features via optional non-security updates or CUs in the second week of each month. A new group policy causes the automatic installation of optional updates, either with or without new features. By default, new…

Read More

Recovering Group Memberships After AD Restore

April 3, 2025April 3, 2025

When restoring users or groups in Active Directory, their memberships might not be restored automatically, especially if an authoritative restore was used. Here’s how to recover group memberships for restored users or groups. Step 1: Check If Memberships Were Retained Before proceeding with recovery, check if group memberships are intact….

Read More

Layer 2 (L2) Switches and Layer 3 (L3) Switches, broken down by architecture

April 8, 2025

🔧 Technical Overview Feature/Aspect Layer 2 Switch Layer 3 Switch OSI Layer Layer 2 (Data Link) Layer 3 (Network) Main Function Switching (MAC-based forwarding) Routing + Switching (IP-based forwarding) Addressing Uses MAC addresses Uses IP addresses Switching Method Ethernet frame forwarding IP packet routing and Ethernet switching Table Used MAC…

Read More

Recent Posts

  • List of AD Schema Versions
  • OldNewExplorer Free Download For Windows 11, 10, 8 and 7 [Latest Version]
  • How to Get the Classic (old) Context Menu on Windows 11
  • BitLocker Recovery Keys
  • Active Directory and Server hardening

Recent Comments

No comments to show.
June 2025
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« May    
Log in
©2025 Tech Master | WordPress Theme by SuperbThemes
  • Login
  • Sign Up
Forgot Password?
Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.
body::-webkit-scrollbar { width: 7px; } body::-webkit-scrollbar-track { border-radius: 10px; background: #f0f0f0; } body::-webkit-scrollbar-thumb { border-radius: 50px; background: #dfdbdb }