Steps to Uninstall OneDrive Completely on Windows 10 Pro
Posted by Xiping Hu on August 13, 2022
Open Group Policy Editor.
Go to Computer Configuration -> Admimistrative Templates -> Windows Components -> OneDrive.
Edit Prevent the usage of OneDrive for file storage on Windows 8.1, Change it to Enabled.
Reboot.
Go to Settings -> Apps -> Apps & features and Uninstall Microsoft OneDrive.
If your Documents, Desktop or Pictures folder is stored in %HOMEPATH%\OneDrive, right click Desktop, Documents and Pictures, and click Properties, then select Location tab, and click Restore Default, then Apply.
If some error happens, try opening Registry Editor and edit keys under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders and reboot.