Windows 10 is the newest operating system from the minds at Microsoft. That being said, there are many issues with it and HypeSheet is here to help!
The newest integrated feature of Windows 10 is Microsoft OneDrive. OneDrive allows you to get to your files from anywhere, on any device, and share and work together with anyone in your work and life. This is great if you want it, if not Windows 10 makes it very difficult to uninstall through traditional methods like through “Programs and Features”, “Windows Features”, or “Windows Update”.
Thankfully the team at HypeSheet have found a solution that removes the persistent program and its link under the explorer favorites menu. Just open up a text file, add the code below, rename the text file to OneDriveRemover.bat, then run it (may need to run it as administrator)!
@echo off
cls
set x86=”%SYSTEMROOT%\System32\OneDriveSetup.exe”
set x64=”%SYSTEMROOT%\SysWOW64\OneDriveSetup.exe”echo Closing OneDrive process.
echo.
taskkill /f /im OneDrive.exe > NUL 2>&1
ping 127.0.0.1 -n 5 > NUL 2>&1echo Uninstalling OneDrive.
echo.
if exist %x64% (
%x64% /uninstall
) else (
%x86% /uninstall
)
ping 127.0.0.1 -n 10 > NUL 2>&1echo Removing OneDrive leftovers.
echo.
rd “%USERPROFILE%\OneDrive” /Q /S > NUL 2>&1
rd “C:\OneDriveTemp” /Q /S > NUL 2>&1
rd “%LOCALAPPDATA%\Microsoft\OneDrive” /Q /S > NUL 2>&1
rd “%PROGRAMDATA%\Microsoft OneDrive” /Q /S > NUL 2>&1echo Removing OneDrive from the Explorer Side Panel.
echo.
REG DELETE “HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}” /f > NUL 2>&1
REG DELETE “HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}” /f > NUL 2>&1echo If explorer menu has the “onedrive” option still, you need to set the value of “IsPinnedToNameSpaceTree” to 0. This is in HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}
echo.pause