How to Turn Off OneDrive in Windows 11
In this article
Yes, you can disable or turn off OneDrive in Windows 11. Doing so stops automatic file syncing, removes the OneDrive folder from File Explorer, and prevents background syncing. However, your files remain safe in the cloud. This guide walks you through multiple methods to disable OneDrive depending on your needs—whether you want to stop syncing, hide the folder, or fully disable the app. Note that OneDrive is deeply integrated into Windows 11, so complete removal isn’t possible without advanced steps, but disabling it effectively stops its functionality.
What You'll Need
- A Windows 11 device with administrator access
- Your Microsoft account credentials (if signing out)
- Optional: External storage or another cloud service if you plan to move files
Step-by-Step
- Open the Start menu, type "OneDrive", and select the OneDrive desktop app. This launches the OneDrive setup window if it’s not already running.
- Right-click the OneDrive icon in the system tray (near the clock) and select Settings. If you don’t see the icon, press the up-arrow to reveal hidden icons.
- In the Settings window, go to the Account tab and click Unlink this PC. Confirm when prompted. This stops syncing but keeps your files in the cloud.
- To prevent OneDrive from launching at startup, press Ctrl + Shift + Esc to open Task Manager.
- Go to the Startup tab, find Microsoft OneDrive, right-click it, and select Disable.
- To remove the OneDrive folder from File Explorer, open File Explorer and right-click OneDrive under Home. Select Unpin from Quick access. This hides it from view but doesn’t delete files.
- For deeper integration removal, open the Run dialog (Win + R), type
gpedit.msc, and press Enter. This opens the Local Group Policy Editor (only available in Windows 11 Pro, Education, or Enterprise). - Navigate to Computer Configuration > Administrative Templates > OneDrive.
- Double-click Prevent the usage of OneDrive for file storage, select Enabled, and click OK. This disables OneDrive system-wide.
- If you’re on Windows 11 Home, which lacks Group Policy, use the Registry Editor: Press Win + R, type
regedit, and press Enter. - Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OneDrive. If the OneDrive key doesn’t exist, right-click Windows, select New > Key, and name it OneDrive. - Create a new DWORD (32-bit) Value named
DisableFileSync. Right-click in the right pane, select New > DWORD (32-bit) Value, and name it exactly. - Double-click
DisableFileSync, set its value to 1, and click OK. - Restart your computer. After reboot, OneDrive will no longer sync or appear in File Explorer.
Common Mistakes
One of the most frequent errors is unlinking OneDrive without disabling startup, allowing it to relaunch after reboot. Another is assuming that unlinking deletes cloud files—it doesn’t. Users often forget that the Group Policy method only works on Pro or Enterprise editions. Attempting to delete OneDrive files locally without backing them up first risks data loss. Also, editing the registry without creating a backup can lead to system instability if incorrect keys are modified.
Tips
Before disabling OneDrive, back up important files to another location. Use the OneDrive website to verify your files are safely stored in the cloud. If you only want to stop syncing specific folders, use the Choose folders option in OneDrive Settings instead of disabling entirely. Consider using alternative cloud services like Google Drive or Dropbox if you need continuous syncing. Disabling OneDrive via Group Policy or Registry is permanent until reversed, so document your changes.
Troubleshooting
If OneDrive keeps reopening after disabling startup, check Task Scheduler: Open Task Scheduler, go to Task Scheduler Library, find tasks under Microsoft > Windows > OneDrive, and disable them. If the registry method doesn’t apply, ensure the path and DWORD name are spelled exactly. If you get access denied in Registry Editor, run it as administrator. After Group Policy changes, run gpupdate /force in Command Prompt (admin) to apply settings immediately. If OneDrive still appears in File Explorer, restart the computer or sign out and back in. If syncing resumes, double-check that you unlinked the PC and disabled startup entries.
Frequently Asked Questions
Does turning off OneDrive delete my files?
No. Your files remain safe in the cloud. Locally, files stay on your PC unless you manually delete them.
Can I re-enable OneDrive later?
Yes. Re-enable the startup entry, relink your account in the OneDrive app, and reverse any Group Policy or Registry changes.
Why can’t I find Group Policy Editor?
It’s only available on Windows 11 Pro, Education, and Enterprise. Home users must use the Registry method.
Does disabling OneDrive improve performance?
Slightly. It stops background syncing and reduces CPU or disk usage if OneDrive was active, especially on low-end devices.
Will apps that use OneDrive stop working?
Some apps may fail to save to OneDrive, but most will default to other locations. The Documents or Pictures folders may revert to local storage.
Can I remove OneDrive completely?
No. Windows 11 doesn’t allow full removal, but disabling it via Policy or Registry effectively stops all functionality.