Skip to content
TECHNOARTH Technology in practice.
Software

OneDrive not syncing: how to fix it on Windows

Files stuck with sync arrows, a red X on a folder or error 0x8004de40? Here are the most common reasons OneDrive stops syncing and how to fix them.

Files stuck with the arrows icon, a red X on a folder, or a message that OneDrive isn’t connected? Most of the time sync is paused, storage is full, or a file has a name or path OneDrive doesn’t accept.

In this article
  1. Step 1: see what OneDrive is telling you
  2. Step 2: check space and file names
  3. Step 3: restart and check the connection
  4. Step 4: reset OneDrive
  5. Step 5: unlink and relink the PC
  6. FAQ

Step 1: see what OneDrive is telling you

Click the cloud icon in the taskbar (near the clock). The panel shows the status and, when there’s a problem, the error message.

Icon or messageMeaning
Gray cloudNot signed in — sign in with your account
Cloud with pauseSync paused — click Resume syncing
Red X on a fileThat file couldn’t sync — see the reason in the panel
Storage warningYour account storage is full

Step 2: check space and file names

  • Space: the free plan includes 5 GB. Free up space in OneDrive or upgrade your plan.
  • Invalid characters: names with " * : < > ? / \ | won’t sync. Rename the file.
  • Long paths: deeply nested folders with long names cause errors. Shorten names or move the folder closer to the root.
  • Open files: files locked by another program (such as a database or an Outlook PST) don’t sync while in use.

Step 3: restart and check the connection

  1. In the OneDrive panel, click the gear › Pause syncing, then Resume.
  2. Quit OneDrive (gear › Quit OneDrive) and reopen it from the Start menu.
  3. Error 0x8004de40 means a connection problem: test your internet, turn off VPN or proxy, and check that the date and time are correct.

Step 4: reset OneDrive

A reset rebuilds the sync settings without deleting your files. Press Windows + R and run the command below:

Run box with the OneDrive reset command highlighted
Press Windows + R, paste the command (1) and click OK (2). OneDrive restarts and syncs again.
Command
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset

Under gear › Settings › Account, click Unlink this PC, sign in again and choose the same OneDrive folder. Files in the cloud aren’t deleted.

FAQ

OneDrive has been “Processing changes” for hours. Is that normal?

With lots of small files, the first sync can take hours. If it doesn’t progress within a day, follow steps 3 and 4.

Can I sync a folder outside OneDrive?

Not directly. Move the folder into your OneDrive folder, or use folder backup (Desktop, Documents and Pictures) in settings.

Does unlinking the PC delete my files?

No. Files stay in the cloud, and the ones already downloaded stay on your computer.

Share

About the author

TECHNOARTH Editorial Team

The TECHNOARTH newsroom: technology tutorials, guides, comparisons and news produced with AI assistance and checked against manufacturers’ official sources.