16

I have a new clean installation of Windows 10.

After logging in using my Microsoft account, my OneDrive folder (ie the OneDrive folder in my Users folder) shows:

enter image description here

But right-clicking the OneDrive icon and selecting View online shows:

enter image description here

The latter is the correct one and is what I see from another PC's OneDrive folder signed on to the same acocunt.

Obviously there is something wrong with the synchronization. How do I fix it or how do I force a synchronization?

I suspect the problem came about because I saved a file to the Asus folder with the exact same name that already existed in that Asus folder. The error message complained and asked me to delete it. That's what I did, but the red x refused to go away, and the OneDrive folder won't show the correct content.

At this point, I am not interested in syncing any folders on my PC, other than the OneDrive folder.

4
  • 1
    What have you attempted to resolve this? You say "clean install". Have all updates been installed? Have you checked out Fix OneDrive sync problems?
    – CharlieRB
    Commented Nov 30, 2016 at 16:52
  • I have let the new computer sit there for 36 hours. It spent many hours downloading stuff and upgrading to 1607. According to your link, I should be having the previous personal sync client as the balloon text says "1 files weren't uploaded to OneDrive". I am not aware there is a newer version or that I have an outdated version. With Windows 10, I couldn't find a way to show a list of updates. I have rebooted many times and leaving it alone to see if it could sync, but nothing happened.
    – Old Geezer
    Commented Nov 30, 2016 at 17:12
  • You have connected your local account to a the same Microsoft Account as the OneDrive account your trying to sync to?
    – Ramhound
    Commented Nov 30, 2016 at 17:21
  • I ignored the previous version's instructions and did the reset according to the current version troubleshooting steps and it solved the problem. Thanks!
    – Old Geezer
    Commented Nov 30, 2016 at 17:26

3 Answers 3

17

Solution:

onedrive.exe /reset

onedrive.exe is located in %localappdata%\Microsoft\OneDrive\.

2
  • This works but you may have to try it a couple of times :+1
    – FabianTe
    Commented Oct 15, 2020 at 15:47
  • 1
    i want only a folder to get synced from the cloud. I don't want to load all the files. It will last very long. Any idea?
    – CodeToLife
    Commented Nov 2, 2023 at 15:53
6

To resolve the issue you can try these solutions:

Solution 1) Disable Files on demand option

Go to Options => Files on demand => unselect Save space and download files as you use them

In my situation it was caused the issues with onedrive synchronization by this option.

Solution 2) When you have Files-on-demand grayed out and you can disable GPO Policy:

Disable the option in GPO policy:

enter image description here

Solution 3) When you have Files-on-demand grayed out and you cannot disable GPO Policy:

This allow you to sync main directory and sub directories:

enter image description here

You can try to Disable in the registry (but it might be overwritten in future by GPO update.

set: FilesOnDemandEnabled to 0 in this branch:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\OneDrive
2

For my case, I have tried this to commands:

%localappdata%\Microsoft\OneDrive\onedrive.exe /shutdown
start %localappdata%\Microsoft\OneDrive\OneDrive.exe /background

Inspired from this answer.

If you need to reset/update OneDrive, I have check this link:

%localappdata%\Microsoft\OneDrive\onedrive.exe /reset

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .