Windows 10: Reset OneDrive Sync in Windows 10  

    Reset OneDrive Sync in Windows 10

    Reset OneDrive Sync in Windows 10

    How to Reset OneDrive Sync in Windows 10
    Published by Category: Apps & Features
    08 Jul 2018
    Designer Media Ltd

    Published by

    Brink's Avatar

    Posts: 33,210

    Show Printable Version 

    How to Reset OneDrive Sync in Windows 10

    information   Information
    OneDrive is a cloud-based storage service that comes with your Microsoft account. OneDrive is integrated into Windows 10 where you can view, browse, upload, and share the files you saved online to OneDrive from any PC, tablet, or phone.

    Once you set up OneDrive and have it running, OneDrive will automatically sync your chosen files and folders with your PC.

    Files you save to OneDrive are available online at and offline on your PC. That means you can use them anytime, even when you're not connected to the Internet. When you reconnect, OneDrive updates the online versions with changes you made offline.

    Offline files come in handy when you're stuck without an Internet connection, but they also take up space on your PC. If you're running low on storage space, you can choose OneDrive folders to sync.

    If OneDrive sync seems to be stuck for a long time and nothing else is working, try a reset. Be aware that resetting OneDrive re-syncs all your OneDrive files, which could take some time depending on how many files you’re syncing.

    This tutorial will show you how to reset OneDrive sync for your account in Windows 10.

    Here's How:

    1. Press the Win+R keys to open Run, enter the command below into Run, and click/tap on OK.

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

    2. The OneDrive icon in the notification area of the taskbar should now disappear. (see screenshots below)

    Name:  OneDrive-1.png
Views: 4984
Size:  5.1 KB
    Name:  OneDrive-2.jpg
Views: 4990
Size:  4.5 KB
    Name:  OneDrive-2b.png
Views: 5048
Size:  4.1 KB

    3. The OneDrive icon should automatically re-appear after a minute or two, and start re-syncing all your OneDrive files. (see screenshot below)
    Note   Note
    You might need to click the Show hidden icons Name:  arrow.png
Views: 4942
Size:  148 Bytes arrow next to the notification area to see the OneDrive icon.
    Name:  OneDrive-1b.png
Views: 4931
Size:  2.5 KB

    If the OneDrive icon doesn’t re-appear after a few minutes, open Run (Win+R) again, enter %localappdata%\Microsoft\OneDrive\onedrive.exe, and click/tap on OK.

    Name:  OneDrive-3.png
Views: 5015
Size:  15.0 KB

    That's it,

  1. Fafhrd's Avatar
    Posts : 1,928
    Windows 10 x86 14383 Insider Pro and Core 10240
       02 Sep 2017 #1

    Due to something I did on the OneDrive settings, I guess, all my OneDrive files have synced to this insider installation, filling up the limited space on the hard drive, before all the OneDrive files had synced. OneDrive shows a warning that it could not proceed, due to lack of space.

    I am unsure which files from my hard drive have not been copied to the cloud, (if any), and there is 18GB of files in the cloud, so it would be difficult to be sure if I delete files on my hard drive, that they are not unique copies, and if I delete contents of folders, I may be deleting some things I may need to keep. Or am I worrying unduly?

    I reset OneDrive to try to resolve this, and then in OneDrive Settings, Account tab, Choose folders, "Sync your OneDrive files to this PC" unchecking all the boxes, but the OK button is greyed out and unavailable. Do I just have to wait until I can OK this?

    I was hoping that this would start removing all synced files from my PC.

    Do I have to manually remove several (>10)GB of files from the PC?

    I have the same problem on another PC which contains more sensitive documents, so I want to sort this out on the Insider system first.
      My ComputersSystem Spec

  2. Brink's Avatar
    Posts : 33,210
    64-bit Windows 10 Pro build 18262
    Thread Starter
       02 Sep 2017 #2

    Hello Chris, :)

    If you have build 16215 or later installed, you will be able to tell which files are "online-only", "locally available", or "always keep on this device". The info at the top of the tutorial below will give more about this.

    Turn On or Off OneDrive Files On-Demand in Windows 10 Windows 10 Apps Features Tutorials

    Otherwise, you could go back to choose which folders to sync with OneDrive, and remove the ones you don't want. To be safe, I would copy the files to another location until you are sure they are still on your online OneDrive instead of PC.

    Choose Folders for OneDrive Selective Sync in Windows 10 Windows 10 Apps Features Tutorials
      My ComputersSystem Spec

  3. Fafhrd's Avatar
    Posts : 1,928
    Windows 10 x86 14383 Insider Pro and Core 10240
       06 Sep 2017 #3

    Well, Shawn, I found myself going around in circles. Nothing seemed to stick on the insider machine Build version 16257, so I eventually turned off OneDrive, uninstalled the 2 OneDrive apps on and then tried to delete all the files in the OneDrive folder in my User folder that were taking up ~10GB of disk space, but something was preventing this:

    Click image for larger version. 

