if you're getting any of these,
"might not have permission to perform this task"
"server encountered an error while configuring hard disk you might not have permissions"
"Contact the administrator of the authorization policy for the computer "
"The server encountered an error trying to create the virtual hard disk"
or any error at all, always 1st check that this service is on:
"Hyper-V Image Management Service".
well, and all its other services