If you're planning on wiping your Windows PC using the built-in options for device reset operations, know that you may need to go further to really scrub your system clean. As it turns out, Windows' own tools may not be enough to properly clean a device.
As reported by Rudy Ooms, the issue at hand is fixable with a PowerShell script (via Tom's Hardware). Still, be on the lookout for the base problem if you use OneDrive and plan on attempting to wipe your PC anytime soon.