Patent ID: 8307358

Claim:
A method for handling a guest operating system (GOS) behavior, the method comprising: activating a first Virtual Machine (VM) on a computer system having a host OS; launching a scripting system in the host OS for capturing user actions in the VM as they relate to screen images generated within the Virtual Machine, wherein the scripting system has a highest possible privilege level; generating, by the scripting system, from VM video frames, an executable script; and automatically manipulating a GOS in a second VM by executing the executable script in the host OS and outside the VM and providing the user actions and the interaction between the user actions and the screen images to the GOS, wherein the scripting system records user actions performed during a specified recording period, and generates the executable script based on the recorded user actions, and wherein the scripting system records guest OS screen image fragments pointed to by the user, and the executable script includes the fragments as arguments, and the recorded user actions as methods.