Skip to content
Windows 🟡 Intermediate

What Happens When You Delete the Windows.old Folder

Richard
Written by
Richard
Updated 6 min read
What happens when you delete the Windows.old folder
What happens when you delete the Windows.old folder
Before you start
  • 2 ways to do it
  • Needs administrator rights
  • Includes a restart or sign-out

The Windows.old folder is a backup copy of your previous version of Windows. Windows creates it automatically after a major upgrade, and it often takes up 20 GB or more of your drive.

Deleting it frees that space right away. It also permanently removes your ability to roll back to the old version with the built-in rollback tool. That tool is the Go back option under Settings System Recovery. Once the folder is gone, the option disappears. Windows normally gives you a 10-day window to change your mind before it deletes these files on its own.

Your personal files, such as photos and documents, are safe. They live in your user profile (📁C:\Users\your name), not in Windows.old. Still, open the folder first and look for stray files you might need. Some people had their Desktop or Documents in an unusual location before the upgrade, or saved something straight to the old Windows folders. Copy anything you want to keep before you clear it out.

⚡ Quick Answer

Deleting the Windows.old folder frees the 20 GB or more it uses and permanently removes your ability to roll back to the previous Windows version with Settings System Recovery Go back. Your personal files are safe because they live in 📁C:\Users\your name, not in Windows.old. Before you delete it, copy anything you need from the folder.

Advertisement

When Does Windows Delete It Automatically?

Windows deletes the Windows.old folder automatically about ten days after the upgrade. The cleanup runs quietly in the background during routine system maintenance, so you don’t have to do anything. When the window passes, the old files are removed permanently and the space goes back to your main drive.

Microsoft chose 10 days because most people know within a week or so whether the new version works for them. Until then, the old files stay so you can roll back if something breaks, such as a driver, a printer or a program you depend on.

Advertisement
⚠️WarningIf you need the space sooner, you can remove the folder yourself with built-in Windows tools.

Both tools below are in Windows 11 Home and Pro. Don’t try to delete the folder by dragging it to the Recycle Bin or pressing Delete in File Explorer. Windows will block you or show permission errors. Use one of the methods below instead.

How to Safely Delete the Windows.old Folder

Windows protects its system files, so you can’t just select Windows.old and press Del. You have to use an official Windows tool that has the right permissions. The two easiest options are the Storage settings page and Disk Cleanup.

Method 1Deleting the Windows.old Folder Using Storage Settings (GUI)

For most people, the Storage settings page is the safest and quickest method. (Storage Sense, the automatic cleanup feature, lives on the same page, but you don’t need to turn it on for this.) You open Settings, go to Storage, open the temporary files list and tick the option for previous Windows installations. Windows removes the old files itself, so you won’t hit errors in File Explorer.

  1. Click the Start button and open the Settings app (the gear icon). The Settings window opens.
    Settings
    Settings
  2. Click System in the left sidebar, then click Storage on the right side. You should see a bar showing how your drive space is used.
  3. Wait a moment while Windows calculates what is using space on your drive. Then click Temporary files. A list of file categories appears.
  4. Look through the list for Previous Windows installation(s). If it isn’t there, the folder has already been deleted, or the Windows upgrade didn’t leave one behind.
  5. Tick the box next to that option. You can untick the other boxes if you don’t want to delete other temporary files. Check the list before you continue, because Downloads may be ticked or available on some builds, and you probably don’t want to wipe that folder.
  6. Click the Remove files button. Windows shows a confirmation while it works, and the item’s size drops to zero or the entry disappears when it finishes.
📝NoteThis action needs administrator privileges. If a User Account Control prompt appears, click Yes to let the process continue. If you are on a standard account, you will be asked for an administrator password.

You can’t undo this. If you might still want to roll back, wait.

Method 2Deleting the Windows.old Folder Using Disk Cleanup

Disk Cleanup is the older tool for scanning and removing junk files, and it is still included in Windows 11. It is a good alternative if the Storage page doesn’t show the option, or if you prefer the classic interface. You open it from the Start menu, pick your main drive, click the system files button and tick the previous Windows installations box.

  1. Click the Start menu, type Disk Cleanup, and click the app when it appears in the results.
  2. If a window asks you to choose a drive, select your main drive (usually labeled C:) and click OK. Disk Cleanup scans the drive and shows a list of files.
  3. Click Clean up system files. This step needs administrator privileges, so click Yes if a security prompt appears. If asked again for a drive, choose C: and click OK.
  4. Wait a few seconds while the tool scans the drive again. This second scan includes system files and takes a little longer.
  5. In the list of files to delete, find and tick Previous Windows installation(s). It’s missing if there’s no Windows.old folder on the drive.
  6. Click OK, then click Delete Files to confirm. Windows may take several minutes to finish, and a progress window shows while it works.

You don’t normally need to restart. This is permanent, just like the Storage method.

Advertisement

Unique Angles and Expert Tips for Managing Windows Storage

Past the basic steps, you may run into a few special situations. Experienced users and administrators hit these more often. These tips cover them.

What to Do If You Get an “Access Denied” Error

An “Access denied” error almost always means you tried to delete Windows.old directly from File Explorer. Windows protects these system files, so a standard delete will fail even if you are an administrator. The fix is to stop trying that and use the Storage settings page or Disk Cleanup instead. Both tools run with elevated system permissions that bypass the normal user locks.

If Disk Cleanup still fails to remove the folder, restart your computer and run Disk Cleanup again right after startup, before you open other programs. A restart often clears locks held by background programs, and the cleanup then goes through.

Settings › System › Storage
Settings › System › Storage

Managing Storage in Shared or Enterprise Environments

On shared or business computers, leftover Windows.old folders can waste dozens of gigabytes on every machine. Administrators often automate cleanup with scripts or group policies, so workstations don’t run out of disk space during working hours. Group Policy editing is only available in Pro and higher editions, not Home. Clearing the folders across many PCs this way saves you from repeating the manual steps on each device.

Home users can just rely on the automatic 10-day deletion. After a major feature update, which Windows 11 now typically delivers once a year, it’s still worth checking your free space. Low disk space after an upgrade can cause slowdowns and application crashes, so a quick look at Settings System Storage is worthwhile.

Summary

Deleting the Windows.old folder is a safe way to reclaim roughly 20 to 30 GB after an upgrade, as long as you are happy with the new version. The only thing you lose is the ability to roll back to your previous Windows. After that, going back means reinstalling Windows from scratch.

Windows deletes the folder on its own after about 10 days. You can remove it sooner at any time with the Storage settings page or Disk Cleanup. Always use those official tools instead of dragging the folder to the Recycle Bin, which causes permission errors. Before you clear it, copy out any personal files you may have left inside.

Have a question about this guide?

Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.

Tags: #Windows 11

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *