Windows

How to Enable or Disable OneDrive in Windows 11

Richard
Written by
Richard
Feb 15, 2026 Updated Mar 31, 2026 3 min read
How to Enable or Disable OneDrive in Windows 11

OneDrive is a cloud storage service that comes built into Windows 11. It helps you save your files online so you can access them from any device like your phone, tablet, or another computer.

Why use OneDrive? When you use OneDrive, any changes you make to files on your computer automatically update in the cloud, and vice versa. Even if you’re not connected to the internet, you can still open your files on your computer. OneDrive will sync everything once you go online again.

By default, your OneDrive folder is located here on your PC: C:\Users\generic_user\OneDrive.

Below, you’ll find simple step-by-step ways to turn OneDrive on or off on your Windows 11 PC.

How to Turn On or Off OneDrive Using the Local Group Policy Editor

Why use this method? This method is good if you want to control OneDrive for all users on your computer. Note: This requires admin privileges.

  1. Click the Start button and type Edit group policy.
  2. Click on the Edit group policy app from the search results.
  3. In the window that opens, look at the left side and follow this path by clicking each folder: Computer Configuration > Administrative Templates > Windows Components > OneDrive
  4. On the right side, find and double-click the setting named Prevent the usage of OneDrive for file storage.
  5. A new window will open with three options:
    • Not Configured (default) – OneDrive works normally.
    • Enabled – OneDrive is turned off and cannot be used.
    • Disabled – OneDrive is turned on and works normally.
  6. Choose the option you want, click OK, then close the Local Group Policy Editor.
  7. Restart your computer to make the change take effect.
Open Edit Group Policy in Windows 11

How to Turn On or Off OneDrive Using the Windows Registry

Why use this method? If you don’t have access to the Group Policy Editor, you can use the Registry Editor instead. Be careful with this tool because changing the wrong settings can cause problems. This requires admin privileges.

  1. Press Win + R on your keyboard, type regedit, and press Enter to open the Registry Editor.
  2. Navigate to this folder path by expanding the folders on the left: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OneDrive
  3. If you don’t see the OneDrive folder, right-click on Windows, choose New > Key, and name it OneDrive.
  4. Click on the OneDrive folder. On the right side, right-click and choose New > DWORD (32-bit) Value.
  5. Name the new value: DisableFileSyncNGSC.
  6. Double-click on DisableFileSyncNGSC and set the value to:
    • 1 to turn OneDrive off
    • 0 to turn OneDrive on
  7. Click OK, close the Registry Editor, and restart your computer.
Windows Registry OneDrive key

What Happens When OneDrive Is Disabled?

What happens when done?

  • You won’t be able to open OneDrive from its app or the file picker window.
  • Apps from the Microsoft Store won’t be able to use OneDrive.
  • OneDrive will not show up in the File Explorer sidebar.
  • Your files won’t sync with the cloud anymore.
  • Photos and videos won’t automatically upload from your camera roll.

How to Uninstall OneDrive from Windows 11

If you want to completely remove OneDrive from your PC, you can uninstall it.

Follow the detailed guide here: How to uninstall and remove OneDrive from Windows 11

More Help and Official Information

For official Microsoft help, check out their page here: Microsoft OneDrive Support

Summary

  • OneDrive helps you save and access files online on Windows 11.
  • You can turn OneDrive on or off using the Local Group Policy Editor or Windows Registry.
  • Turning OneDrive off stops syncing and removes it from File Explorer.
  • If you want, you can completely uninstall OneDrive from your PC.
  • Always restart your computer after making changes for them to work.

Was this guide helpful?

Tags: #Windows 11
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, the owner and lead writer at Geek Rewind, is a tech enthusiast passionate about simplifying complex IT topics. His years of hands-on experience in system administration and enterprise IT operations have honed his ability to provide practical insights and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

2457 articles → Twitter

📚 Related Tutorials

How to Uninstall and Reinstall OneDrive on Windows 11
Windows How to Uninstall and Reinstall OneDrive on Windows 11
How to Enable or Disable OneDrive in File Explorer Navigation Pane in Windows 11
Windows How to Enable or Disable OneDrive in File Explorer Navigation Pane in Windows 11
How to Remove Home Folder from Windows 11 File Explorer
Windows How to Remove Home Folder from Windows 11 File Explorer
How to Manage OneDrive Photos in Microsoft Photos App
Windows How to Manage OneDrive Photos in Microsoft Photos App

Leave a Reply

Your email address will not be published. Required fields are marked *