Unlink OneDrive from your PC
Open OneDrive settings
Go to the Account tab
Select Unlink this PC
Confirm the unlink action
Close OneDrive
Open Task Manager
End any OneDrive processes
Uninstall OneDrive from Settings
Open Settings
Go to Apps
Select Installed apps or Apps & features
Find Microsoft OneDrive
Click Uninstall
Confirm the uninstall
Remove OneDrive from File Explorer
Open File Explorer
Check that OneDrive is no longer listed in the left pane
Disable OneDrive from startup
Open Task Manager
Go to the Startup tab
Disable OneDrive if it is still listed
Remove OneDrive using Command Prompt if needed
Open Command Prompt as administrator
Run the OneDrive uninstall command for your system version
Remove leftover OneDrive folders if desired
Delete OneDrive folders from your user profile
Delete any remaining OneDrive cache folders
Restart your PC
Verify OneDrive is removed or no longer active
