Removing OneDrive OneDrive is the folder in file explorer. What it is is Windows cloud where you can store files, You have to have a Microsoft account to use it. If you want to remove it just do the following.
Open command prompt admin
Copy and paste the following and hit enter.
taskkill /f /im OneDrive.exe
Do the same thing again with the following.
%SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall
To remove onedrive icon from file explorer.
Go to Regedit and find
The .reg files below will modify the DWORD in the registry key below.
HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}
On the right you will see
System.IsPinnedToNameSpaceTree
Double click on the entry and change the 1 to a 0 select ok and the OneDrive icon in file explorer will be removed.
DWORD
1 = add
0 = removeOr download and run this file.