VBoxManage guestproperty - how to?

This is for discussing general topics about how to use VirtualBox.
Post Reply
hackentrick
Posts: 5
Joined: 12. Sep 2012, 14:20
Primary OS: MS Windows 2003
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WinXP

VBoxManage guestproperty - how to?

Post by hackentrick »

I'm trying to use the Guest properties feature to transfer a string between Host and Guest.
I managed to set a <value> for self created <property> on the Host side and could read it on the Guest side.

So far so good, but I don't understand the "flags", especially the TRANSIENT flag.
The help file tells me:
TRANSIENT: the value will not be stored with the VM data when the VM exits;
When i set a value with the TRANSIENT flag, the value is still there even after rebooting the Host. And i can find the <property> incl. <value> in the *.vbox file.
That's not what I would understand as "the value will not be stored........" ;)
So, is this a bug or just a misunderstanding ?

My goal is to transfer a string between Host and Guest and delete the string automatically by shutting down the Guest or the Host.
Has anybody an Idea how to do this?

Thank you in advance!
Alex
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: VBoxManage guestproperty - how to?

Post by mpack »

ISTM the clipboard might be better for this?
hackentrick
Posts: 5
Joined: 12. Sep 2012, 14:20
Primary OS: MS Windows 2003
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WinXP

Re: VBoxManage guestproperty - how to?

Post by hackentrick »

Hi mpack,

thank you for your answer.
I need to automate the transfer between Host and Guest. I think the clipboard is not the best choice for that.
Furthermore the clipboard is currently disabled, and I don't want to change this.
Any other idea?

Do you think the "Guest Properties" feature is broken? Then I should open a ticket.

Alex

... what is the meaning of ISTM ?
hackentrick
Posts: 5
Joined: 12. Sep 2012, 14:20
Primary OS: MS Windows 2003
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WinXP

Re: VBoxManage guestproperty - how to?

Post by hackentrick »

Whoever is interested, just wanna let you know the TRANSIENT flag is working in Version 4.2.
Post Reply