Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Solved: How Do I Fix Hyper-V Service Permission Error When Accessing ISO File

  • The blog article explains how to fix the Hyper-V service permission error when accessing an ISO file on a local drive or network share.
  • The blog article provides two methods to fix the error: granting full permission to the Hyper-V service account or copying the ISO file to the default virtual hard disk location.
  • The blog article also answers some frequently asked questions related to Hyper-V, ISO files, and virtual machines.

If you use Hyper-V to create and manage Virtual machines, you may encounter a common issue when trying to install an operating system from an ISO file. You may see an error message like this:

‘New Virtual Machine’ failed to start.

User Account does not have permission to open attachment ‘C:\Users\user\Downloads\ubuntu-20.04.3-desktop-amd64.iso’. Error: ‘General access denied error’ (0x80070005).

(Virtual machine ID 7E775181-9A5F-4B7A-B9BD-8E9871F01501)

This error means that the Hyper-V service does not have the required permission to access the ISO file on your local drive or network share. This can prevent you from installing or booting your virtual machine from the ISO file.

In this blog post, I will show you how to fix this error and successfully mount the ISO file to your virtual machine. I will also answer some frequently asked questions related to this topic.

How to Fix Hyper-V Service Permission Error

There are two main ways to fix the Hyper-V service permission error when accessing an ISO file:

  • Solution 1: Grant full permission to the Hyper-V service account
  • Solution 2: Copy the ISO file to the default virtual hard disk location

Let’s go through each method in detail.

Solution 1: Grant full permission to the Hyper-V service account

The Hyper-V service runs under a special account called NT VIRTUAL MACHINE\Virtual Machines. This account needs full permission to access the ISO file on your local drive or network share.

To grant full permission to this account, follow these steps:

  1. Right-click on the ISO file and select Properties.
  2. Go to the Security tab and click on Edit.
  3. Click on Add and type NT VIRTUAL MACHINE\Virtual Machines in the Enter the object names to select box. Click on Check Names and then OK.
  4. Select the Virtual Machines account and check the Full control box under Allow. Click on Apply and then OK.
  5. Click on OK again to close the Properties window.

Now, you should be able to attach the ISO file to your virtual machine without any error.

Solution 2: Copy the ISO file to the default virtual hard disk location

Another way to fix the Hyper-V service permission error is to copy the ISO file to the default location where Hyper-V stores its virtual hard disks. This location is usually C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks.

By copying the ISO file to this location, you can avoid any permission issues since Hyper-V already has full access to this folder.

To copy the ISO file to the default virtual hard disk location, follow these steps:

  1. Open File Explorer and navigate to the folder where your ISO file is located.
  2. Right-click on the ISO file and select Copy.
  3. Go to C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks and right-click on an empty space. Select Paste.
  4. Now, you can attach the ISO file from this location to your virtual machine without any error.

Frequently Asked Questions

Here are some common questions and answers related to Hyper-V service permission error when accessing an ISO file.

Question: What is Hyper-V?

Answer: Hyper-V is a feature in Windows that allows you to create and run virtual machines on your computer. A virtual machine is a software-based emulation of a physical computer that can run a different operating system and applications.

Question: What is an ISO file?

Answer: An ISO file is a disk image file that contains all the data of a CD, DVD, or Blu-ray disc. You can use an ISO file to install or boot an operating system or software on a virtual machine.

Question: How do I attach an ISO file to a virtual machine in Hyper-V?

Answer: To attach an ISO file to a virtual machine in Hyper-V, follow these steps:

  1. Open Hyper-V Manager and select your virtual machine.
  2. Click on Settings in the right pane.
  3. Under Hardware, select DVD Drive and then Image file.
  4. Browse and select your ISO file and click on Apply and then OK.
  5. Start your virtual machine and it should boot from the ISO file.

Question: How do I detach an ISO file from a virtual machine in Hyper-V?

Answer: To detach an ISO file from a virtual machine in Hyper-V, follow these steps:

  1. Open Hyper-V Manager and select your virtual machine.
  2. Click on Settings in the right pane.
  3. Under Hardware, select DVD Drive and then None.
  4. Click on Apply and then OK.

Conclusion

In this blog post, I have shown you how to fix the Hyper-V service permission error when accessing an ISO file. You can either grant full permission to the Hyper-V service account or copy the ISO file to the default virtual hard disk location.

I hope this post has helped you solve your problem and install or boot your virtual machine from an ISO file. If you have any questions or feedback, please leave a comment below.

Disclaimer: The information in this blog post is provided for general informational purposes only. No warranty is expressed or implied. Before using the information in this blog post, you should consult a professional and verify the accuracy and applicability of the information for your specific situation.

The post Solved: How Do I Fix Hyper-V Service Permission Error When Accessing ISO File appeared first on PUPUWEB - Information Resource for Emerging Technology Trends and Cybersecurity.



This post first appeared on PUPUWEB - Information Resource For Emerging Technology Trends And Cybersecurity, please read the originial post: here

Share the post

Solved: How Do I Fix Hyper-V Service Permission Error When Accessing ISO File

×

Subscribe to Pupuweb - Information Resource For Emerging Technology Trends And Cybersecurity

Get updates delivered right to your inbox!

Thank you for your subscription

×