Version History Issues

Restore Files and Folders in OneDrive for Business

Adam DavisAdam Davis Nov 20, 2026 868 views

Question details

The user wants to know whether OneDrive for Business supports rolling back files and folders after accidental changes or ransomware activity.

How to Restore Files and Folders in OneDrive for Business
Product
OneDrive for Business
Device & OS
not provided
Scenario
Recover an earlier state of files and folders after unwanted changes.
Observed behavior
OneDrive Restore can return an entire OneDrive to an earlier point within the previous 30 days.
Before you start

Sign in to OneDrive on the web with the affected work or school account and identify when the unwanted changes began. If ransomware is involved, remove the malware from affected devices before restoring files.

Solution 1Recommended

Restore the Entire OneDrive to an Earlier Point

Use OneDrive Restore to undo widespread file and folder changes from the previous 30 days.

This rolls back actions across the OneDrive, not just a single file. Review the activity history carefully so you choose a point before the unwanted changes.

1
Open OneDrive settings

Sign in to OneDrive on the web, select Settings, and choose Restore your OneDrive. If the option is not visible, select Options and look for Restore your OneDrive.

2
Choose a restore point

On the Restore page, choose a date from the dropdown or select Custom date and time. Use the activity chart and list to find a point before the unwanted changes.

3
Restore and verify

Select Restore and confirm the action. When it finishes, open the affected files and folders in OneDrive to check their contents.

Restore the Entire OneDrive to an Earlier Point
Restore window: The restore point must be within the previous 30 days. Contact your Microsoft 365 administrator if you cannot access the restore option.
Free Microsoft Office alternative

Edit Recovered Office Files with WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface and support for common Microsoft Office formats, making it easy to move existing documents into WPS. Use OneDrive to perform the rollback; WPS does not replace OneDrive Restore.

Open and edit recovered documents, spreadsheets, and presentationsCompatible with Microsoft Office formats including DOCX, XLSX, and PPTXFamiliar interface for a smoother transition from Microsoft OfficeFree and lightweight tools for everyday office work
microsoft office alternative - wps office

Frequently Asked Questions

Can I roll back all of my OneDrive for Business files at once?

Yes. In OneDrive on the web, select Settings > Restore your OneDrive and choose a point within the previous 30 days.

How do I restore just one file?

Find the file in OneDrive, open its More options menu, and select Version history. Choose an available earlier version and select Restore.

What if I cannot find Restore your OneDrive?

Check Settings > Options for the restore option. If it is still unavailable, contact your Microsoft 365 administrator to check your access.

Should I restore OneDrive immediately after a ransomware attack?

First remove the malware from affected devices. Then use Settings > Restore your OneDrive to select a point before the ransomware changes.