Page 1 of 1

Help "(VERR_VD_IMAGE_READ_ONLY)"

Posted: 25. Jun 2015, 18:31
by CptBBQ
I created a working virtual hard-drive and when i used it for my VM and ran it it came up with this error.

"Failed to open a session for the virtual machine
Failed to open image 'C:\Virtual Harddrive of life.vhd' for writing due to wrong permissions (VERR_VD_IMAGE_READ_ONLY).

Failed to attach driver below us! Image is read-only. (VERR_VD_IMAGE_READ_ONLY).

PIIX3 cannot attach drive to the Primary Master (VERR_VD_IMAGE_READ_ONLY).

Result Code: E_FAIL (0x80004005)
Component: Console
Interface: IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}"

I know this has been asked before but when browsing the forums i couldn't find a solution to it. (maybe i haven't searched deep enough i don't know)
Thanks! :D

Re: Help "(VERR_VD_IMAGE_READ_ONLY)"

Posted: 25. Jun 2015, 18:36
by scottgus1
I would try, first off, moving the vhd into a different folder than the c: drive root. Strange permissions are in control on the c: root. Really, the best place for the virtual drive is in the folder with the guest's .vbox file.

Re: Help "(VERR_VD_IMAGE_READ_ONLY)"

Posted: 25. Jun 2015, 18:43
by CptBBQ
Move? I can't move it from the root. (computer)

It has a little red circle with the cross between it which means that you can't move it, or at least that's what i think it means.

Re: Help "(VERR_VD_IMAGE_READ_ONLY)"

Posted: 25. Jun 2015, 18:47
by CptBBQ
Oh i thought that was a different harddrive. Yeah i'll try that and see if it works :lol:

Re: Help "(VERR_VD_IMAGE_READ_ONLY)"

Posted: 25. Jun 2015, 18:55
by CptBBQ
I can't move it because its open in system or something like that. How do i make it not open in system?

Re: Help "(VERR_VD_IMAGE_READ_ONLY)"

Posted: 25. Jun 2015, 19:04
by scottgus1
You wouldn't by any chance have another running guest using it, perhaps in a guest started as a service? (I'm thinking it's a service because of the "system" user.)

Re: Help "(VERR_VD_IMAGE_READ_ONLY)"

Posted: 26. Jun 2015, 08:58
by mpack
Or perhaps the VHD has been mounted in the host.