RESOLUTION
To resolve this issue, run a script that uses the Microsoft Component Object Model (COM) interface. Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. The following example script includes the COM interface that must be used to issue the ALT+PRINT SCREEN request to the guest computer that is running on Virtual Server 2005:
'-------------------
' This script will send the Alt+PrintScreen keyboard shortcut to a guest
'-------------------
Set vso = CreateObject("VirtualServer.Application","yourhostname")
Set vm = vso.FindVirtualMachine("your-VMname-here")
vm.keyboard.TypeKeySequence("DOWN,Key_LeftAlt,DOWN,Key_SysReq,UP,Key_LeftAlt,UP,Key_SysReq")
You can change the print screen keyboard shortcut, depending on the type of screen capture that you want.
For additional information about Print Screen key sequences, click the following article number to view the article in the Microsoft Knowledge Base:
173884
How to capture screen shots in Windows using the PRINT SCREEN key
For additional information about writing scripts by using the Virtual Server 2005 COM interface, see the "Microsoft Virtual Server 2005 COM Interface" topic in
Virtual Server Programmer's Guide.
To view
Virtual Server Programmer's Guide on the computer that is running Virtual Server 2005, click
Start, point to
All Programs, point to
Microsoft Virtual Server, and then click
Virtual Server Programmer's Guide.