Then navigate to AppData\Local\Microsoft\Office\15.0(or 16.0)\OfficeFileCache.
Type %appdata% in the Windows Start Search field and open the AppData folder.
Select Run as administrator to launch the app with admin rights. Type OneDrive in the Windows Start Search field and right-click on the OneDrive app. Make sure you’re running OneDrive with admin privileges.
What to Do If OneDrive Got Stuck While Getting Things Ready to Sync Run OneDrive as Admin