To permanently disable OneDrive, you need to turn it off in Windows settings, stop it from starting with your PC, and remove it from File Explorer. This stops syncing, frees up system resources, and prevents OneDrive from reappearing after updates. Before you begin, back up any files that exist only in OneDrive to another location, because disabling OneDrive does not delete your cloud files, but it does stop local access to them.
What You'll Need
- A Windows 10 or Windows 11 PC with administrator rights.
- Access to your Microsoft account (optional, for verifying cloud files).
- A local backup of any important files currently stored only in OneDrive.
Step-by-Step
- Unlink OneDrive from your Microsoft account. Click the OneDrive cloud icon in the notification area (system tray). Select the gear icon, then Settings. On the Account tab, click Unlink this PC. This stops syncing but leaves local files in place.
- Exit OneDrive completely. Right-click the OneDrive icon in the system tray and choose Quit OneDrive. If the icon is hidden, click the up-arrow near the clock to find it.
- Disable OneDrive startup. Press Ctrl + Shift + Esc to open Task Manager. Go to the Startup tab (or Startup apps in Windows 11). Find Microsoft OneDrive, right-click it, and select Disable.
- Turn off OneDrive in Settings. Open Settings > Apps > Installed apps (Windows 11) or Settings > Apps > Apps & features (Windows 10). Search for OneDrive. Click the three-dot menu and choose Uninstall. If Uninstall is greyed out, proceed to the next step.
- Remove OneDrive via Group Policy (Windows Pro and Enterprise). Press Win + R, type gpedit.msc, and press Enter. Navigate to Computer Configuration > Administrative Templates > Windows Components > OneDrive. Double-click Prevent the usage of OneDrive for file storage, select Enabled, and click OK. Restart your PC.
- Remove OneDrive from File Explorer. Open File Explorer, right-click OneDrive in the left navigation pane, and select Unpin from Quick Access. To remove the folder icon entirely, you may need to edit the registry: press Win + R, type regedit, and navigate to HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}. Double-click System.IsPinnedToNameSpaceTree and set the value to 0. Restart File Explorer.
- Delete leftover OneDrive folders (optional). If you no longer need the local OneDrive folder, delete it manually from C:\Users\YourName\OneDrive. Make sure all important files are backed up elsewhere first.
- Restart your computer. After restarting, check that OneDrive does not launch and that the folder is gone from File Explorer. If it reappears, repeat steps 3 and 5.
Common Mistakes
- Deleting the OneDrive folder before backing up. Files that exist only in the cloud will become inaccessible locally. Always copy important data to another drive first.
- Only quitting OneDrive from the tray. This is temporary; OneDrive restarts with Windows unless you disable it in Task Manager or Group Policy.
- Uninstalling OneDrive on a work or school PC. Organisational policies may block removal or reinstall it automatically. Check with your IT administrator before making changes.
- Editing the registry without a backup. Registry changes are powerful; export a backup before modifying any key.
- Assuming uninstalling removes cloud files. Uninstalling OneDrive does not delete your files from the Microsoft cloud. They remain accessible via the OneDrive website.
Tips
- If you only want to stop syncing temporarily, use Pause syncing from the OneDrive menu instead of disabling it entirely.
- Windows 11 sometimes reinstalls OneDrive after major updates. Check the Startup tab after each feature update.
- For a cleaner removal, use the official OneDrive uninstaller from Microsoft's website rather than third-party tools.
- If you use Microsoft 365 apps, disabling OneDrive does not affect Office; you can still save files locally.
- Keep a copy of your important files on an external drive or another cloud service before making changes.
Troubleshooting
- OneDrive keeps reappearing after restart. Recheck the Startup tab in Task Manager and ensure the Group Policy setting is enabled. On Windows Home, use the registry method: navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run and delete the OneDrive entry.
- Uninstall option is greyed out. This usually means OneDrive is managed by your organisation. Contact your IT department or use the Group Policy method if you have administrator rights.
- Files missing after disabling. Check the OneDrive website to confirm your files are still in the cloud. If they are, download them before deleting any local folders.
- File Explorer still shows OneDrive. The registry edit in step 6 may need a full restart, not just a File Explorer restart. Sign out and back in, or reboot.
- Error when unlinking. Make sure you are signed in to the correct Microsoft account and that no files are actively syncing. Pause syncing first, then unlink.
Frequently Asked Questions
Does disabling OneDrive delete my files?
No. Disabling or uninstalling OneDrive does not delete files from the Microsoft cloud. Local copies remain until you delete them manually. Your cloud files stay accessible through the OneDrive website.
Can I re-enable OneDrive later?
Yes. You can reinstall OneDrive from the Microsoft website or re-enable it through Settings. Sign in with your Microsoft account to resume syncing.
Will disabling OneDrive affect Microsoft Office?
No. Office applications continue to work normally. You can save files to your local drive or another cloud service instead of OneDrive.
Is it safe to remove OneDrive on a work computer?
Only if your organisation allows it. Many workplaces manage OneDrive through company policy, and removing it may violate IT rules or be reversed automatically. Check with your IT administrator first.
Why does OneDrive come back after Windows updates?
Some Windows feature updates reinstall or re-enable OneDrive. After a major update, check the Startup tab and Group Policy setting again to confirm it remains disabled.
Do I need to uninstall OneDrive to stop it syncing?
No. Unlinking your account and disabling startup is enough to stop syncing. Uninstalling removes the application entirely, which is optional.