OneDrive Uninstaller — Step-by-Step Removal for Windows & macOS
Overview
OneDrive Uninstaller covers removing Microsoft OneDrive cleanly from Windows and macOS, including stopping sync, uninstalling the app, and deleting leftover files and registry entries (Windows) or support files (macOS).
Before you begin (backup & precautions)
- Backup: Ensure any files only stored in OneDrive are synced or backed up elsewhere.
- Sign out: Sign out of OneDrive to prevent sync conflicts.
- Admin access: You’ll need administrator privileges on both platforms.
- Version note: Steps target recent Windows ⁄11 and macOS versions; small UI differences may exist.
Windows — Step-by-step
-
Stop OneDrive sync
- Click the OneDrive cloud icon in the notification area.
- Click Help & Settings → Pause syncing → choose a time (2 hours) or Settings → Unlink this PC.
-
Quit OneDrive
- Right-click the OneDrive icon → Close OneDrive (or Quit).
-
Uninstall via Settings
- Open Settings → Apps → Installed apps (Windows 11) or Apps & features (Windows 10).
- Find Microsoft OneDrive, click the three dots (or entry) → Uninstall → confirm.
OR via Control Panel (older systems):
- Control Panel → Programs → Programs and Features → Uninstall OneDrive.
-
Remove leftover files
- Delete these folders (replace USER with your username):
C:\Users\USER\OneDrive(local sync folder) — move or delete as needed.C:\Users\USER\AppData\Local\Microsoft\OneDriveC:\Users\USER\AppData\Roaming\Microsoft\OneDrive
- Check
C:\Program Files\Microsoft OneDriveorC:\Program Files (x86)\Microsoft OneDriveand delete if present.
- Delete these folders (replace USER with your username):
-
Clean registry entries (optional, advanced)
- Open Registry Editor (regedit) as admin.
- Back up registry: File → Export.
- Search for and delete keys named
OneDriveunder:HKEY_CURRENT_USER\Software\Microsoft\OneDriveHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OneDrive
- Restart Windows.
-
Disable OneDrive reinstallation (optional)
- Use Group Policy (Pro/Enterprise): Computer Configuration → Administrative Templates → Windows Components → OneDrive → Prevent the usage of OneDrive for file storage → Enable.
- Or rename OneDriveSetup.exe in Program Files after uninstall (advanced).
macOS — Step-by-step
-
Stop OneDrive sync & sign out
- Click OneDrive cloud icon in the menu bar → Help & Settings → Quit OneDrive or Preferences → Account → Unlink this Mac.
-
Uninstall OneDrive
- Open Finder → Applications → drag OneDrive.app to the Trash.
- Or right-click → Move to Trash.
-
Remove leftover support files
- In Finder, press Command+Shift+G and visit these folders; delete OneDrive-related files:
/Library/Containers/com.microsoft.OneDrive/Library/Application Support/OneDrive/Library/Preferences/com.microsoft.OneDrive.plist/Library/Logs/OneDrive
- Empty Trash and restart.
- In Finder, press Command+Shift+G and visit these folders; delete OneDrive-related files:
-
Remove OneDrive from login items (if present)
- System Settings → General → Login Items (or Users & Groups → Login Items on older macOS) → remove OneDrive.
Verification & cleanup
- Restart your machine and confirm there’s no OneDrive icon in the menu/notification area.
- Search for “OneDrive” to ensure no remaining app files.
- If you plan to reinstall later, download the latest OneDrive installer from Microsoft’s site.
Troubleshooting
- Uninstall button missing: Kill OneDrive processes (Task Manager / Activity Monitor), then retry.
- Files stuck “online-only”: Ensure you have local copies before deleting the OneDrive folder.
- Permissions errors deleting files: Run file deletion as administrator (Windows) or use sudo in Terminal (macOS).
Quick commands (advanced users)
- Windows (uninstall via command):
powershell
%SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall # or for 64-bit %SystemRoot%\System32\OneDriveSetup.exe /uninstall
- macOS (remove app & support files via Terminal):
bash
pkill OneDrive rm -rf /Applications/OneDrive.app rm -rf ~/Library/Containers/com.microsoft.OneDrive rm -rf ~/Library/Application</span> Support/OneDrive rm -f ~/Library/Preferences/com.microsoft.OneDrive.plist
If you want, I can produce a one-click script for Windows (PowerShell) or macOS (shell) to automate these steps.
Leave a Reply