How-To

Can’t Delete ISO File Open in System: How to Fix

ISO mounting issues featured

Are you having trouble trying to delete an ISO file? Here are some things to try when you can’t delete an ISO file open in system.

You have an ISO file that you no longer need, and it’s taking up space on your hard drive. You go to delete it when you see an error message: The action can’t be deleted because the file is open in System. No matter how many times you click ‘Try Again’ the file still won’t budge.

The good news is that are some fixes you can try to help you get rid of that ISO file once and for all. Here’s what to try if you can’t delete an ISO file open in System.

What is an ISO File?

An ISO file is a type of file that contains an exact copy of an optical disc, such as a DVD or CD. This type of disc image can be mounted on your computer, and it will appear as if there is an optical drive attached to your computer, with a CD or DVD containing data inserted into the drive.

ISO files can also be used to burn new copies of the DVDs or CDs that they were created from, or simply to contain a large number of files in one single file that is simple to download. ISO files are typically fairly large; once you’re finished with them, the likelihood is that you’ll want to delete them from your computer.

Why Can’t I Delete an ISO File Open in System?

If you try to delete an ISO file on Windows, you may receive a message that the file is open in System. This means that as the ISO file is in use, your computer is unable to delete it.

Solving this issue may be as simple as unmounting the virtual drive that your ISO file has created on your computer. If this doesn’t work, there are some other options you can try.

Unmount the ISO File

Opening an ISO file will create a virtual optical disc drive on your computer. This drive acts as if you have installed a CD or DVD into your computer with the contents of the ISO on the optical disc.

Whilst this virtual drive is mounted (made accessible to your computer) you will not be able to delete the ISO file that created it. That’s because the virtual drive is using the file to generate its contents. If you unmount this drive, in effect disconnecting the virtual drive, you should be able to delete the ISO file that created it.

There are several different ways you can go about dismounting a drive.

Unmount Using the Context Menu

You should be able to unmount the virtual drive created by your ISO file directly within File Explorer. You can do this using the Eject option in the context menu.

To unmount an ISO file using the context menu:

  1. Open File Explorer.
  2. In the left-hand column, look for the mounted drive.
    windows virtual drive
  3. Right-click on the drive and select Eject.
    windows eject virtual drive
  4. Once the drive has been unmounted, try deleting your ISO file again.

Unmount in Command Prompt

You can also use the Command Prompt to unmount the virtual drive created by your ISO file or to unmount the ISO file itself

To unmount a disk image drive in Command Prompt:

  1. Click the Search icon in the Windows taskbar.
    windows file menu
  2. Type cmd and double-click the Command Prompt app when it appears.
    search command prompt
  3. Type PowerShell Dismount-DiskImage -DevicePath \\.\
    command prompt dismount drive
  4. Type the letter of the drive you want to unmount, followed by a colon.
    command prompt dismount drive name
  5. Press Enter.
  6. Once completed, you will see a message starting with Attached:False.command prompt dismount drive success
  7. Close Command Prompt and try deleting the ISO file again.

If you cannot see the disk image drive in File Explorer, or you’re not sure which of the drives of your computer is the disk image created by the ISO file, you can try unmounting the ISO file itself.

To unmount an ISO file in Command Prompt:

  1. Open File Explorer and navigate to the folder containing your ISO file.
  2. Right-click the file and select Copy As Path.
    windows copy as path
  3. Click the Search icon.
    windows file menu
  4. Type cmd and double-click the Command Prompt app when it appears.
    search command prompt
  5. Type PowerShell Dismount-DiskImage -ImagePath “”
    command prompt dismount image
  6. Press Ctrl+V to paste the full path of your ISO file, then type two more quotation marks.
    command prompt dismount image path
  7. Press Enter.
  8. Wait for the file to unmount. You will see a message starting with Attached: False once the file has unmounted.
    command prompt dismount image success
  9. Close Command Prompt and try deleting the ISO file again.

Unmount Using PowerShell

The above method uses a PowerShell command in Command Prompt to unmount the drive or ISO file. You can achieve the same result directly in the PowerShell app. Once again, you can choose to unmount the virtual drive, or the ISO file itself.

