How to Uninstall OneDrive on Windows 10

Windows 10 comes with OneDrive and like most pre-installed Microsoft services, it’s deeply integrated with your computer and completely uninstalling it needs some extra steps. By default, it becomes enabled on Windows 10 as soon as you sign in with a Microsoft account. You can completely uninstall OneDrive and there are lots of ways to do it.

completely uninstall onedrive

If you’re not really using it, you may not be comfortable with the icon sitting on your taskbar or the window popping up every once in a while asking you’re to get started.

To get rid of OneDrive, you have three choices:

  1. Disabling OneDrive through Local Group Policy Editor
  2. Disabling OneDrive through Registry Editor
  3. Completely uninstalling OneDrive through Command Prompt

The first option isn’t a hack, it’s one of those settings in Windows you need to access through the Group Policy Editor. It disables OneDrive but it’s still right there on your computer. The second option does the same thing but the third option  is a bit advanced as it completley removes OneDrive from your computer.

Also read: You Should Change This Windows 10 Update Settings Now

How to disable OneDrive through Local Group Policy Editor

  1. To get started, right-click on the Start button and select Run. Type gpedit.msc to and hit Enter to launch Local Group Policy Editor.
    1. run command
    2. On the left pane, navigate to Computer Configuration > Administrative Templates >Windows Components > OneDrive.
    3. On the right pane, right-click on Prevent the usage of OneDrive for file storage and edit.local group policy editor
    4. Select Enabled as shown below and click OK:completely uninstall onedrive

    This disables OneDrive on Windows 10. The app is totally gone and the icon no longer appears in Windows Explorer. In case you need to enable OneDrive later, you just need to follow these same steps and select Disabled.

  2. How to Disable OneDrive on Windows 10 through Registry Editor

    On Windows 10 Home Edition, there’s no Local Group Policy Editor and you need to do this through Registry Editor.

    1. To get started, right click on the Start button and click Run. Type regedit.msc to launch Registry command
    2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows
    3. If you have OneDrive under Windows as shown below, skip Steps 4 and 5 below.disable onedrive on windows through registry
    4. If you can’t find OneDrive key under Windows as shown above, right-click on Windows and select New > Key.
      create new registry key
      Name the new key as OneDrive. It must be written exactly like this.
    5. Right click on OneDrive key and select New > DWORD (32-bit) Value. UseDisableFileSyncNGSC as the value name.
    6. Modify DisableFileSyncNGSC and set the value to 1.
      DisableFileSyncNGSC valueSave your changes, close the Registry Editor and restart your computer. You should note that this works best on Windows 8 and 8.1. If you want to completely uninstall OneDrive and remove all its components, you should consider the third option below.

    How to Completely Uninstall  OneDrive through Command Prompt

    1. Right click on the Start button and select Command Prompt (Admin).
    2. Copy the command below and paste into the window and hit Enter:
      taskkill /f /im OneDrive.exe

      This kills the OneDrive process before you can proceed to uninstall.

    3. For 32-bit (X86) operating system, paste this and hit Enter:
      %SystemRoot%\System32\OneDriveSetup.exe /uninstall

      For 64-bit operating system, use this:

      %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall
    4. After doing this, the app is completely uninstalled from your computer. There might be no sign of a progress bar or something but you won’t find the icon on the taskbar anymore and it shouldn’t appear in Windows Explorer. Now run these commands to completely clean leftover files:
      rd “%UserProfile%\OneDrive” /Q /S
      rd “%LocalAppData%\Microsoft\OneDrive” /Q /S
      rd “%ProgramData%\Microsoft OneDrive” /Q /S
      rd “C:\OneDriveTemp” /Q /S

    With this, the app and its running service should’ve completely disappeared without a trace.


Leave a Reply

Your email address will not be published. Required fields are marked *