How to remove OneDrive from Windows 10 completely

There are so many apps that comes pre-installed with Windows 10, OneDrive is one of them. From Windows 8, OneDrive has become part of Windows Operating system, until then you need to download it as a separate app, such that the files sync with cloud. If you want to remove OneDrive from the Windows 10 completely, unlike other apps you cannot remove it via Apps and Features from Settings or Programs and Features from Control panel. You can do it using command line interface and here is how to do it.

How to remove OneDrive from Windows 10 completely

Before uninstalling OneDrive, you need to stop the process. For this click on Exit in the OneDrive context menu which pops up by clicking on the icon in system tray. Alternatively you can also go to Task manager and right click on the OneDrive to end the process. Also you can use Taskkill command to kill the process.

  • Press Win+R keys to launch the RUN dialog box.
  • Now type cmd to launch command prompt window.
  • Execute the following command to end the OneDrive process

TASKKILL /f /im OneDrive.exe

  • Execute the following commands to uninstall OneDrive from Windows 10
    • For 32 bit system, %systemroot%System32OneDriveSetup.exe /uninstall
    • For 64 bot system, %systemroot%SysWOW64OneDriveSetup.exe /uninstall
  • That’s it, this will remove OneDrive from your PC completely. But not changes will occur to the files and folders inside OneDrive folder.

To remove the residual folders, search for OneDrive in %UserProfile%, %LocalAppData% and %ProgramData% folders and remove them.

To remove residual OneDrive registry keys, Run regedit and delete the following keys.

  • HKEY_CLASSES_ROOTWow6432NodeCLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6}
  • HKEY_CLASSES_ROOTCLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6}

You may also like...