Unable to delete ISO file opened in system: How to fix it
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
- File Explorer. In the left column, look for the mounted drive.
-
- Eject.
To unmount a disk image drive in the command prompt:
- Click the
- Search icon in the Windows taskbar.
Type
cmd and double-click the -
Command Prompt application when it appears.
Enter
PowerShell Dismount-DiskImage -DevicePath \\.\
##Type the name of the drive you want to unmount drive letter, followed by a colon.-
PressEnter
. - When completed, you will see a message starting with Attached:False .
-
Close
Command Prompt
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.
To uninstall an ISO file in the command prompt:
- Open File Explorer and navigate to the folder containing your ISO file.
- Right-click the file and select Copy as path.
- Click the Search icon.
- Type cmd and double-click the Command Prompt application when it appears.
- Enter PowerShell Dismount-DiskImage -ImagePath “”
##Press - Ctrl VPaste the full path of the ISO file and then type two quotation marks.
- Enter. Wait for the file to be unloaded. After the file is uninstalled, you will see a message starting with
- Attached: False.
To unmount a disk image drive in PowerShell:
- Click the
- Search icon.
- PowerShell and double-click the PowerShell application when it appears.
- Dismount-DiskImage -DevicePath \\.\
Enter the name of the virtual drive to be unmounted drive letter, followed by a colon. -
- Enter. When the process is complete, you will see a message starting with
- Attached: False.
To uninstall an ISO file in PowerShell:
- Open
- File Explorer and navigate to the file containing your ISO file folder. Right-click the file and click
- Copy as path.
- Search icon.
- PowerShell and double-click the PowerShell application when it appears.
- Dismount-DiskImage -ImagePath followed by a space.
- Ctrl V to paste the full path of the ISO file.
- Enter.
- After unloading the file, you will see a message starting with Attached: False.
To restart your Windows computer:
- Click the Start icon in the Windows taskbar.
- In the lower right corner of the window, click the Power icon.
- Select Restart.
- 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:
- Click the Start icon at the bottom of the screen.
- In the lower right corner of the window , click the power icon.
- Hold down the Shift key and click Restart.
- Your computer will now boot into the recovery environment.
- Click Troubleshooter.
- Select Advanced Options.
- Select Startup Settings.
- Click Restart.
- Press 4, 5 or 6 to boot into safe mode.
- Try deleting your ISO file again.
- 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:
- Download and install IObit Unlocker.
- After the installation is complete, open File Explorer.
- Right click on the ISO file you want to delete.
- SelectMore options.
- In the context menu, click IObit Unlocker.
- Confirm that you allow IObit Unlocker to make changes to your computer.
- In IObit Unlocker, make sure your ISO file is selected and click Unlock.
- If successful, you will see a message stating that your file has been successfully unlocked.
- 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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version
Visual web development tools

Notepad++7.3.1
Easy-to-use and free code editor