sodcalculator

10 Tech How-To

Windows.old Folder Can’t Be Deleted: Fix

Guide 10-17414 · Updated · Step by step

If you’re stuck with a Windows.old folder that refuses to be deleted after upgrading to Windows 10, the fix is to use the built-in Disk Cleanup tool or the Storage Sense feature, not File Explorer. This article explains why the folder exists, why it resists normal deletion, and provides step-by-step methods to remove it safely.

What Is the Windows.old Folder?

The Windows.old folder is automatically created when you upgrade from an older version of Windows (like Windows 7 or 8.1) to Windows 10, or when you install a major feature update (such as the Windows 10 May 2020 Update). It contains a full copy of your previous Windows installation, including your personal files, settings, and installed applications. This folder exists to let you roll back to the previous version within 10 days of the upgrade—after that, Windows automatically deletes it to free up disk space.

The folder can be surprisingly large, often taking 20–30 GB or more. It’s located at the root of your system drive (usually C:\Windows.old). While it’s a safety net, it can become a nuisance when you want that space back and the folder won’t delete.

Why Can’t You Delete Windows.old Normally?

Windows.old is protected by special permissions and is in use by system processes. Even if you’re an administrator, File Explorer will often show errors like “You need permission to perform this action� or “Folder in use.� Here are the main reasons:

  • Ownership and permissions: The folder is owned by the TrustedInstaller service, not by your user account. You’d need to take ownership and grant yourself full control—a risky and tedious process.
  • System files in use: Some files inside Windows.old may be locked by running Windows services, making them impossible to move or delete while Windows is active.
  • Hidden system files: The folder contains hidden and system files that File Explorer doesn’t show by default, so you might be deleting only part of it.
  • Windows.old is not a normal folder: It’s a system-level backup, and Windows treats it specially. The intended way to remove it is through built-in cleanup tools, not manual deletion.

Trying to force deletion via Command Prompt or third-party tools can corrupt the folder and leave your system in an inconsistent state, so it’s best to use the official methods below.

Method 1: Use Disk Cleanup (Recommended)

Disk Cleanup is the official, safest way to delete Windows.old. It’s a built-in tool that knows exactly which files are safe to remove.

  1. Press Windows Key + S and type “Disk Cleanup�. Click the first result.
  2. Select the drive where Windows is installed (usually C:) and click OK.
  3. Wait for the tool to scan. Then click Clean up system files (you’ll need administrator rights).
  4. Select the drive again and wait for the scan to finish.
  5. In the list, check Previous Windows installation(s) (and optionally Temporary Windows installation files).
  6. Click OK and then Delete Files.

This process can take several minutes. Once done, the Windows.old folder should be gone, freeing up significant space.

Method 2: Use Storage Sense

Storage Sense is a newer feature in Windows 10 that can automatically clean up temporary files, including Windows.old.

  1. Open Settings (Windows Key + I) → System → Storage.
  2. Under “Storage�, click Configure Storage Sense or run it now.
  3. Scroll down to “Free up space now� and click Clean now.
  4. Wait for the scan to complete. Windows.old will be removed if it’s no longer needed.

Storage Sense is a good alternative if you prefer a more automated approach, but Disk Cleanup is often faster for this specific task.

Method 3: Use Command Prompt (If the Above Fail)

If Disk Cleanup and Storage Sense don’t work (rare, but possible if the folder is corrupted), you can try a command-line approach. This should be your last resort because it’s more technical.

  1. Open Command Prompt as administrator (right-click Start → Command Prompt (Admin) or Windows PowerShell (Admin)).
  2. Type the following command and press Enter:
    rd /s /q C:\Windows.old
  3. If you get an error about files in use, you’ll need to boot into Safe Mode and try again.

To boot into Safe Mode: Hold Shift while clicking Restart in the Start menu → Troubleshoot → Advanced options → Startup Settings → Restart → press 4 or 5 for Safe Mode. Then run the command again.

Be absolutely sure you don’t need to roll back before using this method, as it permanently deletes your previous Windows installation.

What If You Still Can’t Delete It?

If none of the above work, the folder might be corrupted or locked by a third-party security tool. Try these steps:

  • Run Disk Cleanup again after a reboot—sometimes a restart releases locks.
  • Disable third-party antivirus temporarily (re-enable after cleanup).
  • Check for disk errors by running chkdsk C: /f in an admin Command Prompt, then restart.
  • Use the “Previous Windows installation(s)� option in Disk Cleanup even if you don’t see it immediately—it may appear after a scan.

If the folder still persists, it’s likely a system glitch. Creating a new user account and running Disk Cleanup from that account sometimes resolves permission issues.

Frequently Asked Questions

Is it safe to delete Windows.old?

Yes, as long as you’re sure you don’t want to roll back to your previous Windows version. After 10 days, Windows automatically deletes it anyway. The Disk Cleanup method only removes files that are no longer needed for rollback.

How long does Windows keep Windows.old?

By default, Windows keeps Windows.old for 10 days after an upgrade. After that, it’s automatically deleted. However, if you upgrade to a feature update, the retention period resets to 10 days again.

Can I move Windows.old to another drive?

No, you shouldn’t move it. The folder is tied to your system drive and contains hard links and system files that won’t work if relocated. If you need space, delete it using the methods above.

Why is Windows.old so large?

It contains a full copy of your previous Windows installation, including system files, program files, and personal data. The size can vary from 10 GB to over 30 GB depending on how much you had installed.

Will deleting Windows.old affect my current Windows 10?

No. Deleting Windows.old only removes the backup of your previous version. Your current Windows 10 installation is completely unaffected.

Can I delete Windows.old manually from File Explorer?

Technically yes, but it’s not recommended. You’d need to take ownership and grant full control, which can be time-consuming and risky. The built-in tools are safer and faster.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →