Drive Sweeper
Windows 10 & 11 Buy license · $29.95
Big files

Can I Delete ISO Files After Installing? Disk Images Explained

Can I delete ISO files and other disk images after installing? What ISO, IMG and virtual disk files are for, when to keep them and how to find them.

Updated 5 minute read The Drive Sweeper team

Yes, you can delete ISO files once you have finished installing whatever was inside them. An ISO is a copy of a CD, DVD or USB installer packed into one file, and Windows does not need it after the installation is done. Keep one only if you might need to reinstall without an internet connection, or if it holds software you could not download again. Be more careful with virtual disk files such as VHDX and VMDK, though: those are whole virtual hard drives, and deleting one deletes the computer inside it.

Here is what each kind of disk image is for, when to keep it and how to find the ones taking up space.

What disk image files are

ExtensionWhat it isTypical sizeSafe to delete?
.isoImage of an installer disc or USB, for example Windows, Linux or older softwareHundreds of MB to 6 GB or moreYes, once installed, if you can get it again
.imgDisk image, often for USB drives, firmware or older softwareVariesUsually, once used
.vhd / .vhdxVirtual hard disk for a virtual machine or a backupSeveral GB to hundreds of GBOnly if you no longer need the machine or backup
.vmdk / .vdiVirtual disks used by other virtual machine programsSeveral GB to hundreds of GBOnly after removing the virtual machine
.wim / .esdWindows image files, usually inside installation mediaSeveral GBOnly copies you made yourself, never ones in Windows folders

When to keep an ISO file

An ISO is not used after installation, so most can go. Keep it if:

  • You cannot download it again. Older purchased software, discs you no longer own or tools from companies that have closed.
  • You need offline installation. For example, an IT kit for PCs without reliable internet.
  • It boots a rescue or recovery tool you rely on, and you do not have it on a USB stick.
  • You use it in a virtual machine that still mounts it as a virtual DVD drive.

Windows installation ISOs are usually not worth keeping. Microsoft's Media Creation Tool and its download page give you the current version whenever you need it, and an old ISO would be out of date anyway. If you do keep ISOs, move them to an external drive rather than your system drive.

How to find ISO and image files

  1. Open File Explorer and select This PC.
  2. In the search box, type ext:iso OR ext:img OR ext:vhd OR ext:vhdx and press Enter.
  3. Switch to View > Details and sort by Size.
  4. Add the Folder path column (right-click a column header) to see where each file is.

Most loose ISO files are in Downloads, on the desktop or in a folder you made for installers. Virtual disks are usually in the folder of whatever program created them.

Files with these extensions inside C:\Windows, C:\ProgramData or Program Files belong to Windows or installed programs. Do not delete them by hand. If you want them gone, remove the feature or program that owns them.

Deleting an ISO file

  1. Check it is not mounted. Open This PC and look for a DVD drive with the ISO's name. If there is one, right-click it and choose Eject.
  2. Right-click the ISO file and choose Delete.
  3. Empty the Recycle Bin when you are sure, or the space will not come back.

If Windows says the file is in use, a program may still have it open, or it is still mounted. Eject it, close any installer or virtual machine program and try again. Restarting the PC also releases it.

Virtual machine disks need extra care

A .vhdx or .vmdk file is the entire hard drive of a virtual machine, including its operating system, programs and files. Before deleting one:

  1. Open the virtual machine program and check which machine uses the disk.
  2. Start the machine if needed and copy out anything you want to keep.
  3. Delete the machine using the program's own remove or delete option. Many programs offer to delete the disk files at the same time.
  4. If the disk file is still there afterwards, and you are sure no machine uses it, delete it.

Some virtual disks are created by Windows features rather than by you. For example, Linux distributions installed with the Windows Subsystem for Linux store their files in a virtual disk inside your AppData folder. Remove those through the feature itself, for example with wsl --unregister followed by the distribution name, which deletes the distribution and its disk. Never delete them by hand while the feature is installed.

Windows backups can also be stored as VHD or VHDX files, for example in a WindowsImageBackup folder on an external drive. Those are full system backups. Keep the newest one you might need to restore from, and delete older ones only when you have a newer backup you trust.

Old game installers and other big setup files

Disk images are only one kind of leftover installer. Game installers, offline setup packages and ZIP archives of software often sit in Downloads for years, each several gigabytes. Our guide on whether you can delete installer files after installing covers .exe, .msi and archive files, and which installer folder Windows needs you to leave alone.

Finding them all in one scan

Drive Sweeper includes a huge file finder that lists the biggest files on any drive, including disk images, old game installers and virtual machines, with a size filter and the date each was last opened. An ISO that has not been opened in two years is easy to spot. Its old download detection also flags installers and archives in Downloads that you have not opened in months.

Drive Sweeper never picks system files or program folders for removal, and anything you remove stays in a restore area for 30 days, which is useful if you later find you did need that installer. For other large files worth checking, see how to find large files on Windows 11.

Quick answers

  • ISO in Downloads after installing: delete it.
  • ISO you cannot get again: keep it on an external drive.
  • VHDX you do not recognize: find out what created it before you touch it.
  • Image files in Windows or program folders: leave them alone.

Frequently asked questions

Do I need the ISO file after installing Windows or a program?

No. Once installation is finished the ISO is not used. Keep one copy only if you might need to reinstall offline.

Is it safe to delete a VHDX file?

Only if you no longer need the virtual machine or disk it belongs to. A VHDX is the whole hard drive of that virtual machine.

Why can I not delete an ISO file?

It may still be mounted as a virtual drive. Right-click the drive in This PC and choose Eject, then delete the file.

Get three guides like this every month, plus software update notices.Subscribe →