The Windows.old folder is a directory that Windows creates at the root of the system drive, usually C:\Windows.old, to preserve the previous installation after an in-place upgrade, a feature update or certain reset operations. It holds the old system files, program files and user profiles so that the computer can roll back to the earlier version and so that users can recover files that did not migrate.
In Windows storage & file systems, Windows.old is notable because it can occupy tens of gigabytes, has unusual permissions and is removed automatically after a fixed period. Understanding it helps administrators balance recovery options against free disk space.
How Windows creates the Windows.old folder
During an upgrade, Windows Setup builds the new operating system in a separate location and then moves the previous installation into Windows.old instead of deleting it. Because this is a move on the same NTFS volume, it is fast and does not require copying every byte, although the drive still needs enough space for both systems during the operation.
The folder mirrors the old layout, with subfolders such as Windows, Program Files, ProgramData and Users. The rollback metadata that Setup needs is stored alongside it in hidden folders such as $Windows.~BT, so deleting Windows.old alone already breaks the go-back option.
The following table lists the operations that typically create the folder.
| Operation | Creates Windows.old | Rollback possible |
|---|---|---|
| Feature update | Yes | Yes, within the rollback window |
| Upgrade from Windows 10 to 11 | Yes | Yes, within the rollback window |
| In-place repair install | Yes | No formal go-back option |
| Custom install without formatting | Yes | No, only manual file recovery |
| Monthly cumulative update | No | Uninstalled separately instead |
| Clean install with formatting | No | No |
Rollback window and automatic cleanup
Windows keeps the folder for a default period of 10 days after an upgrade, after which a scheduled maintenance task deletes it. During this period, Settings > System > Recovery > Go back restores the previous version while keeping personal files.
Administrators can change the period with the DISM command DISM /Online /Set-OSUninstallWindow /Value:30, which accepts values from 2 to 60 days. DISM /Online /Get-OSUninstallWindow shows the current setting. The value must be set before the window expires, because the cleanup cannot be undone.
| Factor | Effect | Recommendation |
|---|---|---|
| Default window | 10 days of rollback | Sufficient for most home users |
| Extended window | Up to 60 days | Useful for staged business pilots |
| Storage Sense | May delete the folder earlier | Review its settings during pilots |
| Disk Cleanup | Deletes the folder on demand | Run only after validating the upgrade |
| New user accounts | Can block the go-back option | Avoid account changes before testing |
Recovering files from Windows.old
The folder is also a last-resort source for lost data. If documents, desktop items or application settings did not transfer to the new installation, they usually remain under C:\Windows.old\Users\<username>.
- Open File Explorer and browse to Windows.old\Users on the system drive.
- Locate the old profile folder and the needed subfolder, such as Documents.
- Copy, not move, the files into the current profile.
- Verify the files open correctly before the cleanup period ends.
Program files in Windows.old cannot simply be copied back to work again, because applications depend on registry entries and services from the old system. Reinstalling the application is the reliable path, while the old folder serves only for data and configuration files.
Deleting Windows.old safely
Windows.old cannot be removed like an ordinary folder, because its contents are owned by TrustedInstaller and protected by restrictive access control lists. The supported methods use Windows cleanup tools, which also remove the rollback metadata consistently.
| Method | Where to find it | Notes |
|---|---|---|
| Storage Sense | Settings > System > Storage > Temporary files | Select Previous Windows installation(s) |
| Disk Cleanup | cleanmgr.exe, Clean up system files | Same option under its classic name |
| Automatic task | Scheduled after the rollback window | No user action required |
| Manual deletion | takeown and icacls commands | Not recommended, error-prone |
Forcing deletion with takeown and icacls works but can leave orphaned rollback folders and offers no benefit over the built-in tools. The key rule is simple: delete Windows.old only after confirming that the new version runs correctly and that no user data is missing.
Windows.old compared with other recovery mechanisms
Windows.old is not a backup. It is a temporary byproduct of an upgrade and disappears on schedule, unlike File History, System Restore or a full image backup.
It also differs from the WinSxS folder, which stores component versions for servicing the current installation, and from Volume Shadow Copy Service snapshots, which capture point-in-time states of a volume. Relying on Windows.old as the only safety net for an upgrade is a common and costly mistake; a verified backup taken before the upgrade remains essential.
The comparison below shows how Windows.old fits among the recovery features that Windows provides.
| Feature | What it preserves | Lifetime |
|---|---|---|
| Windows.old | Entire previous installation | Rollback window, 10 days by default |
| System Restore | System files, registry, drivers | Until restore points age out |
| File History | Versions of user files | Configurable, often months |
| System image backup | Complete volume contents | As long as the media is kept |
| Volume shadow copies | Point-in-time volume snapshots | Limited by reserved space |
On systems with little free space, such as tablets with 64 GB of storage, Setup may need an external drive to complete an upgrade and still create Windows.old. In those cases, checking capacity beforehand avoids failed feature updates caused by insufficient space.
Put simply
When Windows upgrades itself, it does not throw the old version away immediately. It packs the old system into a box called Windows.old and keeps it in a corner of the drive for about ten days.
If the new version causes trouble, Windows can unpack the box and return to how things were. If everything works, the box is thrown out to free up space. It is a temporary safety net, not a long-term backup.
In practice
A small design studio upgrades eight workstations from Windows 10 to Windows 11. Before starting, the IT contractor runs DISM /Online /Set-OSUninstallWindow /Value:30 on each machine to extend the rollback window to 30 days, because the studio’s color calibration software has not yet been certified.
After the upgrade, each Windows.old folder occupies about 28 GB. On day 12, one designer discovers that a plug-in folder did not migrate and recovers it from Windows.old\Users. On day 20, the calibration tool proves incompatible on two machines, which are rolled back with Go back in under an hour. Once the vendor ships a fix, the contractor upgrades them again and removes Windows.old with Storage Sense, reclaiming the disk space on all eight workstations.