1, new text document;
2, double-click Open, enter the following content;
taskkill/f/im OneDrive.exe taskkill/f/im Explorer if exist%systemroot%syswow64onedrivesetup.exe (%systemroot%syswow6 4onedrivesetup.exe/uninstall) Else (%systemroot%system32onedrivesetup.exe/uninstall) rd/s/q "%USERPROFILE%OneDrive "RD/S/q"%localappdata%microsoftonedrive "rd/s/q"%programdata%microsoft OneDrive "reg delete" Hkey_classes_rootclsid {018d5c66-4533-4307-9b53-224de2ed1fe6} '/F reg delete ' hkey_classes_rootwow6432nodeclsid{ 018D5C66-4533-4307-9B53-224DE2ED1FE6} "/F Start Explorer
3, click on the File menu, select "Save as" command;
4, in another Save as a window, give it a good name, called "OneDrive uninstaller.cmd" bar, here must pay attention to save type set to "All files", otherwise can not save success;
5, after the successful save, right click on the saved file, menu select "Run as Administrator", waiting for the program to run successfully!