How to Set Up Automatic Backups on a Windows PC
What you will need: a Windows 10 or Windows 11 PC, an external USB drive with more free space than the files you want to protect, and a Microsoft account if you plan to use OneDrive.
Why set up automatic backups
A backup is a second copy of your files kept somewhere other than your PC's main drive. If your computer fails or is stolen, or someone deletes a file by mistake, a backup lets you get your work back.
"Automatic" means Windows makes those copies on a schedule, so you don't have to remember to do it.
This guide covers two options that come with Windows:
- File History, which copies your files to an external drive.
- OneDrive folder backup, which copies your main folders to Microsoft's cloud (storage on Microsoft's servers that you reach over the internet).
Using both gives you one copy you can hold in your hand and one copy stored away from your office. For more on why keeping copies in different places matters, see Backing Up Your Business Files: The 3-2-1 Rule in Plain English. At the end, we'll show you how to test that a backup actually works.
Part 1: Back up to an external drive with File History
File History is a tool built into Windows. It saves copies of your personal files to an external drive on a regular schedule. It also keeps older versions (earlier saved copies of the same file), so you can go back to how a document looked last week.
Connect your external drive
- Plug the external drive into a USB port on your PC.
- If Windows asks what to do with the drive, close the message. You don't need to open the drive.
Turn on File History in Windows 11
In Windows 11, you set up File History in Control Panel, not in Settings.
- Click Start, type Control Panel, and open it.
- Select System and Security, then File History. The link may read Save backup copies of your files with File History.
- Windows should list your external drive. If it doesn't, click Select drive, choose your drive, and click OK.
- Click Turn on.
Turn on File History in Windows 10
If your PC still runs Windows 10, also read Windows 10 End of Support: What Small Businesses Should Do Now.
- Click Start, then Settings (the gear icon).
- Select Update & Security, then Backup.
- Under "Back up using File History," click Add a drive and choose your external drive.
- Make sure the Automatically back up my files switch is on.
Check what gets backed up and how often
By default, File History backs up your main personal folders, such as Documents, Pictures, Videos, and Desktop.
- Open File History in Control Panel (see the Windows 11 steps above; the same path works in Windows 10) and click Advanced settings.
- Under Save copies of files, choose how often to back up.
- Under Keep saved versions, choose how long to keep older copies. Keeping them longer uses more space on the drive.
- Click Save changes.
To back up a folder that isn't included:
- Windows 11: In File Explorer, right-click the folder, select Show more options, then Include in library. This adds the folder to a library (a Windows collection of folders), and File History backs up your libraries.
- Windows 10: In Settings > Update & Security > Backup, click More options, then add the folder in the list of folders to back up.
To start a backup right away, click Run now in the Control Panel File History window. In Windows 10 Settings, the button is Back up now under More options.
Keep the drive connected
File History needs the drive to finish a backup.
- If the drive stays connected, backups happen on schedule.
- If you unplug it, plug it back in often so File History can catch up.
- Keeping the drive unplugged when you're not using it gives you more protection against ransomware (harmful software that locks or scrambles your files, and that can also reach drives plugged into your PC). The trade-off is that you have to remember to plug the drive back in.
Part 2: Back up your main folders to OneDrive
OneDrive is Microsoft's cloud storage. Its folder backup feature keeps folders like Desktop, Documents, and Pictures copied to the cloud automatically. That copy is stored away from your office, so it's safe from things that could hit your PC and your external drive at the same time, such as a fire or a break-in.
Before you start, two things to know:
- OneDrive syncs. It doesn't keep a separate archive. To sync means keeping two places the same. If you delete a file on your PC, it's also deleted from OneDrive. Deleted files go to OneDrive's recycle bin. Personal accounts keep them there for 30 days. Work or school accounts keep them for 93 days, unless an administrator changed that setting.
- Free storage is limited. If your folders are bigger than your available OneDrive space, the backup won't finish. Check how much storage you have before you start.
Turn on OneDrive folder backup
- Find the OneDrive cloud icon near the clock in the bottom-right corner of your screen. If you don't see it, click the small up arrow to show hidden icons.
- If you aren't signed in, click the icon and sign in with your Microsoft account.
- Click the OneDrive icon, then the gear icon (Help & Settings), then Settings.
- Select the Sync and backup tab, then Manage backup.
- Turn on the switch for each folder you want to protect, such as Desktop, Documents, and Pictures. Music and Videos may also be listed.
- Select Save changes. In some versions of the app, this button is labeled Start backup.
The first backup can take a while, depending on how many files you have and how fast your internet is. You can keep working while it runs.
Check that it's working
In File Explorer, files in folders that are backed up show a small status icon:
- Green check: the file is on your PC and also in OneDrive.
- Blue cloud: the file is stored only in OneDrive, not on your PC. It downloads when you open it.
- Two circling arrows (sync pending): the file is still uploading. Wait for this icon to go away before you count on that file being backed up.
You can also sign in at the OneDrive website and make sure your folders appear there.
Part 3: Test a restore
To restore means copying a file from your backup back onto your PC. You can't be sure a backup works until you've tested it. We suggest testing right after setup, then again every few months.
Test File History
- Create a test file. For example, open Notepad, type "backup test," and save it in Documents as backup-test.txt.
- Open File History and click Run now (or Back up now in Windows 10 Settings). Wait for it to finish.
- Delete backup-test.txt from Documents.
- In the Control Panel File History window, click Restore personal files.
- In the window that opens, open the Documents folder and find backup-test.txt. If you need a different backup date, use the arrows at the bottom.
- Select the file and click the green Restore button.
- Open Documents and check that the file is back and opens normally.
Tip: To go back to an older version of a file, open File Explorer, right-click the folder that holds the file, and select Restore previous versions. In Windows 11, you may need to click Show more options first. The Previous Versions tab lists the saved versions you can open or restore.
Test OneDrive
- Save a test file in your Documents folder. Wait until the pending-sync icon goes away.
- Delete the file from your PC.
- Go to the OneDrive website, sign in, and select Recycle bin.
- Select the test file and click Restore.
- Check that the file shows up again in your Documents folder on your PC.
If a test fails
- File History: make sure the drive is connected and File History is turned on, then run a backup again. If File History tells you to reconnect a drive that's already plugged in, or the last backup time never changes, install the latest Windows updates. Microsoft confirmed that a September 2026 Windows 11 update could stop File History from creating or updating backups, and said later updates fix it. For help, see How to Check for Windows Updates (Windows 11 and Windows 10).
- OneDrive: click the OneDrive icon and look for error messages, such as being signed out or running out of storage.
If you still can't get a test file back, fix the problem before you rely on that backup.
A quick checklist
- External drive connected, or plugged in on a regular schedule
- File History turned on and running
- OneDrive folder backup turned on for Desktop, Documents, and Pictures
- Test restore done for both, with a reminder to test again in a few months
Sources
- Microsoft Support: Backup and restore with File History
- Microsoft Support: Backup and Restore in Windows
- Microsoft Support: Back up your folders with OneDrive
- Microsoft Support: Restore files deleted from your OneDrive
- Microsoft Support: Work with synced files in File Explorer
- Microsoft Support: September 8, 2026—KB5124008 (OS Builds 26200.9445 and 26100.9445)