Source: Windows Central
What you need to know
- Microsoft has confirmed an issue with Windows 11 and Windows 10 that prevents files from being completely deleted after a reset.
- The bug affects PCs that have synced files through OneDrive or OneDrive for Business.
- Microsoft is working on a resolution for the issue and has shared a workaround that should help until a permanent fix is available.
Resetting a PC running Windows 11 or Windows 10 is supposed to let you completely wipe your files from a device. A recently discovered bug prevents the erasure of certain files. The issue was first spotted in late February and has since been confirmed by Microsoft.
Affected PCs may not delete files synced through OneDrive or OneDrive for Business following a reset. The bug affects Windows 11 version 21H2, Windows 10 version 21H2, Windows 10 version 21H1, and Windows 10 version 20H2.
"When attempting to reset a Windows device with apps which have folders with reparse data, such as OneDrive or OneDrive for Business, files which have been downloaded or synced locally from OneDrive might not be deleted when selecting the "Remove everything" option," explains Microsoft. "This issue might be encountered when attempting a manual reset initiated within Windows or a remote reset."
Microsoft is working on a permanent fix for the issue. Until that is available, the company suggests the following workaround:
- This issue can be prevented by signing out or unlinking OneDrive before resetting your Windows device. For instructions, see the "Unlink OneDrive" section in, Turn off, disable, or uninstall OneDrive.
- This issue can be mitigated on devices that have already been reset by following the steps in KB5012334—Delete the Windows.old folder using Storage sense in the Settings app.
The Windows.old folder mentioned by Microsoft is where files that have not been successfully deleted appear.
We may earn a commission for purchases using our links. Learn more.

Review: Eiyuden Chronicle: Rising is a gorgeous taste of what's to come
Eiyuden Chronicle: Rising is a companion prequel to the upcoming spiritual successor to JRPG classic Suikoden, but is this bite-sized adventure worth your time?

The changes that Overwatch 2's worst heroes need to stay competitive
Many of Overwatch's heroes have been changed or reworked to better fit with Overwatch 2's 5v5 format, but not all of them are in a good place. Here's a look at who the game's weakest heroes are, as well as what changes they'll need to be viable in 5v5.

Starfield, Redfall delay leaves a glaring hole in Xbox’s 2022 lineup
With Starfield and Redfall now pushed to 2023, here's what can Xbox owners expect for the remainder of the year.

The best photo editing apps for Windows 10
Whether you need to remove red eyes or do heavy duty editing, these are the best photo editing apps for Windows 10.