I recently shifted to Windows 10.
After a while OneDrive was gone. I mean gone, not in Control Panel > Installed Programs, not in features, not running, not in Task Manager, etc.
From what I could understand OneDrive comes shipped OOTB with Windows 10 so you're not supposed to even have to install it in the first place.
The main behaviour was that, whatever I did (install onedrive, run it, reset it) I would always get a brief window that eventually closed and nothing else happened.
Online I've found two recommendations:
Reset OneDrive:
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset
Run OneDrive:
%localappdata%\Microsoft\OneDrive\onedrive.exe
Sadly, none of that worked so I tried:
gpedit.msc > Computer Configuration > Administrative Templates > Windows Components > OneDrive > "Prevent the usage of OneDrive for file storage" > Disabled
That also failed, so in the end what worked was deleting a registry setting:
regedit > localmachine > software > policies > Microsoft > Windows > OneDrive > DisableFileSync
or alternatively, save and run the below in a .reg file:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OneDrive]
"DisableFileSyncNGSC"=-
run onedrive from local data and now it will open!
Source
Programs and Features
inControl Panel
?