How to Enable or Disable OneDrive in Windows 11
You can enable or disable OneDrive in Windows 11 to control cloud file syncing and storage on your PC.
OneDrive is Microsoft’s cloud storage service built right into Windows 11. It lets you back up and access your files from different devices. By default, OneDrive syncs your Desktop, Documents, and Pictures folders to the cloud.
You might want to disable OneDrive if you prefer keeping files stored locally or use another cloud service. Turning it off stops automatic file syncing to Microsoft’s servers.
This guide will walk you through managing OneDrive settings on your Windows 11 PC. You’ll learn how to activate or deactivate the service.
You can disable OneDrive using the Local Group Policy Editor by navigating to Computer Configuration > Administrative Templates > Windows Components > OneDrive, and enabling “Prevent the usage of OneDrive for file storage.” Alternatively, use the Registry Editor to set DisableFileSyncNGSC to 1. Restart your PC after making changes.
How to Turn On or Off OneDrive Using the Local Group Policy Editor
You can easily turn OneDrive on or off for everyone on your Windows 11 PC using the Local Group Policy Editor, but you’ll need to be an administrator to make these changes.
- Click the Start button and type
Edit group policy. - Click on the Edit group policy app from the search results.
- 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 - On the right side, find and double-click the setting named
Prevent the usage of OneDrive for file storage. - 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.
- Choose the option you want, click OK, then close the Local Group Policy Editor.
- Restart your computer to make the change take effect.

How to Turn On or Off OneDrive Using the Windows Registry
If you can’t access the Group Policy Editor, you can still turn OneDrive on or off using the Windows Registry, just be careful because changing the wrong things can cause issues.
- Press
Win + Ron your keyboard, typeregedit, and press Enter to open the Registry Editor. - Navigate to this folder path by expanding the folders on the left:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OneDrive - If you don’t see the OneDrive folder, right-click on Windows, choose
New > Key, and name itOneDrive. - Click on the OneDrive folder. On the right side, right-click and choose
New > DWORD (32-bit) Value. - Name the new value:
DisableFileSyncNGSC. - Double-click on
DisableFileSyncNGSCand set the value to:1to turn OneDrive off0to turn OneDrive on
- Click OK, close the Registry Editor, and restart your computer.

What Happens When OneDrive Is Disabled?
When you turn off OneDrive in Windows 11, you won’t be able to open the app or use it in other programs, and your files will stop syncing to the cloud.
- 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 in Windows 11, and you can easily turn it on or off using either the Group Policy Editor or the Windows Registry.- 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.
Do you get OneDrive with 🪟 Windows 11?
If you have Windows 11, OneDrive is already installed on your PC. If you're using another version of Windows, install OneDrive to get started.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips 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.
No comments yet — be the first to share your thoughts!