IT Pro is supported by its audience. When you purchase through links on our site, we may earn an affiliate commission. Learn more

Resetting Windows 11 might not delete every file, Microsoft warns

The problem is linked to the way Windows handles OneDrive data

A manual reset function in Windows that allows users to delete every file on a system may not actually be working correctly, Microsoft has warned.

Windows offers a manual reset feature, enabling users to clean the machine and offer the equivalent of a fresh install for a new user. It's useful for Windows customers that want to transfer their machines to a new user.

However, in an update to its release notes on Thursday, the company said that the operating system might not delete all files when selecting the 'Remove Everything' option. The problem affects files containing reparse data – data tells Windows how to process a file when opened.

The bug will affect applications that include folders for OneDrive or OneDrive for Business storage, Microsoft said. It might also fail to delete files that were downloaded or synchronized from OneDrive.

A screenshot of a menu in Windows 11 giving options on how to reset the user's system

"OneDrive files which are 'cloud only' or have not been downloaded or opened on the device are not affected and will not persist, as the files are not downloaded or synced locally," Microsoft added.

Reparse data is common in mounted Windows folders and in files using Microsoft Remote Storage Server (RSS). This service manages files on Windows file servers, moving infrequently-accessed files to cheaper storage media and retrieving them when necessary. It is also used in NFTS file system links, which create aliases for files in the NTFS system.

Microsoft makes recovery tools such as its push-button reset code available to OEMs so that they can offer fast reset options for users. The company warned that this problem might also affect their reset features.

The company has recommended a workaround until a more permanent fix is ready: simply sign out or unlink OneDrive before resetting the Windows device.

Users that have already reset their PCs and retained unwanted files can mitigate the problem after the fact by using Storage Sense, a tool accessible in the Windows settings that manages drive space.

Featured Resources

Activation playbook: Deliver data that powers impactful, game-changing campaigns

Bringing together data and technology to drive better business outcomes

Free Download

In unpredictable times, a data strategy is key

Data processes are crucial to guide decisions and drive business growth

Free Download

Achieving resiliency with Everything-as-a-Service (XAAS)

Transforming the enterprise IT landscape

Free Download

What is contextual analytics?

Creating more customer value in HR software applications

Free Download

Most Popular

16 ways to speed up your laptop

16 ways to speed up your laptop

13 May 2022
(ISC)2 launches free scheme to get 100,000 UK citizens into cyber security
Careers & training

(ISC)2 launches free scheme to get 100,000 UK citizens into cyber security

17 May 2022
Preparing for the 3G sunset
Network & Internet

Preparing for the 3G sunset

18 May 2022