Delete Windows.Old Folder in Windows 11/10, Access Denied?

Published by Nyau Wai Hoe - Updated on

If you have multiple Windows installations on your computer, you may find that some of them are no longer in use, but still taking up valuable disk space. Each Windows folder can occupy around 20 GB or more of hard drive space. Removing these old Windows folders (often appeared as “Windows.old”) can free up a significant amount of disk space, but deleting them is not as simple as pressing the Del or Shift+Del keys. Attempting to do so will result in an “Access Denied” or “Permission Needed” error that cannot be bypassed.

This guide will show you how to correctly and permanently remove old Windows folders that you no longer need in Windows 11 or Windows 10.

Also see: How to Force Delete a File in Use by Another Program on Windows 11/10

How to Delete Old Windows Folder in Windows 11/10

Before you proceed with the deletion process, it is essential to ensure that you no longer need the data in the old Windows folders. Backing up important files and settings from these folders can save you from losing valuable information.

Once you have confirmed that you do not require any data from these folders, you can proceed with the following methods to delete the old Windows folders safely and effectively. Each method is designed to cater to different situations and issues that may arise during the deletion process.

Delete Windows.old using Disk Cleanup

The easiest and first method to try is to use the Disk Cleanup tool in Windows 10/11. Here’s how to do it:

  1. On the drive where the Windows folder you want to delete resides, right-click on the folder and rename it to “Windows.old.” This step is important as it is required for the Disk Cleanup tool to detect that there is an old Windows folder that can be removed.Rename Windows.old access denied
  2. After renaming the folder, go to the start menu or Cortana and search for the “Disk Cleanup” tool. Right-click it and select “Run as administrator.”
    Open Disk Cleanup Windows 11

    Windows 11

    Disk Cleanup Windows 10 delete Windows old folder

    Windows 10

  3. Select the drive where your Windows.old folder is located, then click “OK.”Open Disk Cleanup
  4. Under the “Files to delete” section, select the option for “Previous Windows Installation(s).” Then, click “OK” to begin the cleanup. It may take a couple of minutes to complete the removal. After the process is completed, the Windows folder should be gone.Delete Old Windows Folder in Windows 10/11

Related: How to Delete System 32 in Windows 11

Delete Windows.old using Storage in Settings app

If the Disk Cleanup tool in Windows doesn’t work to remove the Windows.old folder (stuck or crashes during calculating or cleaning process), you can use the Storage sense in the Windows 11/10 Settings app to remove the folder. Similar to the method above, you will have to first rename the Windows folder that you want to remove to “Windows.old.”

Here’s how to do it:

  1. Rename the Windows folder that you want to remove to “Windows.old.”
  2. Head over to the start menu and search for “Storage.” Select “Storage” (system settings) from the search result.Open Storage settings
  3. In the right panel, select the drive where the Windows.old folder is located.
    Delete Windows.old Windows 11

    Windows 11

    Select C: folder Windows 10

    Windows 10

  4. Within the list of storage usage, select “Temporary files.”Storage Settings Windows 10 Temporary files
  5. Scroll down to look for an option called “Previous Windows Installation(s).” Select it and, alternatively, select other temporary files that you may want to remove together. Then, scroll back up and click on the “Remove files” button. Upon completion of the removal process, the Windows.old folder should be deleted.How to Delete Old Windows Folder in Windows 11/10 Access Denied

Read: How to Delete a Ghost File or Folder in Windows 11/10

Manually deleting old Windows folder with CMD

If both methods above fail to remove the Windows.old folder from your drive or the “Previous Windows Installation” option doesn’t show up in Disk Cleanup tool in Windows 11/10, you can remove the folder manually by using a series of commands in Command Prompt.

Here’s how to do it:

  1. Go to the start menu and search for CMD. Right-click Command Prompt and select “Run as administrator.”
  2. Enter the following commands one line at a time. Note: Replace “C:\Windows.old” with the actual path to the Windows.old folder you want to remove, if it’s not in the C: drive.
    takeown /F "C:\Windows.old" /A /R /D Y
    icacls "C:\Windows.old" /T /grant administrators:F
    rmdir /s /q "C:\Windows.old"

The first and second lines of commands may take some time to run. The first command is to take ownership of the entire Windows.old folder file by file, whereas the second is to give full control permissions to the Administrator group. The third line is to remove the folder entirely after successfully getting the permission.


Old Windows folders can take up a significant amount of disk space, and removing them can help free up space on your computer. In this guide, we have outlined three methods to help you remove old Windows folders that you no longer need. The first method is the easiest and the one you should try first, while the second and third methods are more advanced and can be used if the first method fails.

Nyau Wai Hoe
Nyau Wai Hoe is the Founder and Chief Editor of With a degree in software engineering and over 12 years of experience in the tech support industry, Nyau has established himself as an expert in the field, with a primary focus on the Microsoft Windows operating system. As a tech enthusiast, he loves exploring new technologies and leveraging them to solve real-life problems.

Share via
Copy link