Error Code 0x8004ff6f Windows 10

Error Code 0x8004ff6f Windows 10

Error code 0x8004ff6f on Windows 10 usually points to a Microsoft account sign-in, OneDrive, or app-auth problem; check the password in a browser first, then verify your network path to Microsoft, then test the app again if the code persists. Leaving it unresolved can block sync, sign-in, and Microsoft services tied to that account. This guide walks you through a step-by-step decision tree to isolate whether the fault is your password, your connection, or the Microsoft app itself.

What error code 0x8004ff6f means

The code usually appears when Windows 10 cannot complete Microsoft account authentication or finish a cloud sign-in session. You may see it in OneDrive, a Microsoft app that needs account sync, or in a prompt that asks you to sign in again even after credentials were accepted.

Fastest first check: confirm the Microsoft account password works in a browser, then try the same account again inside the affected app. If browser sign-in works but the app still fails, the issue is often local: saved tokens, app cache, or network access to Microsoft authentication endpoints.

0x8004ff6f decision table

Symptom patternLikely root causeExact test to runNext fix
OneDrive refuses to sign in and shows the code againOneDrive sign-in session or cache failureOpen Task Manager, end OneDrive, then run %localappdata%\Microsoft\OneDrive\OneDrive.exe /resetOpen OneDrive again from the Start menu
Microsoft account prompt loops after password entrySaved credential token or account verification issueSign in at account.microsoft.com; if that works, open Control Panel > Credential Manager and inspect Microsoft entriesRemove stale credentials and sign in again
The error appears on an offline or spotty connectionNetwork reachability or endpoint access problemOpen Command Prompt and run ping login.microsoftonline.comFix Wi-Fi, DNS, proxy, or VPN settings
The code started after a password changeOld token still stored on the PCCheck whether the same account works in a browser, then remove the saved Windows credential for that accountRebuild the sign-in connection in the app
Date and time are wrong after rebootClock or region mismatchGo to Settings > Time & Language > Date & time and compare with your time zoneSet time automatically and sync now
It fails only on a work or hotel networkProxy or VPN interferenceTurn off the VPN, then check Settings > Network & Internet > ProxyDisable the proxy or add a bypass
Only one Microsoft app breaks while others workCorrupted app install or local app dataOpen Settings > Apps > Apps & features, select the app, then choose Advanced optionsRepair or reset the app
Every standard fix fails and the code returnsAccount recovery or deeper service issueTry the account recovery flow and collect the exact error time, device name, and app nameContact Microsoft support diagnostics

Likely causes, ranked

Most often, the failure sits in one of three places: the stored Microsoft account token, the network path to Microsoft sign-in services, or the app’s local data. Less commonly, the problem is a bad clock, a proxy or VPN, or a damaged app install. That order matters because it tells you what to test first.

Say your OneDrive works on a phone but fails on one Windows 10 laptop. That pattern points away from the account itself and toward the laptop’s saved credentials, time settings, or network path.

Fix Microsoft account sign-in

If the account cannot complete verification, Windows and OneDrive can keep looping on the same code. Start with the browser, then clear old sign-in data on the PC. This is the right branch when the password recently changed or the prompt keeps returning after a successful entry.

  1. Confirm the account works. Sign in with the same Microsoft account in a browser at account.microsoft.com. If the site asks for a security code or password reset, finish that first so the PC is not fighting an old session.
  2. Check sign-in options. Go to Settings > Accounts > Sign-in options and verify there is no lockout from a PIN or Windows Hello change. If the device asks for a verification step, complete it before retrying the app.
  3. Remove saved credentials. Open Control Panel > Credential Manager > Windows Credentials. Remove entries that mention MicrosoftAccount, OneDrive, or the affected app, then restart the app and sign in again.

Fix OneDrive and other Microsoft apps

When the browser sign-in works but OneDrive or another Microsoft app still fails, treat it as a local app-session problem. OneDrive is the most common example, but the same logic applies to other apps that use Microsoft account sync and cached tokens.

  1. Close the app fully. Open Task Manager, end OneDrive.exe or the affected app process, then wait a few seconds. That clears a stuck session without changing your account.
  2. Run a reset command. Press Windows key + R, paste %localappdata%\Microsoft\OneDrive\OneDrive.exe /reset, and press Enter. If OneDrive does not reopen on its own after about two minutes, open it from the Start menu.
  3. Repair or reset the app. Open Settings > Apps > Apps & features, select the app, then choose Advanced options. Try Repair first. If the code returns, use Reset to clear local app data and rebuild the sign-in session.
  4. Update the app. Open the Microsoft Store, check for updates, and install them. A stale build can fail against current Microsoft account sign-in behavior, especially on older Windows 10 installs.

Picture a user who can sign in to Microsoft in Edge but OneDrive still throws 0x8004ff6f after every restart. That usually means the account is fine and the local OneDrive session is not. Resetting the app and clearing saved credentials are better next moves than repeating password changes.

