Home >Common Problem >Unable to delete ISO file opened in system: How to fix it

Unable to delete ISO file opened in system: How to fix it

WBOY
WBOYforward
2023-04-16 14:25:045977browse

What is an ISO file?

An ISO file is a file that contains an exact copy of an optical disc, such as a DVD or CD. This type of disc image can be installed on your computer and appear as if you have an optical drive connected to your computer and 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 from which they were created, or simply to contain a large number of files in a single, easy-to-download file. ISO files are often quite large; when you're done with them, you'll most likely want to delete them from your computer.

Why can't I delete the ISO file opened in the system?

If you try to delete an ISO file on Windows, you may get a message stating that the file is already open on your system. This means that your computer cannot delete the ISO file because it is in use.

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

Uninstall the ISO file

Opening the ISO file will create a virtual optical drive on your computer. The drive acts as if you had installed a CD or DVD into your computer, with the contents of the ISO included on the disc.

While this virtual drive is mounted (accessible to your computer), you cannot delete the ISO file that created it. That's because the virtual drive is using that file to generate its contents. If you unmount this drive, effectively disconnecting the virtual drive, you should be able to delete the ISO file that created it.

There are several different methods for unmounting a drive.

Unmount using the context menu

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

To uninstall an ISO file using the context menu:

    Open
  1. File Explorer.
  2. In the left column, look for the mounted drive.

  3. Unable to delete ISO file opened in system: How to fix it
  4. Right-click the drive and select
  5. Eject.
    Unable to delete ISO file opened in system: How to fix it
  6. After unmounting the drive, try deleting your ISO file again.
Uninstall in Command Prompt

You can also use Command Prompt to uninstall a virtual drive created by an ISO file or to uninstall the ISO file itself

To unmount a disk image drive in the command prompt:

    Click the
  1. Search icon in the Windows taskbar.
    Unable to delete ISO file opened in system: How to fix itType
  2. cmd and double-click the
  3. Command Prompt application when it appears.
    Unable to delete ISO file opened in system: How to fix itEnter
  4. PowerShell Dismount-DiskImage -DevicePath \\.\

  5. Unable to delete ISO file opened in system: How to fix it
    ##Type the name of the drive you want to unmount drive letter, followed by a colon.

  6. Press Unable to delete ISO file opened in system: How to fix itEnter
  7. .
  8. When completed, you will see a message starting with Attached:False
  9. .
  10. Close Unable to delete ISO file opened in system: How to fix itCommand Prompt
  11. and try deleting the ISO file again.
  12. If you don't see the disk image drive in File Explorer, or you're not sure which drive on your computer is the disk image created from the ISO file, you can try unmounting the ISO file itself.

To uninstall an ISO file in the 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.
    Unable to delete ISO file opened in system: How to fix it
  3. Click the Search icon.
    Unable to delete ISO file opened in system: How to fix it
  4. Type cmd and double-click the Command Prompt application when it appears.
    Unable to delete ISO file opened in system: How to fix it
  5. Enter PowerShell Dismount-DiskImage -ImagePath “”
    Unable to delete ISO file opened in system: How to fix it
  6. ##Press
  7. Ctrl VPaste the full path of the ISO file and then type two quotation marks.
    Unable to delete ISO file opened in system: How to fix it
  8. Press
  9. Enter.
  10. Wait for the file to be unloaded. After the file is uninstalled, you will see a message starting with
  11. Attached: False.
    Unable to delete ISO file opened in system: How to fix it
  12. Close the command prompt and try deleting the ISO file again.
Unmount using PowerShell

The above method uses PowerShell commands in the command prompt to unmount the drive or ISO file. You can achieve the same results directly in your PowerShell app. Likewise, you can choose to unmount the virtual drive or the ISO file itself.

To unmount a disk image drive in PowerShell:

    Click the
  1. Search icon.
    Unable to delete ISO file opened in system: How to fix it
  2. Start typing
  3. PowerShell and double-click the PowerShell application when it appears.
    Unable to delete ISO file opened in system: How to fix it
  4. Enter
  5. Dismount-DiskImage -DevicePath \\.\
    Unable to delete ISO file opened in system: How to fix it
  6. Enter the name of the virtual drive to be unmounted drive letter, followed by a colon.

  7. Unable to delete ISO file opened in system: How to fix it
  8. Press
  9. Enter.
  10. When the process is complete, you will see a message starting with
  11. Attached: False.
    Unable to delete ISO file opened in system: How to fix it
  12. Close PowerShell and try deleting the ISO file again.
