Avatar of LockDown32
LockDown32
Flag for United States of America asked on

Can't delete file. Something has it opened.

I went to install a VM (a 2019 Server VM on a 2019 Server). It asked for the ISO to install it. I pointed it to the right ISO and it installed. Working great. Now I went back to delete that ISO and it says it can't because it is open in "System".

   This has been happening for years but I need to revisit it. In this day and age is there any simpler way to tell what process or user has this file open other then process monitor, wholockme or the others? What is the current method for determining what has this file open?
VirtualizationInstallation

Avatar of undefined
Last Comment
LockDown32

8/22/2022 - Mon
David Favor

You can just shutdown the entire VM. That will close the file.
LockDown32

ASKER
Well.... that did the trick but then the VM wouldn't restart so I had to restore it from the recycling bin. Why in the would would it, at this point, need the ISO to run?  I know a 4GB file isn't absolutely huge but I seen no need in keeping it around. I have a copy on DVD.
ASKER CERTIFIED SOLUTION
Ajay Chanana

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
LockDown32

ASKER
Thanks gents. It was still mounted as a DVD in the VM. Once I "ejected" I could delete the ISO. Never would have thought that to be the issue.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes