How to delete Win10 OneDrive

  
First, prohibit OneDrive self-starting
Open the task manager, start the interface to find onedrive, right click and select [disable]. You may need to click [Details] to see the launch.

Second, group policy management is disabled (not for home version)
Run gpedit.msc, enter [computer configuration]-[management template]-[windows component]-[onedrive], right Three options:
By default, save the document to OneDrive, select Disable;
Disable OneDrive for file storage, select Enable
Disable OneDrive files from synchronizing by traffic, select Enable.
If you are ready to completely remove onedrive, these three items of Group Policy are actually ignored, because onedrive is gone, this policy setting is meaningless. This strategy may apply to the setting of synchronization behavior.
Three, uninstall onedrive
Uninstall method one:
Run input %localappdata%MicrosoftOneDrive, view the version number, generally a string of values. Run the CMD command and enter %localappdata%MicrosoftOneDriveXXXXXXXXXXXXXXX (the version number you just viewed) OneDriveSetup /uninstall. This command can uninstall most of the onedrive programs, and the rest can be deleted by yourself (may need permission settings or run cmd in administrator mode)
Uninstall Method 2:
Forced to delete. Delete the %localappdata%Microsoft onedrive folder directly by obtaining the permission (after obtaining the permission, you may need to close the corresponding onedrive process in the process before you can delete the folder)
In fact, if you want to operate to uninstall The operations of points 1) and 2) are repeated operations.
Fourth, delete the onedrive in the navigation bar
Uninstall onedrive can not clear the onedrive inside the navigation bar, enter the registry:
HKEY_CLASSES_ROOTCLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6}ShellFolder
right The value of the Attributes attribute on the side f080004d is modified to f090004d.
It takes effect after restarting the resource manager in the task manager.

Copyright © Windows knowledge All Rights Reserved