Name:	Screenshot (4).png 
Views:	191 
Size:	111.6 KB 
ID:	152114

    After attending to deleting the folders and files that could be removed I was left with one file, an internet shortcut to OneNote Online:

    Click image for larger version. 

Name:	Screenshot (5).png 
Views:	286 
Size:	85.1 KB 
ID:	152115

    I removed inheritance and changed permissions on the file so I am the single owner, but I still cannot delete the file, and thus the /OneDrive/Documents folder remains.

    Settings/Storage still seems to think that OneDrive is still full, although File Explorer reports the expected free space on the drive. Signing out and on again fixed Settings/Storage, but not the indelible file.

    Any ideas how the corrupted metadata can be purged?
      My ComputersSystem Spec

  4.    06 Sep 2017 #4

    1) try deleting folder from safe mode

    2) try deleting it from a winpe session (macrium reflect boot drive is good for this)

    3) try deleting it from a live linux drive

    If you have files on demand set, I found it was easier to tell from a command line if files are only on cloud or on pc and cloud.

    Where size is in brackets, file is only in cloud - see extract below

    Also, as an aside, rather than copying files to a onedrive sub-folder, a neat trick is to use junction links e.g.

    mklink /j c:\onedrive\yourname\onedrive\pics c:\users\mw\pictures

    This sets up a dummy folder called pics in onedrive but actually points to pictures folder. Then if you add a file to pictures, it is synced to cloud automatically. This saves hassle of having to copy files from pictures to a real onedrive folder.


    C:\WINDOWS\system32>dir c:\users\mw\onedrive\assets
    Volume in drive C is 10 Pro
    Volume Serial Number is 8BB5-2CD0

    Directory of c:\users\mw\onedrive\assets

    02/09/2017 07:21 <DIR> .
    02/09/2017 07:21 <DIR> ..
    30/03/2017 17:06 (4,317) autounattend.xml
    01/04/2017 12:24 (1,236) MWtheme.deskthemepack
    30/03/2017 18:06 16,198 oemlogo.bmp
    02/09/2017 07:21 <DIR> Pictures
    09/04/2017 09:23 (50,185)
    30/03/2017 18:02 (79) runonce.bat
    26/08/2017 10:59 1,445,662 Screen_2017_08_26_10_58_54.wmv
    30/03/2017 18:18 (2,484) unattend.xml
    7 File(s) 1,520,161 bytes
    3 Dir(s) 195,220,467,712 bytes free
      My ComputerSystem Spec


Tutorial Categories

Reset OneDrive Sync in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone

Related Threads
How to Sync Multiple OneDrive Accounts in Windows Quite a few of us Windows users have multiple Microsoft email accounts, each of them today with OneDrive. I am for sure not the only user who subscribes Office 365 Home to get 5 Office licenses...
OneDrive is a cloud-based storage service where you can view, browse, upload, and share the files you saved online to When you save files to OneDrive, the files are automatically available to access or share from any device, even if...
I just upgraded to Windows 10 yesterday and now I have a serious problem with Onedrive. All of my save files for programs like Quickbooks are stored on Onedrive. Further, photos and other files that I use for my real estate business are stored on...
Hello, Excuse me my bad english. I have an issue with MS Account and Windows 10. When the first official build was available, I made an install. But I made a mistake with my username. Instead of typing Leonardo, I typed Leona. :o With that, I...
Read more: Microsoft pledges to improve OneDrive sync features for Windows 10 | Windows Central

Tags for this Thread

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:27.
Find Us