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.
OneDrive deactivation benefits users who prefer local file storage or use alternative cloud services. Turning off OneDrive stops automatic file syncing to Microsoft's servers, ensuring files remain only on the user's computer.
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 turn OneDrive on or off for all users on your Windows 11 computer using the Local Group Policy Editor. This method requires administrator access to change these settings. Following a few simple steps in the Group Policy Editor will let you disable or enable OneDrive.
- 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
You can enable or disable OneDrive on Windows 11 using the Windows Registry if you don’t have access to the Group Policy Editor. Be cautious when making registry changes, as incorrect modifications can cause system problems. This guide shows you how to safely adjust the registry to control OneDrive.
- 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 disable OneDrive on Windows 11, its app becomes inaccessible, and it stops syncing your files to the cloud. You won’t be able to open OneDrive from its icon or within other applications, and it will disappear from File Explorer. Apps from the Microsoft Store also lose OneDrive access.
- 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
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 is a service for saving and accessing your files online in Windows 11. You can easily turn OneDrive on or off using either the Local Group Policy Editor or the Windows Registry. Disabling OneDrive stops file syncing and removes it from File Explorer.- 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!