How to Completely Uninstall OneDrive in Windows 10 (Easy Way)

0

How to Completely Uninstall OneDrive in Windows 10 (Easy Way)

Hai Guys welcome to our website Tricksclues.com, In This Post I will Teach You How To How to Completely Uninstall OneDrive in Windows 10. You can follow the Simple step below to Completely Uninstall OneDrive in Windows 10.

How to Completely Uninstall OneDrive in Windows 10-

1. Copy and paste code below into notepad

@echo off
cls
set x86="%SYSTEMROOT%System32OneDriveSetup.exe"
set x64="%SYSTEMROOT%SysWOW64OneDriveSetup.exe"
echo Closing OneDrive process.
echo.
taskkill /f /im OneDrive.exe > NUL 2>&1
ping 127.0.0.1 -n 5 > NUL 2>&1
echo Uninstalling OneDrive.
echo.
if exist %x64% (
%x64% /uninstall
) else (
%x86% /uninstall
)
ping 127.0.0.1 -n 10 > NUL 2>&1
echo Removing OneDrive leftovers.
echo.
rd "%USERPROFILE%OneDrive" /Q /S > NUL 2>&1
rd "C:OneDriveTemp" /Q /S > NUL 2>&1
rd "%LOCALAPPDATA%MicrosoftOneDrive" /Q /S > NUL 2>&1
rd "%PROGRAMDATA%Microsoft OneDrive" /Q /S > NUL 2>&1
echo Removing OneDrive from the Explorer Side Panel.
echo.
REG DELETE "HKEY_CLASSES_ROOTCLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
REG DELETE "HKEY_CLASSES_ROOTWow6432NodeCLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
pause

2. Saves Notepad file as uninstall-onedrive.cmd

 

3. Open uninstall-onedrive.cmd

 

Done…

LEAVE A REPLY