Steps to disable or remove Onedrive on windows 10

0
95

Onedrive is a Microsoft cloud storage solution that allows users to store all cloud data and access data directly in the cloud from a computer without having to install any programs. On the Windows 10 operating system, OneDrive is further integrated. However, the deep integration of this feature on Windows 10 not only slow down the machine but also consume memory capacity to store temporary data of the cloud on the computer.

In addition, many users prefer to use other cloud storage solutions such as Google Drive, Dropbox …. So if you do not need you can disable or completely uninstall OneDrive on your Windows 10 computer.

1. Disable OneDrive by using the Local Group Policy Editor

To disable OneDrive using the Local Group Policy Editor, follow these steps:

First press the Windows + R key combination to open the Run command window. On the Run command, type gpedit.msc and press Enter to open the Local Group Policy Editor.

On the Local Group Policy Editor window, navigate to the following key:

Local Computer Policy > Computer Configuration > Administrative Templates

Then select OneDrive located in the Windows Components folder.

In the right pane, find and double-click Prevent the usage of OneDrive for file storage, then select Enabled, then click Apply => OK.

From now on the OneDrive icon will no longer appear on the File Explorer as well as on Windows 10.

2. Completely Uninstall OneDrive on Windows 10

To uninstall the Onedrive application on windows 10, follow the steps below:

First, right-click on the OneDrive application icon in the taskbar, then select Exit to close the OneDrive application.

Or faster way is to close the application window OneDrive then select Yes to exit the application.

After exiting the OneDrive application, right-click on the Start Menu and select Command Prompt (Admin).

Alternatively, press Win + X + A to open Command Prompt (Admin).

On the Command Prompt window, enter the following command:

If you use 32-bit Windows, enter the following command line:

%systemroot%System32OneDriveSetup.exe /uninstall

If you use 64-bit Windows, enter the following command:

%systemroot%SysWOW64OneDriveSetup.exe /uninstall

After you finish typing the command, Windows will uninstall the OneDrive application.

When you open Windows Explorer, or search the Start Menu, you will not see OneDrive.

Next proceed to delete all the OneDrive folders.

To delete OneDrive folders, first open Windows Explorer, then select the View tab and tick the Hidden Items checkbox.

After you have hidden the folders, open the ProgramData folder and delete the Microsoft OneDrive folder.

Next you find the User Profile folder and delete the OneDrive folder located in that folder.

Find the User Profile folder under the path: C:UsersyourUserName.

In the User Profile folder, open the App Data folder, select the Local folder, and select the Microsoft directory. Delete the OneDrive folder.

If during the deletion of any folder, you reboot the system again and then perform the above steps.

So you have completely removed the OneDrive application on your Windows 10 computer then offline.

If you want to use the OneDrvie application, you can reinstall the application by entering the following command into the Command Prompt window.

If you use 32-bit Windows, enter the following command line:

%systemroot%System32OneDriveSetup.exe

If you use 64-bit Windows, enter the following command:

%systemroot%SysWOW64OneDriveSet.exe

After you finish typing the command, Windows will install and configure the OneDrive application on your Windows 10 machine.