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.
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:
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.
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?
Please click on the following link to open the newsletter signup page: Ghacks Newsletter Sign up
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.
Martin, does this work for Win 8.1, too ? Or any alternative ? Thanks.
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.
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.
Thanks. Will give it a try.
Yes! Too much bloatware and crapware preloaded and constantly being added to Windows 10.
It reappeared after some updates, bloody Microsoft mongrels.