If you're not sure which drive on your computer is the virtual drive in the ISO, or you don't see the virtual drive in File Explorer, you can try unmounting the ISO file itself.

To uninstall an ISO file in PowerShell:

    Open
  1. File Explorer and navigate to the file containing your ISO file folder.
  2. Right-click the file and click
  3. Copy as path.
    Unable to delete ISO file opened in system: How to fix it
  4. In the Windows taskbar, click the
  5. Search icon.
    Unable to delete ISO file opened in system: How to fix it
  6. Start typing
  7. PowerShell and double-click the PowerShell application when it appears.
    Unable to delete ISO file opened in system: How to fix it
  8. Type
  9. Dismount-DiskImage -ImagePath followed by a space.
    Unable to delete ISO file opened in system: How to fix it
  10. Press
  11. Ctrl V to paste the full path of the ISO file.
    Unable to delete ISO file opened in system: How to fix it
  12. Press
  13. Enter.
  14. After unloading the file, you will see a message starting with Attached: False.
    Unable to delete ISO file opened in system: How to fix it
  15. Close PowerShell and try deleting the ISO file again.
If you don't see the disk image drive in File Explorer, or you're not sure which drive on your computer is the disk image created from the ISO file, you can try unmounting the ISO file itself.

Restart your computer

If uninstalling your ISO file doesn't work, you can try restarting your computer. This may stop any processes 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.
    Unable to delete ISO file opened in system: How to fix it
  2. In the lower right corner of the window, click the Power icon.
    Unable to delete ISO file opened in system: How to fix it
  3. Select Restart.
    Unable to delete ISO file opened in system: How to fix it
  4. After Windows completes 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 will open Windows with a minimal set of drivers. Using safe mode may mean that the process that stopped deleting the ISO file 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.
    Unable to delete ISO file opened in system: How to fix it
  2. In the lower right corner of the window , click the power icon.
    Unable to delete ISO file opened in system: How to fix it
  3. Hold down the Shift key and click Restart.
    Unable to delete ISO file opened in system: How to fix it
  4. Your computer will now boot into the recovery environment.
  5. Click Troubleshooter.
    Unable to delete ISO file opened in system: How to fix it
  6. Select Advanced Options.
    Unable to delete ISO file opened in system: How to fix it
  7. Select Startup Settings.
    Unable to delete ISO file opened in system: How to fix it
  8. Click Restart.
    Unable to delete ISO file opened in system: How to fix it
  9. Press 4, 5 or 6 to boot into safe mode.
    Unable to delete ISO file opened in system: How to fix it
  10. Try deleting your ISO file again.
  11. Restart the computer normally to exit safe mode.

Delete ISO Files with IObit Unlocker

If none of the above methods work, you can try using a third-party app to unlock your file so you can download it. There are many options available. We will learn how to use the free app IObit Unlocker.

To use IObit Unlocker to delete ISO files:

  1. Download and install IObit Unlocker.
  2. After the installation is complete, open File Explorer.
  3. Right click on the ISO file you want to delete.
  4. SelectMore options.
    Unable to delete ISO file opened in system: How to fix it
  5. In the context menu, click IObit Unlocker.
    Unable to delete ISO file opened in system: How to fix it
  6. Confirm that you allow IObit Unlocker to make changes to your computer.
    Unable to delete ISO file opened in system: How to fix it
  7. In IObit Unlocker, make sure your ISO file is selected and click Unlock.
    Unable to delete ISO file opened in system: How to fix it
  8. If successful, you will see a message stating that your file has been successfully unlocked.
    Unable to delete ISO file opened in system: How to fix it
  9. Close IObit Unlocker and try deleting the ISO file again.

Controlling Windows

Hopefully one of the above methods has prevented you from receiving the error that you cannot delete an ISO file opened in System.open. If you find another useful method to delete the ISO file that generates this error, please let us know in the comments below.

If you have problems deleting other file types, there are some methods you can 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 file format type that's difficult to work with, either.

If you are trying to install a manually downloaded update, you may also want to know how to install a CAB file on Windows 11.

The above is the detailed content of Unable to delete ISO file opened in system: How to fix it. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete