Answered by:
General Access Denied Error 0x80070005 creating .VHDX in a SHARED FOLDER

-
I have 2 windows 2012 servers (WIn2012 Standard File Server / Shared Folder and Win2012 Standard + Hyper-V)
The shared folder have users, admins, system, everyone full control permissions for shared + NTFS permissions (i added also the HYPER-V$ computer account)
I´ve tried PROCMON to see the error in detail, filtered out useless things and aded keyword VHD to ctach the write attempt.. nothing, no itens captured...
But when i try to create the .VHDX file, i got the error message
"Failed To Create Virtual Hard Disk" and "General Access Denied Error 0x80070005 creating .VHDX " error
I´m trying to create using the new disk wizard and typing \\server\sharedfolder as destination for the VHDX file
Any ideas?
Question
Answers
-
I realy knew about the loopback thing, but i was using the HV Manager on the FileServer Itself. (i though the loopback thing will affect VMs running on the FIleServer/Hyper-V server itself, i tought that using HV Manager pointed to another machone was enough to complete the procedure.
After tried to create the .VHD file using another HV Manager, on another machine, the problem was solved
- Marked as answer by Elton_JiMicrosoft contingent staff, Moderator Monday, October 21, 2013 3:11 AM
All replies
-
If the share is on a Hyper-V Server, I expect the access denied. (no loopback UNC paths).
If the share is hosted by your File Server (separate box) I would expect it to work as long as all the permissions are correct.
BTW - everyone Full Control does nothing in this scenario, neither do user permissions. This is all about the computer account of the Hyper-V server having the proper permissions and also about delegation.
Most of your resources are here for Server 2012: http://blogs.technet.com/b/josebda/archive/2013/05/05/updated-links-on-windows-server-2012-file-server-and-smb-3-0.aspx
Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat.
Disclaimer: Attempting change is of your own free will. -
I realy knew about the loopback thing, but i was using the HV Manager on the FileServer Itself. (i though the loopback thing will affect VMs running on the FIleServer/Hyper-V server itself, i tought that using HV Manager pointed to another machone was enough to complete the procedure.
After tried to create the .VHD file using another HV Manager, on another machine, the problem was solved
- Marked as answer by Elton_JiMicrosoft contingent staff, Moderator Monday, October 21, 2013 3:11 AM
-
Augh, I worked on this for a while using RDP to get to my Win2012 R2 file server. From that session, I was trying to manage the Windows 2012 Hyper-V server and was getting the General Access Denied error.
As an aside, I was also trying to get Hyper-V 2012 to connect to an SMB 3 (SAMBA 4) share on FreeNAS with the same error.
Well, using RSAT from Windows 8 worked perfectly with the Windows 2012 file server. I'm going to try FreeNAS again just for the fun of it, but won't use that in production.
Just to be clear, you cannot run the Hyper-V Manager from any of the SMB file servers.
Rick
-
Hi,
Hyper-V over SMB works on Server 2012/R2 Shares and on some boxes from the 2 major NAS Player, EMC and NetApp.
For putting VMs there you need the correct permissons, Full Control for Domain Admins + Hyper-V-Hosts$ and in case it is a Cluster, put also the Cluster-Account$ there.
Plus configure Delegation for SMB.
http://blogs.msdn.com/b/taylorb/archive/2012/03/20/enabling-hyper-v-remote-management-configuring-constrained-delegation-for-smb-and-highly-available-smb.aspxFor the SMB Scenario also think about SMB Bandwidth Limits and SMB Multichannel constraints, depending on your Network Design.
The loopback Problem only is a Problem if you put Hyper-V and Windows FileServer Role on the same Host, which is anyway not a good idea, Hyper-V Role always has to be the one and only, put the rest on VMs.
For Lab purpose ok but then you can not use putting VMs to \\Host\Share on the same Host, you have to use the local drive letters as normal.an easy to remember Access Point for all that Information is http://smb3.info
cheers
Udo
-
Hi Rick,
I have also same problem, like I have export one drive through scsi Initiator and mount with my windows 8 system.
create one partition, create one share folder and give permission to hyper-v host and the user, unable to attached vhdx on that mount point. so i guess its not supported with freenas.
Thanks,
Bhautik Shah
-
-
HI Yall's
I have the same problem and I cant get resolve.
1. check for "Loopback configuration"
2. share folder. Full + HV1$, HV2$, domain/admin, hyper-v, NETWORK SERVICE, SOFS$, SOFS-N1$, SOFS-N2$, SYSTEM, CREATOR OWNER.
3. Under AD, Delegation to Use Kerberos only "cifs" FOR (HV1, HV2, SOFS, SOFS-N1, SOFS-N2,)
Do any body have a check list to check ?
at this point I don't now what to do.
thank you so much.
- Edited by sir yrwins Monday, August 31, 2015 8:35 PM