Index: /trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp	(revision 49630)
+++ /trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp	(revision 49631)
@@ -1433,4 +1433,8 @@
     }
 
+    if (   vrc == VERR_GSTCTL_GUEST_ERROR)
+        && pGuestRc)
+        *pGuestRc = guestRc;
+
     LogFlowThisFunc(("Returning rc=%Rrc, guestRc=%Rrc\n",
                      vrc, guestRc));
