How Do I Safely Factory Reset My PC Without Losing Documents Stored in OneDrive?

Cary Thorp 0 Reputation points
2026-11-07T23:01:31.6466667+00:00

Before donating my PC, I want to perform a factory reset to ensure that all my personal information, files, and documents are completely removed from the computer.

However, I want to make sure I do not accidentally delete any documents that are stored in the Microsoft cloud (OneDrive).

When I look at the C: drive on my PC, I see Microsoft Office installed, along with folders containing my documents. I was under the impression that my documents were stored in OneDrive (the cloud), rather than directly on my computer.

I can also access these same documents from other computers, which makes me believe they are stored in the cloud.

My questions are:

  1. Are my documents stored in OneDrive, on my PC's hard drive, or in both locations?
  2. If I perform a factory reset and select "Remove everything," will my documents stored in OneDrive remain safe in the cloud?
  3. How can I verify that all my documents are safely backed up to OneDrive before resetting my PC?
  4. What steps should I take to ensure that none of my personal documents or information are accidentally deleted from my Microsoft account when I erase my PC?

I want to make sure I can completely wipe my PC before donating it while keeping all my documents safely accessible through my Microsoft 365 account.

Thank you for your help!

Microsoft 365 and Office | OneDrive | For home | Windows
0 comments No comments

2 answers

Sort by: Newest
  1. Marcin Policht 112.6K Reputation points MVP Volunteer Moderator
    2026-11-07T23:28:52.6866667+00:00

    Your documents may be stored in OneDrive, on your PC's local hard drive, or in both locations. This depends on how OneDrive is configured on your computer. If you can access the same documents from other computers, that is a good indication that they are synchronized with OneDrive. You can also determine this by checking icons of files/folders in OneDrive - more at https://support.microsoft.com/en-us/onedrive/what-do-the-onedrive-icons-mean#tabpanel_1_file-explorer

    When you use the Windows Reset this PC feature and select Remove everything, Windows removes your local files, applications, and settings. However, this does not delete files stored in your OneDrive cloud account. Those files remain accessible through your Microsoft 365 account, provided they have successfully synchronized to OneDrive.

    To verify that your documents are safely stored in OneDrive, open File Explorer and look at the status icons next to your files and folders. A green checkmark indicates that a file is available locally and synchronized with OneDrive. A blue cloud icon indicates that the file is stored in OneDrive but is not necessarily downloaded to your computer. A circular synchronization icon indicates that synchronization is still in progress. You should make sure there are no synchronization errors or pending uploads before resetting the computer.

    You can also verify your files independently by opening OneDrive on the web and signing in with the same Microsoft account you use on your PC. Check that your Documents, Desktop, Pictures, and any other important folders contain the files you expect to retain. Opening a few documents directly from the website is also a good way to confirm that they are accessible in the cloud.

    Before resetting your PC, first, open the OneDrive application and make sure synchronization has completed successfully. Next, sign in to OneDrive through a web browser and verify that your important documents are present. If you have files stored in other locations on your C: drive that are not part of your OneDrive folders, copy them to OneDrive or another backup location. Finally, once you have verified that everything is safely stored in the cloud, go to Settings > System > Recovery > Reset this PC, select Remove everything, and follow the instructions. If available, select Clean data to make it more difficult for someone receiving the PC to recover your previously stored files.

    One additional precaution: before donating the computer, make sure you have disconnected your Microsoft account and signed out of applications such as Office, OneDrive, and any other services associated with your account. You can also remove the donated PC from your Microsoft account's device list at https://account.microsoft.com/devices.


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-11-07T23:02:19.42+00:00

    Verify every required folder at OneDrive online, unlink the PC from OneDrive, and then reset Windows using Remove everything with Clean data enabled; this removes local data without deleting the verified cloud copies.

    Where your files are stored

    Files displayed under the OneDrive folder in File Explorer can be:

    • Cloud only: A blue-cloud icon means the file is stored online and does not occupy local disk space.
    • Cloud and locally cached: A white circle with a green check means the file is in OneDrive and has also been downloaded.
    • Cloud and permanently available locally: A solid green circle with a white check means Always keep on this device is enabled.

    The local status does not determine whether the file has uploaded successfully; verify that separately online. Microsoft Office being installed on C: is unrelated to where its documents are saved. Documents outside the OneDrive folder might be local only. ^1^

    Before resetting

    1. Finish and check synchronization
      • Select the OneDrive cloud icon in the taskbar.
      • Wait until it no longer reports syncing.
      • Resolve any red-cross error or pending-sync indicator before continuing. Those indicators mean that one or more items have not synchronized successfully. ^2^
    2. Verify the cloud copy directly
      • From the OneDrive taskbar menu, select View Online, or sign in to OneDrive through a browser.
      • Confirm that you are using the intended Microsoft account.
      • Check Documents, Desktop, Pictures, and any other important folders.
      • Open several recent and important documents online; do not rely solely on seeing filenames.
      • Compare folder contents and recent modification dates with the PC. Microsoft identifies checking OneDrive online as the best way to confirm that files uploaded successfully. ^3^
    3. Check for files outside OneDrive
      • In File Explorer, inspect folders such as Downloads and any custom folders directly under C:\Users\<your-name>.
      • If anything important is absent online, upload it to OneDrive and verify it online afterward.
      • For especially important material, keep an additional copy on an external drive before resetting. Windows reset guidance recommends backing up important files first. ^4^
    4. Unlink OneDrive before erasing the PC
      • Select the OneDrive cloud icon in the taskbar.
      • Select Help & Settings → Settings.
      • Open Account.
      • Select Unlink this PC → Unlink account.
      Unlinking disconnects this computer without deleting files from OneDrive. ^5^

    Do not manually delete the files from the OneDrive folder while synchronization is active. Deleting a synchronized file locally also deletes it from OneDrive online and other synchronized devices. ^6^

    Reset the PC for donation

    After completing the online verification and unlinking:

    Windows 11

    1. Open Settings → System → Recovery.
    2. Under Recovery options, select Reset PC.
    3. Select Remove everything.
    4. In the additional settings, enable Clean data or the option to clean the drive.
    5. Choose Cloud download or Local reinstall, then complete the reset.

    Windows 10

    1. Open Start → Settings → Update & Security → Recovery.
    2. Under Reset this PC, select Get started.
    3. Select Remove everything.
    4. Enable Clean data when offered.
    5. Choose Cloud download or Local reinstall and continue.

    Remove everything deletes personal files, applications, and settings from the PC. Clean data also cleans the drive, making removed files harder to recover and making it the appropriate consumer option when donating the device. Microsoft notes that this consumer erasure method does not meet government or industry data-erasure standards. ^4^

    Once reset begins, let it finish without manually powering off the computer. Stop at the initial Windows setup screen so the recipient can configure the PC as a new device.


    References

    1. Work with synced files in File Explorer | Microsoft Support
    2. What do the OneDrive icons mean? | Microsoft Support
    3. How do I know if a file was successfully uploaded to Microsoft OneDrive? | Microsoft Support
    4. Windows 10
    5. Turn off, disable, or uninstall OneDrive | Microsoft Support
    6. Save disk space with OneDrive Files On-Demand for Windows | Microsoft Support
    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.