Forum Discussion

ElijahWood's avatar
ElijahWood
Iron Contributor
Apr 15, 2026

How to Completely Uninstall OneDrive from Windows 11 and Remove All Traces?

Hello everyone,

Recently got a new Windows 11 laptop but very annoyed by the OneDrive app. Honestly, I've been trying to uninstall OneDrive completely from my computer. I don't just want to remove the app itself, but also clear out any leftover files and settings that may still be lingering after the uninstallation.

Can anyone guide me through the process of completely uninstalling OneDrive from Windows 11 and ensuring that no traces are left behind?

Any help would be much appreciated!

7 Replies

  • Phillip's avatar
    Phillip
    Bronze Contributor

    Go to control panel in windows 11 settings and uninstall one drive from there.

  • Jaxx-x's avatar
    Jaxx-x
    Brass Contributor

    If you're tired of wrestling with OneDrive on your Windows 11 laptop and want a straightforward way to remove it, Winhance offers a refreshingly simple solution. Unlike the built-in Settings menu, which often leaves the uninstall button grayed out.

    Here is a step-by-step guide on how to uninstall OneDrive in Windows 11 using Winhance:

    Step 1: Download and Launch Winhance

    Step 2: Navigate to the Software Management Section

    • Once Winhance opens, you will see a clean, modern dashboard. Look for the section labeled "Software & Apps" or "Remove Windows Apps" . This is where you will find a list of all the built-in Windows components.

    Step 3: Select OneDrive for Removal

    • In the list of applications, you will see checkboxes next to various items like Microsoft Edge, Copilot, and Recall . Simply check the box next to OneDrive.

    Step 4: Execute the Uninstallation

    • After selecting OneDrive, look for the button that says "Remove Selected Items" . Click it, and let Winhance work. It will automatically handle the process, and you should see a confirmation that OneDrive has been successfully removed from your system.

     

    The above is about Winhance and how to uninstall onedrive in Windows 11.

  • Zaidpin's avatar
    Zaidpin
    Copper Contributor

    How to uninstall onedrive in Windows 11? OneDrive stores files in two places: your local computer and the Microsoft cloud. Before you begin, please ensure any important files you want to keep are safely stored outside of the OneDrive folder (e.g., on your Desktop or in your Documents folder) or verify they are still accessible on the OneDrive website.

    If you want a more automated and complete removal that includes leftover files and registry entries, you can create a simple batch script. This method is very effective and has been shared by users in technical forums for Windows 10 and 11.

    Here's how to uninstall onedrive in Windows 11:

    1. Open Notepad (or any text editor).

    2. Copy and paste the lines of code into the Notepad window.

    3. Click File > Save As.

    4. In the "Save as type" dropdown, select All Files (.).

    5. Name the file UninstallOneDrive.bat (the .bat extension is important).

    6. Save the file to your desktop or another easy-to-find location.

    7. Right-click on the UninstallOneDrive.bat file and select Run as administrator.

    8. A command window will open and run the script automatically, removing OneDrive and cleaning up its traces.

    After the script finishes, restart your computer to complete the process.

  • OakleyCruz's avatar
    OakleyCruz
    Iron Contributor

    Removing OneDrive from the registry is a thorough deep-clean method that completely uninstall one drive from windows 11 and removes all system remnants that are often left behind by the standard uninstallation process.

    It helps you delete hidden registry entries, startup items, and system configurations related to OneDrive, ensuring no residual components remain on your device.

    Note: Be sure to back up the registry before making any changes.

    Instructions: Press Win + R, type regedit, and press Enter to open the Registry Editor. Navigate to the following keys and delete them if they exist on your system:

    • HKEY_CLASSES_ROOT\CLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6}
    • HKEY_CLASSES_ROOT\Wow6432Node\CLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6}
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\OneDrive
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\OneDrive
    • HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OneDrive

    After deleting these registry keys, press Ctrl + F to search for “OneDrive” and delete any remaining OneDrive-related entries you find. Restart your computer to apply all changes.

    It reliably helps you completely uninstall one drive from windows 11 without leaving any traces behind.

    It is designed to thoroughly remove OneDrive after uninstallation, disable automatic reactivation, and clean up system settings that cause OneDrive processes or icons to remain.

  • You can first uninstall the app from Settings > Installed apps > OneDrive.

    Press Win+R, type following and press Enter:

    C:\Windows\System32\OneDriveSetup.exe /uninstall /allusers

    Next open Registry Editor using regedit command.

    Go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OneDrive.

    In the right pane, create/set/update DisableFileSyncNGSC to 1.

    Restart the system.

    P.S. If you're new to registry, create a System Restore point before editing it.

  • Mikaeliop's avatar
    Mikaeliop
    Iron Contributor

    Uninstalling the OneDrive app is the most direct way to completely uninstall one drive from windows 11 and delete its main program from the system.

    When a standard uninstallation fails to fully remove the app, you can use these two reliable methods.

    Step 1: Using Settings

    • Open Windows Settings.
    • Go to Apps → Installed apps.
    • Search for Microsoft OneDrive.
    • Click the three-dot menu → Uninstall
    • Confirm the uninstallation

    Step 2: Using the Command Line

    • Open Command Prompt as an administrator.
    • Run the following command:

    %SystemRoot%\System32\OneDriveSetup.exe /uninstall

    • Wait 30–60 seconds for the process to complete.

    These two methods will effectively help you completely uninstall one drive from windows 11 and remove its main application from your device.

     

  • AAbner's avatar
    AAbner
    Iron Contributor

    Unlinking OneDrive is the basic step to completely uninstall OneDrive from Windows 11 and stop it from syncing with your computer.

    This action will disconnect your account, but it will not delete local files or cloud data, so you can safely remove the account before performing a full uninstallation.

    How to completely uninstall one drive from windows 11

    1. Locate the OneDrive icon in the system tray.

    2. Right-click the OneDrive icon.

    3. Click the gear-shaped Settings icon, then switch to the Accounts tab.

    4. Click the “Unlink this PC” option.

    5. In the pop-up window, select “Unlink account” to confirm the action.

    Once the association is removed, OneDrive will stop syncing, and you can proceed to uninstall it completely.

    You must complete this step before fully uninstalling OneDrive in Windows 11 to avoid errors or leftover services.

    Cons

    • This only unlinks the account; it does not completely uninstall OneDrive from Windows 11 or delete its system files.
    • After unlinking, the OneDrive service and background processes may still run automatically.
    • You cannot remove OneDrive’s built-in system components or disable its startup items.
    • This is not a complete uninstallation; the app will remain on your system and can be easily relinked.
    • Residual registry entries or local configuration data will not be cleaned up.