Forum Discussion
How to delete onedrive from pc permanently in windows 10
This is a great way to how to delete onedrive from PC completely using the command line without any extra software. It essentially lets you remove OneDrive entirely from your system, including leftover files and registry entries, allowing you to fully eliminate its presence and stop background syncing and resource usage.
Instructions: Open a Command Prompt as an administrator. For 64-bit Windows, run: %SystemRoot%\SysWOW64\shturl.cc/3eiKivG /uninstall
For 32-bit Windows, run:
%SystemRoot%\System32\shturl.cc/3eiKivG /uninstall.
After uninstallation is complete, run the following command to remove any remaining files:
rd "%UserProfile%\OneDrive" /s /q
rd "%LocalAppData%\Microsoft\OneDrive" /s /q
rd "%ProgramData%\Microsoft OneDrive" /s /q
rd "C:\OneDriveTemp" /s /qFinally, run these registry commands to remove OneDrive from the File Explorer sidebar:
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
This method requires no third-party uninstaller and swiftly helps you how to delete onedrive from PC, effectively removing all traces of the application.
It is particularly useful for users who never use OneDrive, want to disable its background processes, or prefer a clean, manual uninstall over using third-party tools.