Many problems with the snapshot command on Windows host.
Tested VB 3.1 and 3.1.2 with:
W7 Pro host and Haiku guest
XP Pro host and W7Pro guest.
Snapshot tree:
Initial
s1
s1.1
s1.2
s2
Pre-condition 1: s2 is the current active snapshot.
Test case 1: vboxmanage snapshot "Haiku" restore "s1".
Result 1: No error, but the restored snapshot is "Initial", wrong result.
Pre-condition 2: Initial is the current active snapshot.
Test case 2: vboxmanage snapshot "Haiku" restore "s1".
Result 2: No error, but the restored snapshot is still "Initial", wrong result.
Pre-condition 3: Initial is the current active snapshot.
Test case 3: vboxmanage snapshot "Haiku" delete "s2".
Result 3: The following error occurs:
ERROR: Argument aId is invalid (must be Guid(aId).isEmpty() == false)
Details: code E_INVALIDARG (0x80070057), component Console, interface IConsole, callee IUnknown
Context: "DeleteSnapshot(guidSnap, pProgress.asOutParam())" at line 369 of file VBoxManageSnapshot.cpp
All of this make VB pretty useless to me instead someone can provide me a good workaround.