How to Disable OneDrive Windows 10
In this article
Yes, you can disable OneDrive in Windows 10 to stop it from syncing files and launching at startup. This is useful if you prefer another cloud storage service or want to prevent background processes from using system resources. Disabling OneDrive does not delete your files from the cloud, but it removes the local sync client. You can still access your files online at onedrive.live.com. Before proceeding, ensure you’ve backed up any locally stored OneDrive files you want to keep, as unlinking may affect access. Note that labels in menus may vary slightly depending on your Windows 10 version, device, or region.
What You'll Need
- A Windows 10 PC with administrator access
- Your Microsoft account credentials (if prompted)
- Optional: external storage or another cloud service for file backup
Step-by-Step
- Save and close any open files syncing with OneDrive to prevent data loss during the process.
- Click the OneDrive cloud icon in the system tray (bottom-right corner near the clock). If you don’t see it, click the upward arrow to reveal hidden icons.
- Right-click the OneDrive icon and select “Settings” from the context menu.
- In the Settings tab of the OneDrive window, click “Unlink this PC” and confirm when prompted. This stops file syncing but keeps your files in the cloud.
- After unlinking, right-click the OneDrive icon again and choose “Close OneDrive” to exit the app completely.
- Press the Windows key, type “Task Manager,” and open the app.
- Go to the “Startup” tab, find “Microsoft OneDrive” in the list, right-click it, and select “Disable” to prevent it from launching at startup.
- Press Windows + R to open the Run dialog, type
gpedit.msc, and press Enter. (Note: This step only works on Windows 10 Pro, Education, or Enterprise editions. Skip if you’re on Home edition.) - In the Local Group Policy Editor, navigate to Computer Configuration > Administrative Templates > Windows Components > 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 10 Home and
gpedit.mscis not available, use the Registry Editor instead: Press Windows + R, typeregedit, press Enter, and navigate toHKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OneDrive. - If the OneDrive key doesn’t exist, right-click “Windows,” select New > Key, and name it “OneDrive.”
- Inside the OneDrive key, right-click the right pane, select New > DWORD (32-bit) Value, and name it
DisableFileSyncNGSC. - Double-click the new value, set its data to
1, and click OK. This disables file syncing via registry. - Restart your computer to apply the changes.
- After reboot, verify OneDrive is not running by checking the system tray and Task Manager’s Processes tab.
Common Mistakes
- Forgetting to unlink the PC before disabling startup, which can cause sync errors or failed uploads.
- Editing the wrong registry key or value, which may affect other system functions. Always double-check the path and value name.
- Assuming disabling OneDrive removes files from the cloud—your online files remain intact and accessible via the web.
- Not disabling OneDrive in both the Settings and Startup tabs, allowing it to relaunch after reboot.
- Skipping the reboot, which is necessary for Group Policy or registry changes to take effect.
Tips
- Before unlinking, move important files from your local OneDrive folder to another location to avoid confusion.
- Use the OneDrive website to download any files you need offline access to after disabling the app.
- If you later want to re-enable OneDrive, reverse the registry or Group Policy change and restart.
- Consider using alternative cloud services like Google Drive or Dropbox with their own sync clients.
- Check Task Manager regularly to ensure no unwanted apps are set to start with Windows.
Troubleshooting
If OneDrive keeps reappearing after being disabled, first ensure you’ve both unlinked the PC and disabled it in Startup. If the issue persists, check for Windows updates—some updates may reset OneDrive settings. If you used the registry method, confirm the DisableFileSyncNGSC value is set to 1 and located under the correct key. On Home edition, if gpedit.msc is missing, the registry method is your only option. If OneDrive starts after reboot despite being disabled, another user account may be syncing—repeat the steps under each account. If the OneDrive process still runs, manually end it in Task Manager and investigate if a system restore or third-party software is re-enabling it. As a last resort, consider using a script or third-party tool to block OneDrive executables, but only from trusted sources.
Frequently Asked Questions
Does disabling OneDrive delete my files?
No, your files remain safe in the cloud and can be accessed online. Only the local sync client is removed.
Can I re-enable OneDrive later?
Yes. Reverse the Group Policy or registry change, restart, and sign in to OneDrive again.
Why doesn’t gpedit.msc work on my PC?
Group Policy Editor is only available on Windows 10 Pro, Education, and Enterprise. Use the registry method on Home edition.
Will disabling OneDrive improve system performance?
Slightly. It frees up memory and CPU usage from the background sync process, especially on older machines.
Can I still use OneDrive without the app?
Yes. Visit onedrive.live.com in your browser to upload, download, and manage files.
Does this work on Windows 11?
Most steps are similar, but some paths may differ. The registry and startup methods still apply.