TechBuzzPro

Disable or Uninstall OneDrive on Windows 10 – Guide

· 6 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step‑By‑Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can permanently disable or uninstall OneDrive from Windows 10 by using built‑in settings, Group Policy, or a simple registry edit. The method you choose depends on whether you want to keep the program installed but stopped, or remove it entirely.

What You'll Need

  • Administrator access on the PC (you must be logged in as an admin or have admin credentials).
  • Windows 10 Pro, Enterprise, or Education for Group Policy method; Home edition can use the registry method.
  • A backup of any files stored only in the OneDrive folder, if you plan to delete the app.

Step‑By‑Step

  1. Decide which approach fits you. If you simply want OneDrive to stop syncing but keep the executable, use the Settings method. If you need the program gone, proceed to the uninstall or Group Policy/registry routes.
  2. Disable syncing via Settings (quickest).
    1. Press Win + I to open Settings.
    2. Navigate to Apps > Apps & features.
    3. Scroll down, locate Microsoft OneDrive, click it, then select Advanced options.
    4. Toggle Terminate to stop the process, then set Background apps to Never. This prevents OneDrive from restarting automatically.

    After these steps the OneDrive icon disappears from the taskbar, and no files will sync. The program remains on disk and can be re‑enabled later.

  3. Uninstall OneDrive via Settings (removes the app).
    1. Open Settings again with Win + I.
    2. Go to Apps > Apps & features.
    3. Find Microsoft OneDrive, click Uninstall, and confirm the prompt.

    Windows will remove the executable and related files. The OneDrive folder in your user profile stays behind; you can delete it manually if you no longer need it.

  4. Use Group Policy to block OneDrive (Pro/Edu/Enterprise only).
    1. Press Win + R, type gpedit.msc, and press Enter to launch the Local Group Policy Editor.
    2. Navigate to Computer Configuration > Administrative Templates > Windows Components > OneDrive.
    3. Double‑click the policy named Prevent the usage of OneDrive for file storage.
    4. Select Enabled, click Apply, then OK.
    5. Close the editor and restart the computer (or run gpupdate /force in an elevated Command Prompt).

    After the reboot the OneDrive client is disabled, the sync button is greyed out, and users cannot re‑enable it without changing the policy.

  5. Apply a registry tweak (works on all editions).
    1. Open the Registry Editor: press Win + R, type regedit, and press Enter. Accept the UAC prompt if it appears.
    2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows.
    3. If a OneDrive key does not exist under Windows, right‑click Windows, choose New > Key, and name it OneDrive.
    4. With the OneDrive key selected, right‑click the right pane, choose New > DWORD (32‑bit) Value, name it DisableFileSyncNGSC, and set its value to 1.
    5. Close the Registry Editor and restart the PC (or sign out and back in).

    This registry entry tells Windows to block the OneDrive sync client. The executable remains on disk, but it will not start automatically and the taskbar icon disappears.

  6. Delete leftover files (optional cleanup).
    1. Open File Explorer and go to C:\Users\%USERNAME%\AppData\Local\Microsoft\OneDrive. Delete the folder if it still exists.
    2. Also check C:\Program Files\Microsoft OneDrive and C:\Program Files (x86)\Microsoft OneDrive. Remove any remaining files.
    3. Finally, delete the user’s OneDrive folder (C:\Users\%USERNAME%\OneDrive) if you no longer need the copied files.

    These steps are optional but help reclaim disk space and avoid confusion later.

Common Mistakes

  • Skipping the restart. Many changes (Group Policy, registry) only take effect after a reboot or a gpupdate /force. Forgetting this leaves OneDrive appearing to work.
  • Editing the wrong registry hive. The key must be placed under HKEY_LOCAL_MACHINE. Adding it under HKEY_CURRENT_USER will not block OneDrive for all users.
  • Uninstalling without backing up. If you have files stored exclusively in OneDrive and not on the PC, uninstalling removes the sync client but does not delete cloud copies. However, you lose the convenient local copy unless you move it first.
  • Using the Home edition with Group Policy. Home does not include gpedit.msc. Attempting to run it will show an error; use the registry method instead.

Tips

  • Create a system restore point before modifying the registry. Search for "Create a restore point" in the Start menu, click Create, and give it a descriptive name.
  • If you only need a temporary pause, use the Settings > OneDrive > Pause syncing option instead of a full disable.
  • To re‑enable OneDrive after using the registry or Group Policy method, set the DisableFileSyncNGSC value back to 0 or change the policy to Not Configured, then restart.
  • Enterprise environments often enforce OneDrive via domain policies. In those cases local changes may be overwritten on the next policy refresh.
  • When uninstalling, Windows may prompt you to keep the OneDrive folder. Choose "Keep files" if you want to preserve the local copy for later use.

Troubleshooting

If OneDrive still appears after you have followed the steps, try the following checks in order:

  1. Restart the PC. A simple reboot resolves most lingering services.
  2. Verify the policy value. Open gpedit.msc again and confirm the "Prevent the usage of OneDrive" policy is still set to Enabled. If it reverted, another admin may have overwritten it.
  3. Check the registry entry. Open regedit and ensure DisableFileSyncNGSC is still 1. If the value changed, a script or third‑party tool may be resetting it.
  4. Look for a second OneDrive executable. Some Windows updates reinstall OneDrive to C:\Windows\System32\OneDriveSetup.exe. Run that installer with the /uninstall switch: open an elevated Command Prompt and type "C:\Windows\System32\OneDriveSetup.exe" /uninstall.
  5. Clear leftover scheduled tasks. Open Task Scheduler, navigate to Microsoft > Windows > OneDrive, and delete any tasks that might restart the client.
  6. Run System File Checker. Corrupted system files can cause the uninstall wizard to fail. In an elevated Command Prompt run sfc /scannow, then retry the uninstall.

If none of the above resolves the issue, consider creating a new local user account with admin rights and repeat the chosen method there. This isolates the problem to the original profile.

Frequently Asked Questions

Will disabling OneDrive delete my cloud files?

No. Disabling or uninstalling the client only stops local syncing. Your files remain safely stored in the Microsoft cloud unless you manually delete them from the OneDrive website.

Can I re‑enable OneDrive after I have disabled it with Group Policy?

Yes. Open the same policy location, set it to Not Configured or Disabled**, apply, and restart. The client will start normally again.

Do I need an internet connection to uninstall OneDrive?

No. The uninstall process uses files already present on the machine. However, an internet connection is required if you later want to download the latest version from Microsoft.

Why does the OneDrive icon keep reappearing after I delete the program?

Windows 10 periodically checks for missing system components and may reinstall OneDrive during major updates. Using the registry or Group Policy method prevents the automatic reinstall.

Is there any risk of breaking Windows by editing the registry?

Changing the specific DisableFileSyncNGSC value is low‑risk, but always back up the registry or create a restore point first. Incorrectly editing other keys can cause system instability.

Can I use the same steps on Windows 11?

The steps are largely identical, though the Settings UI may look slightly different. The Group Policy and registry keys remain the same.