[ad_1]
If you want Hyper-V VMs to access a remote share hosting ISO files, you must grant the hosts access to the share and delegate CIFS permission to the computer object in AD.
Without completing these two tasks, if you try creating a VM and add the remote share as the path to an ISO file, the VM creation will fail with an “Access Denied” error message.
Follow the two steps below to complete these tasks.
Step 1: Grant the Hosts Share Permissions
In this section, you will grant the Hyper-V hosts’ computer object full share and NTFS permissions.
- Right-click the folder and select Properties.
- Then, click the Sharing tab and select Advanced Sharing. Then, Permissions.



- On the folder share permissions page, click Add.


- To search for computer objects in AD, click Object Types and check Computers.




- Enter the Hyper-V host names and click Check Names. When you finish adding the hosts, click OK.


- Finally, select each host and grant it Full Control. When you finish, click OK.


- Right-click the folder again, select Properties, and click the Security tab. After that, click Edit.


- Repeat the steps you used to grant the Hyper-V host names full share permission then, grant the hosts full NTFS permission as well.


Step 2: Configure CIFS Delegation in AD
The last step is to delegate the CIFS service permission to the Hyper-V computer objects in the Active Directory. Here are the steps:
- Open Active Directory Users and Computers, locate the Hyper-V host’s computer object, right-click it, and select Properties.


- Then, click the Delegation tab, then, and choose Trust this computer for delegation to specified services only. Then, select Use any authentication protocol and click Add.


- On the Add Services pop-up, click Users or Computers. Then, enter the name of the computer hosting the ISO share, click Check names, and OK.
You would have noticed that the Hyer-V host that I am assigning the delegation is the same computer hosting the ISO share. Despite this, I have to configure this delegation, otherwise, the host will not be able to access the share from Hyper-V or Fail Over Cluster Manager.




- When the configuration returns to the Add Services pop-up, select the CIFS option and click OK. Finally, click OK to complete the delegation configuration.




Conclusion
Hyper-V requires specific configurations to allow it to set a remote share as the ISOfile location for installing VMs. In this guide, I have explained the steps to grant the Hyper-V hosts’ AD computer objects share permission and also configure the CIFS delegation.
Once you complete these tasks, you can install a Hyper0-V VM using an ISO file hosted in a remote Windows share.
I am confident that you found this guide helpful but I’d like to hear your thoughts. Let me know if this guide met your expectations and was easy to read by responding to our “Was this page helpful?” feedback request below.
[ad_2]
Victor Ashiedu
Source link
