OneDrive Uninstaller for Windows 10

Martin Brinkmann
Aug 18, 2017
Software, Windows 10

OneDrive Uninstaller is a free batch script for Windows 10 that removes Microsoft's file storage and synchronization service completely.

Windows 10 devices come with OneDrive included. The file sync and storing service is used to sync data between devices if you use a Microsoft Account to sign in on Windows 10.

It furthermore provides access to files on OneDrive without having to install the OneDrive application, and several applications make use of OneDrive as well if available.

If you don't use OneDrive however, and have no plans on starting to use the service, then OneDrive is dead weight on the system.

Note: Removing OneDrive entirely from a machine running Windows 10 may break quite a few features. For instance, access to roaming profiles, App store configuration or cloud based windows settings are all no longer available. Also, all existing OneDrive files on the system are removed in the process on top of that.

OneDrive Uninstaller

Since OneDrive Uninstaller is offered as a batch script, you can -- and should -- verify what it does before you run it. Simply right-click the file and select to open it in any plain text editor installed on the system.

You may then go through the script line by line to make sure it does what it claims it does, and nothing else. Since it is a plain text script, you may modify it as well. Add things to remove or remove lines for instance.

To give you a rough understanding of the processes that it initiates:

  1. It will terminate the OneDrive process if it is found.
  2. Checks for 32-bit or 64-bit OS.
  3. Runs the OneDrive uninstallation.
  4. Removes OneDrive folders that don't get removed during uninstallation.
  5. Removes OneDrive Registry keys that don't get removed during removal.

To run the script, right-click on the batch file and select run as administrators. The script won't work if you do.

While you can run the script this way, you can also run the commands individually for greater control. Just open an elevated command prompt and run the commands of the script one at a time. This option may be useful if you have removed OneDrive previously but want to get rid of leftover folders or Registry keys as well.

Closing Words

The script makes it super-easy to remove OneDrive from devices running Windows 10.  It is recommended that you create a system backup before you run the script so that you can restore the system to a previous state if things go wrong along the line. This may happen for instance when Microsoft updates OneDrive and things change in the process.

Now You: Do you use a file sync service? If so which and why?

software image
Author Rating
3.5 based on 6 votes
Software Name
OneDrive Uninstaller
Operating System
Software Category
Landing Page

Tutorials & Tips

Previous Post: «
Next Post: «


  1. Hampson said on August 19, 2017 at 11:59 pm

    It reappeared after some updates, bloody Microsoft mongrels.

  2. Jeff said on August 19, 2017 at 3:39 pm

    Yes! Too much bloatware and crapware preloaded and constantly being added to Windows 10.

  3. Klinger said on August 18, 2017 at 7:57 pm

    Thanks. Will give it a try.

  4. Yuliya said on August 18, 2017 at 6:12 pm

    Remove OneDrive

    taskkill /f /im OneDrive.exe

    32-bit Windows 10
    %SystemRoot%\System32\OneDriveSetup.exe /uninstall

    64-bit Windows 10
    %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall

    rd “%UserProfile%\OneDrive” /Q /S
    rd “%LocalAppData%\Microsoft\OneDrive” /Q /S
    rd “%ProgramData%\Microsoft OneDrive” /Q /S
    rd “C:\OneDriveTemp” /Q /S

    Delete and Remove OneDrive in File Explorer Folder Tree Registry Key
    REG Delete “HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}” /f
    REG Delete “HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}” /f

    Worked on LTSB2016x64. A restart migh be needed after the /uninstall command to be able to remove those folders. REG Delete is a PowerShell command, you can do it manually via regedit too.

    Might work on 8.1 too. Worth a try, the /uninstall argument can’t do any damage, if it doesn’t exist, nothing will happen.

  5. CHEF-KOCH said on August 18, 2017 at 6:01 pm

    You can uninstall OneDrive via control panel already.

    Why this is a never ending story, is beyond me, cause I was the first years ago posted the script others copy & paste it, even now when it’s useless. Oh boi….. Was this worth the news, I doubt it.

    Hopefully I not see here a ‘first RS 4 Windows 10 build is out’ news this week, cause it got leaked without any change which is no surprise since RS 3 isn’t fully done.

  6. Klinger said on August 18, 2017 at 5:02 pm

    Martin, does this work for Win 8.1, too ? Or any alternative ? Thanks.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.