Page 1 of 1

Cannot attach medium .. medium is already associated with ..

Posted: 3. Jul 2011, 22:45
by paddes
Hello,

i got the following error message:
Cannot attach medium '/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso' {5a94da85-ef08-4a1a-8576-bec8aacfa013}: medium is already associated with the current state of machine uuid {52f43a23-d769-47dc-a1c5-b076ebf26c7f}!.
Fehlercode:
VBOX_E_OBJECT_IN_USE (0x80BB000C)
Komponente:
Medium
Interface:
IMedium {9edda847-1279-4b0a-9af7-9d66251ccc18}
If i click on the refresh button, nothing happens!
What can i do, to fix this problem?

I tried to install an older version of virtual box to eliminate the problem, but it used nothing!
Actually i have (re)installed the newest version 4.0.10. Still the same problem.

My Guest Operating System is Windows 7.

Re: Cannot attach medium .. medium is already associated with ..

Posted: 3. Jul 2011, 22:48
by Perryg
If you can open the VirtualBox main manager, go to the preference and media manager and remove the additions. This happens when you leave the additions.iso attached to a guest and try to update sometimes.

Re: Cannot attach medium .. medium is already associated with ..

Posted: 3. Jul 2011, 23:01
by paddes
Thank you, now it works!

Re: Cannot attach medium .. medium is already associated wit

Posted: 27. Apr 2015, 08:50
by another_sam
In my case, at /path/to/my/vm/image/file/foo.vdi I had twice an "AttachedDevice" node with the same image.

So I edited foo.vdi as follows:
1. Search for the offending hash (or part of it), like "f5e6ffd0"
2. Remove the whole parent AttachedDevice node