0X00000239

Fix Sync Required Error 0X00000239 Step by Step

This error appears when Windows can't sync your files or settings. I'll show you the fastest fixes first, then deeper ones if needed.

What is 0X00000239?

This error means Windows thinks a file or setting needs to sync but can't. You'll often see it when you open OneDrive, or when you try to change a setting that syncs between devices. It's common after a big Windows update, or when your internet connection dropped mid-sync and left things in a weird state.

Fix 1: The 30-Second Restart

Start here. Most of the time, the sync service just got stuck. Restarting clears the glitch without touching your files.

  1. Save any open work.
  2. Click the Start button (Windows logo).
  3. Click the Power icon.
  4. Select Restart.

After your PC boots back up, try the action that gave you the error. If the error is gone, you're done. If it still appears, move to Fix 2.

Fix 2: The Five-Minute Sync Service Reset

If a restart didn't do it, the sync service itself needs a kick. This takes about five minutes and doesn't delete anything.

  1. Press Windows + R to open the Run box.
  2. Type services.msc and press Enter.
  3. Scroll down to Sync Host Service (or OneDrive Sync if you see that).
  4. Right-click it and select Restart.

If the service isn't running, right-click and choose Start.

After that, open the app that was failing (like OneDrive or Settings). The error should be gone. If not, let's go deeper.

Check Your Network Connection

Even if you have internet, sync can fail on a flaky connection. Open a command prompt (type cmd in the Start menu) and run:

ping 8.8.8.8

If you see packet loss or timeouts, that's your culprit. Reset your router, then try again.

Fix 3: The Advanced 15-Minute Cache Clean

Still stuck? The sync cache is corrupted. That's almost always the real issue when the first two fixes don't work. This clears the cache and rebuilds it – your actual files stay safe.

For OneDrive Specifically

  1. Right-click the OneDrive cloud icon in the system tray (bottom-right).
  2. Select Settings.
  3. Go to the Account tab.
  4. Click Unlink this PC. Don't panic – this doesn't delete your files. It just stops syncing temporarily.
  5. After it finishes, click Sign in and log back in.

That often rebuilds the sync state. If the error persists, we go nuclear.

Clear the App Data Cache (All Windows Sync Errors)

  1. Press Windows + R, type %localappdata%\Microsoft, and press Enter.
  2. Look for a folder named OneDrive or Sync.
  3. Rename it to OneDrive_old (or Sync_old).
  4. Restart your PC.

Windows will create a fresh cache folder on startup. Then sign back into OneDrive or check the sync settings.

Reset Windows Sync Settings (If Still Not Fixed)

When the error happens in the Settings app itself, try this:

  1. Open Settings (Windows + I).
  2. Go to Accounts > Sync your settings.
  3. Turn off Sync settings.
  4. Wait 30 seconds, then turn it back on.

That forces Windows to re-establish the sync connection.

When Nothing Works: The Last Resort

If you've done all this and still see 0X00000239, the issue might be tied to your Microsoft account. Sign out of your account entirely, then back in.

  1. Go to Settings > Accounts.
  2. Click Verify your identity if prompted.
  3. Under Your info, click Sign in with a local account instead.
  4. Follow the prompts to switch, then switch back to your Microsoft account.

This resets all sync tokens. You'll have to re-enter your password, but it clears out any bad auth data.

Preventing This in the Future

This error pops up most often after a forced shutdown or a network drop mid-sync. To lower your odds:

  • Always shut down through the Start menu, not the power button.
  • If your internet is flaky, pause OneDrive sync until it stabilizes.
  • Keep Windows updated – Microsoft fixes sync bugs regularly.

That's the full path. Try each step in order, and you'll almost always clear it within the first two fixes.

Related Errors in Database Errors
0X0004D00A Fix XACT_S_LOCALLY_OK (0X0004D00A) - Local Transaction Not Aborted 0XC0190036 Fix STATUS_FILE_IDENTITY_NOT_PERSISTENT (0XC0190036) in SQL Server 0X00001AC0 Fixing 0x1AC0 Transaction Abort Error on Windows 0X00000992 Fix NERR_BadUasConfig (0X00000992) – User Accounts Database

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.