Can't unmount ISO
Yesterday I mounted an ISO. Now I'm done with the files and I want to unmount and delete the folder. Upon attempting to eject the ISO, I keep getting this error:
An error occurred while ejecting 'CD Drive (F:) ISO_NAME'
So I figured I'd give PowerShell a try. I opened Powershell as administrator, and was able to "unmount" the ISO using mountvol F: /d. This "Fixed" the issue, as the ISO didn't show up in explorer as mounted.
Now I want to delete the folder that housed the ISO files, but I get another error saying the folder was in use. I restarted my computer, and lo and behold, the ISO is still mounted as if I never used PowerShell in the first place. Attempting to use PowerShell again to unmount it via the same command, (Still running in admin mode, mind) I'm getting an "access is denied" error within PowerShell.
Using Dismount-DiskImage -ImagePath "C:\PATH"does absolutely nothing as well. No errors, but it doesn't change anything.
Simply put, how can I remove this mounted ISO from my computer?
52 Answers
I want to delete the folder that housed the ISO files
I get another error saying the folder was in use.
Boot into safe mode, unmount the ISO if it is still mounted, and then delete the files.
Press window key or the start menu and then type device manager then go to the disk drive you want to remove then it restart and the cd drive will be removed