Unlink OneDrive from your PC
Open the OneDrive icon in the system tray
Go to Settings
Select the Account tab
Click Unlink this PC
Sign out of OneDrive
Stop OneDrive from starting automatically
Open Task Manager
Go to the Startup tab
Disable Microsoft OneDrive
Uninstall OneDrive on Windows 10 or 11
Open Settings
Go to Apps
Select Installed apps or Apps & features
Find Microsoft OneDrive
Click Uninstall
Remove OneDrive using Command Prompt
Open Command Prompt as administrator
Run the OneDrive setup uninstall command for your system version
Delete OneDrive files if needed
Open File Explorer
Go to the OneDrive folder
Move or delete the files you want to remove
Remove OneDrive from File Explorer navigation pane
Open Registry Editor
Remove the OneDrive entry from the navigation pane if required
Disable OneDrive through Group Policy on supported editions
Open Group Policy Editor
Disable OneDrive file storage usage
Remove OneDrive from Mac
Quit OneDrive
Drag OneDrive from Applications to Trash
Remove OneDrive from Login Items if needed
Remove OneDrive from mobile devices
Open the OneDrive app
Sign out
Uninstall the app from the device
