Error: “The Process cannot access the file because another process has locked a portion of the file” for a Hyper-V VM

We all hate errors that its way intersect with us, but what if you faced an error when you are powering on your VM !

I know how you feel now.

Anyway, such an error that apparently sounds like a long time of troubleshooting is needed, can be handled with a very few steps.

Hyper-V

  1. Open the VM Settings.
  2. Remove the virtual DVD Drive
  3. Re-add the Virtual DVD Drive

Try to power on your VM again, and everything will look fine.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s