How to Completely Uninstall or Remove OneDrive in Windows 10

How to Completely Uninstall or Remove OneDrive in Windows 10

OneDrive comes installed with Windows 10 and is enabled by default if you sign on with a Microsoft account. If you don’t use OneDrive, however, and don’t want it running in the background, there are some hoops you can jump through to Completely Uninstall or Remove OneDrive in Windows 10.

Completely Uninstall or Remove OneDrive in Windows 10

Uninstall Onedrive In Windows 10:

1: Open “Command Prompt Administrative”.

Right Click on Windows icon at right bottom corner and then click on Command Prompt (Admin).

cmd admin in windows 10

2. Type in taskkill /f /im OneDrive.exe to terminate any OneDrive processes and hit Enter.

3. Then type in either %SystemRoot%\System32\OneDriveSetup.exe /uninstall if you’re using 32-bit Windows 10


 %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall if you’re using 64-bit Windows 10 and hit Enter.

You won’t see a confirmation dialog or progress bar when you do this, but if you try searching for OneDrive, the app will no longer be found. Your OneDrive folder and files, however, will still be available.

Cleaning and Removing OneDrive Remnants

However, as OneDrive is a cloud storage service which is dealing with user data, there are remnants and leftovers from OneDrive app that are still available on the system as uninstallation does not remove user data, most prominently been the OneDrive folder. Run the commands below to clean up those remnants by deleting OneDrive related folders and their contents:

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

OneDrive has registry keys which add itself to the Navigation Pane of File Explorer in Windows 10. After uninstalling OneDrive, these registry keys are orphaned, and can be removed.

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

Should you change your mind and want to reinstall OneDrive, head to the “%SystemRoot%\SysWOW64\” folder in File Explorer and run the OneDriveSetup.exe program.

So, this is how you can Completely Uninstall or Remove OneDrive in Windows 10. Hope it helps.


Need some help with your Windows 10? You are in right place. Contact our certified technicians by creating a support ticket and get help with your Windows 10 for free.

Idea: Microsoft 

Share On

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest

Get Our Awesome Tips Directly In Your Newsfeed. Like Us On Facebook.

You May Also Like

1 thought on “How to Completely Uninstall or Remove OneDrive in Windows 10”

  1. Hi, CP show that info, so how can i uinnstall that shit?

    %SystemRoot%\SysWOW64\OneDriveSetup.exe : The module ‘%SystemRoot%’ could not be loaded. For more information, run ‘I
    ort-Module %SystemRoot%’.
    At line:1 char:2
    + %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (%SystemRoot%\SysWOW64\OneDriveSetup.exe:String) [], CommandNotFoundExc
    + FullyQualifiedErrorId : CouldNotAutoLoadModule

    PS C:\WINDOWS\system32>

Leave a Comment

Your email address will not be published. Required fields are marked *

error: This content is protected !!