Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Windows Backup: Files You Should Exclude

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

The short answer: exclude files that are temporary, cached, or easily recreated—like the Windows temp folder, browser caches, and the Recycle Bin—because backing them up wastes space and slows down the process without adding any real protection. This guide walks you through the files and folders you should exclude from Windows Backup (the built-in tool in Windows 10 and 11) so your backups stay lean and reliable.

What You'll Need

  • A Windows 10 or Windows 11 PC with the built-in Backup app (search for "Backup" in the Start menu).
  • Administrator access to change backup settings.
  • An external drive or network location where your backups are stored.

Step-by-Step

  1. Open the Backup settings. Press the Windows key, type "Backup settings," and hit Enter. (In Windows 10, it's under Settings > Update & Security > Backup; in Windows 11, Settings > System > Storage > Advanced backup options.) The exact wording may vary slightly by version, but you're looking for the section that manages file backup.
  2. Check what's currently included. If you're using File History (the older backup tool), click "More options" under the File History toggle. If you're using the newer Windows Backup (Windows 11), look for "Back up my files" and click "Back up now" to see the current configuration. You'll need to find the "Exclude these folders" section—this is where you'll add exclusions.
  3. Add the Windows temp folder. Click "Add a folder" under "Exclude these folders," navigate to C:\Users\[YourUsername]\AppData\Local\Temp, and select it. This folder is full of temporary files that Windows and apps create and delete constantly; there's no reason to back them up.
  4. Exclude browser caches. Each browser stores cached files (images, scripts, etc.) that are re-downloaded automatically. Add these folders if they exist on your system:
    • Chrome/Edge: C:\Users\[YourUsername]\AppData\Local\Google\Chrome\User Data\Default\Cache (and similarly for Microsoft Edge under ...\Microsoft\Edge\User Data\Default\Cache)
    • Firefox: C:\Users\[YourUsername]\AppData\Local\Mozilla\Firefox\Profiles\[ProfileName]\cache2
    If you're not sure of the exact path, open your browser's settings and look for "Clear browsing data"—the cache location is usually under the profile folder in AppData.
  5. Exclude the Recycle Bin. The Recycle Bin is already excluded by default in Windows Backup, but if you ever see it in the list of included items, remove it. Deleted files in the Recycle Bin are not needed in a backup—they're already deleted.
  6. Exclude the hibernation file. The file C:\hiberfil.sys is a system file that stores the RAM contents when your PC hibernates. It's huge (often several GB) and is recreated every time you hibernate. You cannot exclude it via the backup UI (it's a system file), but you can prevent it from being backed up by disabling hibernation (run Command Prompt as admin and type powercfg /h off). Only do this if you don't use hibernation—sleep mode still works.
  7. Exclude the pagefile. The pagefile (C:\pagefile.sys) is virtual memory used by Windows. It's also a system file that's not backed up by default, but if you see it in your backup, know that it's not necessary. There's no user-friendly way to exclude it, but it's typically already excluded.
  8. Exclude app-specific caches. Many apps store caches in C:\Users\[YourUsername]\AppData\Local. Common ones include:
    • Discord: ...\Discord\Cache
    • Spotify: ...\Spotify\Data
    • Steam: ...\Steam\htmlcache
    You don't have to exclude every single cache, but if you notice a particular folder taking up a lot of space in your backup, it's safe to exclude it if it's just a cache.
  9. Save and run a test backup. After adding your exclusions, click "Back up now" to run a backup. Verify that the backup completes successfully and that the excluded folders are indeed skipped (you can check the backup size—it should be noticeably smaller).

Common Mistakes

  • Excluding important user data. Be careful not to exclude folders like Documents, Pictures, or Desktop—those are exactly what you want to back up. Only exclude folders that are clearly temporary or cache-related.
  • Excluding the entire AppData folder. AppData contains both cache and important app settings. Excluding the whole folder would lose your app configurations. Only exclude specific subfolders that are caches.
  • Forgetting to update exclusions after a browser update. Browsers sometimes change their cache folder paths. If you notice your backup size creeping up, re-check the cache locations.
  • Assuming system files are automatically excluded. While Windows Backup does exclude many system files by default, it's worth checking your backup contents to be sure. If you see a huge file like hiberfil.sys in the backup, you may need to disable hibernation.

Tips

  • Use the built-in "Exclude these folders" feature. It's the official, supported way to skip folders. Don't try to manually delete files from a backup—that corrupts the backup.
  • Check your backup size regularly. If it suddenly grows, it's often because a new cache folder appeared. Review your exclusions quarterly.
  • Consider using a cloud backup service that handles exclusions automatically. Some services (like Backblaze or Carbonite) automatically exclude temporary files, which can save you the hassle.
  • For system image backups (full OS backup), you generally cannot exclude system files like pagefile.sys or hiberfil.sys—they're part of the system. But for file backups, exclusions work as described.

Troubleshooting

Backup is still too large. Check what's taking up space: open the backup settings and look at the list of included folders. You might have a large folder that isn't a cache (like a Downloads folder). Decide if you need to back it up—if not, add it to exclusions.

Excluded folder still appears in the backup. Make sure you added the correct path. For example, if you have multiple user profiles, ensure you're excluding the right one. Also, some folders are recreated by apps—if the app creates a new cache folder with a different name, you'll need to exclude that too.

Backup fails after adding exclusions. This is rare, but if it happens, check that you didn't accidentally exclude a system folder that Windows needs to read (like C:\Windows). If you did, remove that exclusion. If the problem persists, restart your PC and try again.

Can't find the "Exclude these folders" option. In Windows 11's newer Backup app, the option is under "Back up my files" > "More options". In Windows 10's File History, it's under "More options" as well. If you're using a third-party backup tool, the exclusions are usually in its settings—look for "Exclusions" or "Filters".

Frequently Asked Questions

Do I really need to exclude these files?

Not strictly—Windows Backup will still work if you include them, but it will be slower and use more storage. Excluding them makes backups faster and keeps your backup drive from filling up with junk.

Will excluding a cache folder cause me to lose my login sessions?

No. Caches are just stored copies of web content; cookies (which keep you logged in) are stored separately and are not typically in the cache folder. Excluding the cache won't log you out.

Can I exclude the entire Windows folder?

No, and you shouldn't. The Windows folder contains system files that are needed if you ever restore your PC. Windows Backup automatically handles system files correctly—don't interfere.

What about the Downloads folder?

That's up to you. Downloads often contain important files, so it's usually a good idea to keep it in the backup. Only exclude it if you don't need those files backed up.

Does excluding files from backup affect my ability to restore?

No. Excluded files simply won't be in the backup, so if you need to restore, they won't be there. That's why you should only exclude files that are temporary or easily recreated.

Is there a way to see what's in my backup before restoring?

Yes. In the Backup settings, click "Restore files from a current backup" and you can browse through the backup contents. This lets you verify that your exclusions are working as expected.