How to completely disable or uninstall in Windows 10

Source: Internet
Author: User
Tags microsoft onedrive

OneDrive is Microsoft's personal cloud storage platform that provides services such as file hosting, storage, and syncing for individual users, and OneDrive is built into the Windows 10 operating system by default, and OneDrive is enabled by default when users sign in with a Microsoft account.

However, not all users will be using the OneDrive service. In China, many localization service providers have launched a cloud storage service that is very well suited to Chinese usage, such as the NUT cloud, Baidu Cloud, which I personally like very much. On the contrary, the performance of OneDrive in mainland China is a little acclimatized, even once for some reason to be inaccessible.

Unlike Windows 7, 8, and 8.1, Microsoft has built OneDrive into Windows 10 and is displayed in the Navigation pane of File Explorer, and users cannot uninstall using the Add-Remove Program in Control Panel. This means that the user could not find the gateway to uninstall OneDrive completely in Windows 10.

That being the case, today we're going to use some more violent ways to remove OneDrive from Windows 10.

Disable OneDrive for OneDrive sync completely disabled
    1. Press windows+ R-input gpedit.msc to open the Group Policy Editor

    2. In the Computer configuration-Administrative Templates-windows component-onedrive, double-click open to prevent file storage using OneDrive

    3. Select Enable and click OK

Remove the display of onedirve in the left and right folders
    1. Press windows+ R-Input RegEdit to open the Registry Editor

    2. Navigate to the following path

    1. HKEY_CLASSES_ROOT\CLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6}

    2. Change the value of System.ispinnedtonamespacetree to 0

Uninstall OneDrive completely

Since Microsoft did not provide the uninstall method, we had to do it manually.

Uninstall OneDrive
    1. To open a command prompt as an administrator, enter the following command to end the OneDrive process

    1. taskkill/f/im OneDrive.exe

    2. 32-bit Windows (x86) uninstall the OneDrive app using the following command

    1. %systemroot%\system32\onedrivesetup.exe/uninstall

    2. 64-bit Windows (x64) uninstall the OneDrive app using the following command

    1. %systemroot%\syswow64\onedrivesetup.exe/uninstall

Clean up OneDrive residue data

After the uninstall command is executed, the OneDrive application is completely deleted. But there are still some residual data, such as the OneDrive folder. At this point, we can use the following command to clean up:

    1. rd "% Userprofile%\onedrive "/q/s

    2. rd "%localappdata%\microsoft\onedrive"/q/s

    3. rd "%programdata%\microsoft OneDrive"/q/s

    4. rd "C:\OneDriveTemp"/q/s

Note: When cleaning up folders like above, make sure there are no more data files that need to be used.

Clean up your OneDrive registry

OneDrive is added to the Navigation pane of the Windows 10 folder by default, and since we've uninstalled it, we can also delete its registry entries:

    1. REG Delete "Hkey_classes_root\clsid{018d5c66-4533-4307-9b53-224de2ed1fe6}"/F

    2. REG Delete "Hkey_classes_root\wow6432node\clsid{018d5c66-4533-4307-9b53-224de2ed1fe6}"/F

How to completely disable or uninstall in Windows 10

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.