Trying to remove all traces of the OneDrive folder and lost everything.

Brad Kitten 20 Reputation points
2025-12-18T15:00:01.95+00:00

I am trying to remove all traces of OneDrive. I have stopped the sync. I saved all the data in the OneDrive folder to a thumb drive. I removed the OneDrive folder and created the Desktop, Pictures and other files folders under my user account. When I rebooted everything was gone. I had to recover everything back the way it was. How do I remove all traces of OneDrive and not lose my desktop, etc.?

Windows for home | Windows 11 | Files, folders, and storage
0 comments No comments

Answer accepted by question author
EmilyS726 264.9K Reputation points Independent Advisor
2025-12-18T20:20:56.2533333+00:00

Hello.

Assuming you still have all of the data safely backed up, right?

The mistake here is that you should have turned off folders back up in Onedrive settings first, that would return all of the folders back to its path, and you shoudln't have to create your own desktop, documents folder, etc.

I assume Onedrive is uninstalled now? If so, Please type regedit in the search on the taskbar to launch registry editor, and go to this path, then take a screenshot and share in your reply.

Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

Was this answer helpful?

0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Brad Kitten 20 Reputation points
    2025-12-18T20:49:00.38+00:00

    User's image

    Was this answer helpful?


  2. EmilyS726 264.9K Reputation points Independent Advisor
    2025-12-18T20:46:33.71+00:00

    Do you mind sharing it as an actual screenshot instead, exactly how it shows in registry.

    I think I do see a few folders we need to make edits, but with registry edits, I need to be 100% sure.

    Once I get the screenshot from you, I will highlight them and tell you which ones to edit.

    To take screenshot, hold down Win+Shift +S keys, and select the area you want to take screenshot, then use ctrl+V to post here.

    Was this answer helpful?

    0 comments No comments

  3. Brad Kitten 20 Reputation points
    2025-12-18T20:42:30.04+00:00

    here you go regedit.pdf

    Was this answer helpful?

    0 comments No comments

  4. AI answer

    2025-12-18T15:01:19.18+00:00

    To remove all traces of OneDrive without losing your desktop and other important files, follow these steps:

    1. Stop OneDrive Sync: Ensure that you have stopped syncing in OneDrive. You can do this by right-clicking the OneDrive icon in the taskbar and selecting "Settings" > "Account" > "Unlink this PC".
    2. Backup Important Files: Before proceeding, make sure you have backed up all important files from your OneDrive folder to an external drive or another safe location.
    3. Remove OneDrive Folder: If you haven't already, you can delete the OneDrive folder from your user profile. Ensure you are not deleting files that are needed for your desktop or other folders.
    4. Clear Cached Credentials: To ensure that all traces of OneDrive are removed, you can clear cached credentials for OneDrive for Business if applicable. This can be done by:
      • Signing out of OneDrive.
      • Removing the folders %localappdata%/Microsoft/OneAuth and %localappdata%/Microsoft/IdentityCache.
    5. Uninstall OneDrive: If you want to completely remove OneDrive from your system, you can uninstall it:
      • Go to "Settings" > "Apps" > "Apps & features".
      • Find OneDrive in the list, click on it, and select "Uninstall".
    6. Check for Remaining Files: After uninstalling, check your user profile and other locations for any remaining OneDrive folders or files and delete them if necessary.
    7. Reboot Your Computer: Restart your computer to ensure all changes take effect.

    By following these steps, you should be able to remove OneDrive without losing your desktop and other important files. Make sure to double-check that all your important data is backed up before you start the removal process.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.