Skip to content
Follow
Windows

How to Enable or Disable OneDrive in Windows 11

Richard
Written by
Richard
Feb 15, 2026 Updated Jul 10, 2026 4 min read
How to Enable or Disable OneDrive in Windows 11
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.

⚡ Quick Answer

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.

  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
windows 11 edit group policy

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.

  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
windows 11 onedrive key in windows registry

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

⚠️Warning
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 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?

Tags: #Windows 11
Was this helpful?
Richard

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.

📚 Related Tutorials

How to Enable or Disable Regedit in Windows 11
Windows How to Enable or Disable Regedit in Windows 11
How to Uninstall and Reinstall OneDrive on Windows 11
Windows How to Uninstall and Reinstall OneDrive on 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 hide OneDrive in File Explorer Windows 11
Windows How to hide OneDrive in File Explorer Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

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