Table of Contents
Error description
Failed to open a session for the virtual machine win7. Failed to open image 'G:\Virtual Box\grac41.vdi' for writing due to wrong permissions (VERR_VD_IMAGE_READ_ONLY).
Root cause
- A non killable VirtualBox.exe is running holding a open file handle to grac41.vdi
- Note this process may not killable – either with task manager or process explorer
Fix
Start DOS BOX with ADMIN rights Start process Explorer ( V16.02 ) C:\tools> procexp Use process explorer and find Find Handle or DLL supstring : grac41.vdi VirtualBox.exe VirtualBox.exe 136.112 K 100.040 K 1972 Oracle VM VirtualBox Manager Oracle Corporation VirtualBox.exe 5068 File E:\VM_HOME\GRAC11204\grac41.vdi File E:\VM_HOME\GRAC11204\grac41.vdi In the file Handle window press right mouse button and select : CLOSE HANDLE
This made me realize there was a hidden process holding my file open. You can do as OP says or you can run the command con console to terminate the process
taskkill /IM vboxsvc.exe /f
this command will kill any process with that name. Killing the hidden process that is grabbing the file we need
Thx Martin ,
for the comment.
I’ll retry it if the problem reoccurs .
br
Helmut
Thanks a lot!!! As simple as more than one VBox running blocking the other. Kill every VBox process and start again.
I had the same error; none of this worked for me. But rebooting the (windows7) host cleared the problem.
stop service Disc soft lite bus service in windows!!! It works for me.
yep that works great;) also the pro service in my case
I am able to fix this with above fix method mentioned, but is there any way to fix this permanently , as i build vm through jenkins using virtualbox as an automated process. Any help to fix this permanently please?
Intel Support Assistant service was the culprit for me. Disabled it and now working.
This also work to me! Thanks hanada!