To unmount a disk image drive in PowerShell:

  1. Click the Search icon.
    windows file menu
  2. Start typing PowerShell and double-click the PowerShell app when it appears.
    windows search powershell
  3. Type Dismount-DiskImage -DevicePath \\.\
    powershell dismount drive
  4. Type the letter of the virtual drive that you want to unmount, followed by a colon.
    powershell dismount drive name
  5. Press Enter.
  6. When the process is complete, you’ll see a message that starts with Attached: False.
    powershell dismount drive success
  7. Close PowerShell and try deleting the ISO file again.

If you’re not sure which drive on your computer is the virtual drive from the ISO, or you can’t see the virtual drive in File Explorer, you can try unmounting the ISO file itself.

To unmount an ISO file in PowerShell:

  1. Open File Explorer and navigate to the folder that contains your ISO file.
  2. Right-click the file and click Copy As Path.
    windows copy as path
  3. In the Windows taskbar, click the Search icon.
    windows file menu
  4. Start typing PowerShell and double-click the PowerShell app when it appears.
    windows search powershell
  5. Type Dismount-DiskImage -ImagePath followed by a space.
    powershell dismount image
  6. Press Ctrl+V to paste the full path of your ISO file.
    powershell dismount image path
  7. Press Enter.
  8. When the file has unmounted, you will see a message starting with Attached: False.
    powershell dismount image success
  9. Close PowerShell and try deleting the ISO file again.

If you cannot see the disk image drive in File Explorer, or you’re not sure which of the drives of your computer is the disk image created by the ISO file, you can try unmounting the ISO file itself.

Restart Your Computer

If unmounting your ISO file doesn’t work, you can try restarting your computer. This may stop whatever process is currently using your ISO file and allow you to delete the file.

To restart your Windows computer:

  1. Click the Start icon in the Windows taskbar.
    windows start menu
  2. At the bottom-right of the window, click the Power icon.
    windows power icon
  3. Select Restart.
    windows restart
  4. When Windows has finished restarting, try deleting the file again.

Delete the ISO File in Safe Mode

If you cannot delete the ISO file after restarting, you can try restarting in Safe Mode. This opens Windows with a minimal set of drivers. Using Safe Mode may mean that the process that is stopping your ISO file from deleting will not run, allowing you to delete the file.

To restart Windows in Safe Mode:

  1. Click the Start icon at the bottom of the screen.
    windows start menu
  2. In the bottom-right of the window, click the Power icon.
    windows power icon
  3. Hold down the Shift key and click Restart.
    windows restart
  4. Your computer will now boot into the recovery environment.
  5. Click Troubleshoot.
    windows safe mode troubleshoot
  6. Select Advanced Options.
    windows safe mode advanced options
  7. Choose Startup Settings.
    windows safe mode startup settings
  8. Click Restart.
    windows safe mode restart
  9. Press 4, 5, or 6 to boot into Safe Mode.
    windows safe mode options
  10. Try deleting your ISO file again.
  11. Restart your computer as normal to exit Safe Mode.

Delete the ISO File Using IObit Unlocker

If none of the methods above have worked, you can try using a third-party app to unlock your file so that you’re able to download it. There are a number of options available. We’ll take a look at how to use IObit Unlocker, which is a free application.

To delete an ISO file using IObit Unlocker:

  1. Download and install IObit Unlocker.
  2. Once the installation finishes, open File Explorer.
  3. Right-click on the ISO file you want to delete.
  4. Select More Options.
    windows context show more options
  5. In the context menu, click IObit Unlocker.
    windows context menu iobit
  6. Confirm that you allow IObit Unlocker to make changes to your computer.
    windows allow iobit permissions
  7. In IObit Unlocker, ensure that your ISO file is selected and click Unlock.
    iobit unlock file
  8. If successful, you’ll see a message that your file has been unlocked successfully.
    iobit file unlocked
  9. Close IObit Unlocker and try deleting the ISO file again.

Take Control of Windows

Hopefully one of the methods above has stopped you from receiving the error that you can’t delete an ISO file open in System. If you find another useful method of deleting ISO files that generate this error, please let us know in the comments below.

If you’re having trouble deleting other file types, then there are some methods you might try to delete undeletable files in Windows 11. There are also some tricks you can use to delete temporary files on Windows 11. ISO files aren’t the only type of file format that can be tricky to deal with, too.

You might also want to learn how to install a CAB file on Windows 11 if you’re trying to install an update you’ve manually downloaded.

Click to comment

Leave a Reply

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

 

To Top