Can network settings trigger 0x8004ff6f?

Yes. Microsoft account authentication depends on working internet access, DNS resolution, and clean access to sign-in endpoints. A VPN, proxy, captive portal, or broken DNS can stop the app from reaching the service even when general web browsing still works.

  1. Test reachability. Open a browser and load a few unrelated sites, then try signing in again. If the browser is fine but the app is not, move to endpoint checks instead of guessing at the password.
  2. Check DNS and proxy. Open Settings > Network & Internet > Proxy and turn off any manual proxy you do not need. Then open Command Prompt and run ipconfig /flushdns to clear stale name resolution.
  3. Disable VPN software. Turn off any VPN client and try the sign-in again. Some VPNs block Microsoft authentication traffic or send it through a location that triggers extra verification.
  4. Verify date and region. Go to Settings > Time & Language > Date & time, turn on Set time automatically, and click Sync now. Then check Region in the same settings area so the device clock and locale match the account flow.

Why does the error keep coming back?

If the code returns after reboot, after a password change, or after one successful sign-in that later breaks, the most likely cause is a stale token or a network condition that has not been removed. That pattern is a clue that the app is rebuilding the same bad session every time.

  1. Clear cached account tokens. Open Control Panel > Credential Manager > Windows Credentials and remove Microsoft account and OneDrive entries again. Cached tokens can survive a reboot and keep reintroducing the same failure.
  2. Rebuild the account link. In the affected app, sign out, close it, then sign back in using the same Microsoft account. This creates a fresh session instead of reusing the broken one.
  3. Check for repeated triggers. If the problem returns only on one network, one user profile, or one device, focus there. That pattern often points to VPN software, a proxy, or a damaged local profile rather than the Microsoft account itself.

Still not working?

If the error survives credential cleanup, app repair, and network checks, move to Microsoft support diagnostics and account recovery. At that point the issue may be tied to the account, the device registration state, or a service-side verification step that Windows 10 cannot finish on its own.

  1. Collect the exact failure. Write down the app name, the time the error appears, and whether it happens on sign-in, sync, or both. Those details help support separate OneDrive cache issues from Microsoft account verification problems.
  2. Run support tools. Open the Microsoft support flow for sign-in troubleshooting and follow the recovery prompts for the account. Use the same email address that is failing in Windows 10.
  3. Try a second device. Sign in to the same Microsoft account on another Windows 10 or Windows 11 PC. If the same failure appears there too, the account path needs attention more than the local PC does.
  4. Escalate with context. If the problem is limited to one device, gather the Windows version, the affected app, and whether you already removed credentials and reset the app. That short list saves time with support.

Keep the system clock set to automatic and avoid leaving stale VPN or proxy settings enabled when you use Microsoft account sign-in or OneDrive.

Keep reading

Frequently asked questions

What does error code 0x8004ff6f mean in Windows 10?

It usually points to a Microsoft account sign-in or sync failure. Start by checking whether the account works in a browser, then remove saved credentials in Control Panel > Credential Manager, and finally reset the affected app if the same code returns.

How do I fix error code 0x8004ff6f when signing in?

Use the account in a browser first, confirm the password and any security verification prompt, then sign out of the app and sign in again. If that fails, remove the Microsoft-related entries in Credential Manager and retry from the app’s sign-in screen.

Is error 0x8004ff6f related to Microsoft account or OneDrive?

It can be either. If the failure appears across multiple Microsoft apps, the account or saved token is the better suspect. If it appears only in OneDrive, use the OneDrive reset command and then repair or reset the app in Settings > Apps > Apps & features.

Why does error code 0x8004ff6f keep coming back after reboot?

A reboot does not remove stale tokens or fix a blocked sign-in path. Clear the Microsoft credentials, confirm the clock is correct, and test without VPN or proxy software. If the same session keeps rebuilding, reset the affected app and sign in again.

How do I reset or repair the app causing error code 0x8004ff6f?

Open Settings > Apps > Apps & features, select the app, and choose Advanced options. Use Repair first. If the problem stays, use Reset. For OneDrive, you can also run %localappdata%\Microsoft\OneDrive\OneDrive.exe /reset from the Run box.

Can Windows Update or network settings trigger error code 0x8004ff6f?

Yes. A pending update or damaged network setting can interfere with Microsoft authentication. Install available Windows updates, then check Settings > Network & Internet > Proxy, clear DNS with ipconfig /flushdns, and try again with VPN turned off.

How do I fix error code 0x8004ff6f on Windows 11 too?

The same checks usually apply on Windows 11 because the Microsoft account flow is similar. Check the browser sign-in, clear credentials, verify date and time, and reset the affected app in Settings > Apps > Installed apps if the code appears there too.

What should I do if none of the standard fixes work?

Escalate with the exact error time, the app name, and the steps already tried. Use Microsoft account recovery if the browser sign-in fails too, or contact Microsoft support diagnostics if only one device breaks. Those details help separate account recovery from a local device repair.

Similar Posts