You can disable or uninstall it completely by following these simple steps. This will remove it from File Explorer, and everywhere else.
To launch the Group Policy Editor, click Start and type gpedit.msc. Go to Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > OneDrive. Then enable Prevent the usage of OneDrive for file storage.
You can uninstall OneDrive through the Command Prompt. Right-click the Start button and select Command Prompt (Admin). Terminate any running OneDrive processes by typing taskkill /f /im OneDrive.exe. Hit enter.
If you’re using the 32-bit version of Windows 10 type:
Or, if you’re using the 64-bit edition, type:
There’s no confirmation that this has successfully removed OneDrive from Windows 10, but you’ll find the app will no longer be available (your OneDrive files and folders will still exist however).
There’s also a third-party tool you can use to uninstall OneDrive if you want the simplest method. It’s available here.
You can reinstall OneDrive at any point in the future by going to
%SystemRoot%\SysWOW64\ in File Explorer and running the OneDriveSetup.exe.