Hyper-v R2 error creating and editing disks

tsukraw
tsukraw used Ask the Experts™
on
I have installed Hyper-v R2 core system in a workgroup configuration.  I added a user with matching credentials of my laptop for username and password.  I am able to connect to the Hyper-v from the Hyper-V Manager on my laptop just find but when i try to create or edit vhd i receive the follow error which i attached a screen shot of.  I can not seem to figure out what is wrong as i believe the user account is a member of administrators on the local machine (hyper-v machine).

I thought it was a possible firewall problem so i disabled the firewall on the Hyper-v server and that did not resolve the issue.
error.jpg
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:
Here is the message when trying to create a new VHD.  If i browse to the location the drive was created even though i get this error.
error2.jpg

Commented:
Hi;
have you tried connecting to the server with remote desktop connection and do the same things?
I believe there are two possible reasons for these problems.
1) Your user does not have administrator priviledges on windows 2008 server.
2) You user does not have write permission on the folders that you are trying to create vhd files.
Solutions to these :
1) Remote connect to the 2008 server as administrator, right click on My computer and click Manage.Click local users and groups. Click groups.Make sure that the user you have created is a member of administrators group.
2) Right click on the folder and click security.Check that your user have write permissions on the folder, assign the priviledges if necessary.

Author

Commented:
this is a core server all I have is the command line interface.
Commented:
Hi,;
I have found a guide for you including a list of commands to be used in powershell to set file permissions.

http://ss64.com/ps/

Author

Commented:
Did finally figure it out and it was a permissions issue that needed to be set from the command you provided.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial