A Microsoft file hosting and synchronization service.
Hi,
If your goal is to delete all files and folders stored in OneDrive online, I would recommend first stopping OneDrive from syncing with your computer and then removing the files through the OneDrive website. This approach helps prevent any unintended synchronization issues during the deletion process.
Before proceeding, please keep in mind that deleting files from OneDrive can permanently remove them, especially after the Recycle Bin is emptied. In addition, if any of the files or folders are shared with other people, they will no longer be accessible once deleted. According to Microsoft, items removed from the OneDrive Recycle Bin cannot be recovered.
1/ Stop OneDrive sync:
To avoid files syncing back or being removed from your device unexpectedly, it is best to unlink OneDrive from your PC first:
- Right-click the OneDrive cloud icon in the taskbar.
- Select Settings.
- Open the Account tab.
- Click Unlink this PC.
2/ Delete files from OneDrive Online:
Once syncing has been stopped, you can delete the files directly from OneDrive on the web:
- Sign in to OneDrive on the web.
- Open My files.
- Select the checkbox at the top of the file list to select all items.
- If necessary, deselect any files or folders you want to keep, such as shared folders or items stored in your Personal Vault.
- Click Delete from the menu at the top of the page.
3/ Permanently remove the files:
If you would like the files to be permanently deleted:
- Open the Recycle Bin in OneDrive online.
- Select Empty Recycle Bin.
- Confirm by clicking Yes.
As an additional note, if OneDrive remains connected to any computer during this process, files may continue to sync, which could result in files being deleted locally or reappearing in OneDrive. For that reason, unlinking the PC before deleting the files is strongly recommended.
I hope this information helps. If you have any questions or encounter any issues while following these steps, please feel free to reply with an update, and I'll be happy to assist further.
Kind regards,
If the answer is helpful, please click "Yes" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in forum documentation to enable e-mail notifications if you want to receive the related email notification for this thread.