Created:
5/27/2009 5:23:07 AM

Author:
Przemek Radzikowski

permalink [Permalink]





International Careers & Jobs - An international employment directory, reviewing world-wide top job sites




  • Home  ›
  • Articles  ›
  • Windows XP Mode in Windows 7 and Virtual PC - Part 3: Use virtual machine application on Windows 7



| More

Windows XP Mode in Windows 7 and Virtual PC - Part 3: Use virtual machine application on Windows 7

Part 3 of Windows XP Mode in Windows 7 and Virtual PC, describes three scenarios on how to use Windows XP Mode in Windows 7. We explore how to use a virtual machine application in Windows 7, how to USB device in a virtual machine and how to print from a virtual machine.


 

 

 

  1. Part 1: Maintaining Application Compatibility
  2. Part 2: Create Virtual Machines
  3. Part 3: Use virtual machine application on Windows 7

 

Scenario 1: Use a virtual machine application on Windows 7

If you are running certain versions of Windows XP or Windows Vista on a virtual machine, You can access an application directly from the desktop of the host OS when the application is installed in the virtual machine. In other words, you can run Windows 7 on the host and still use legacy applications without encountering any compatibility problems.

Windows Virtual PC does not support applications that require bidirectional sound or 3D graphics; games are not appropriate for this scenario.
You can only publish virtual applications if the guest operating system is Windows XP Service Pack 3 Professional, Windows Vista Enterprise, Windows Vista Ultimate, Windows 7 Enterprise and Windows 7 Ultimate.

If you are not using Windows XP Mode, you must an install an update package for the scenario to work:

To share a virtual machine application with Windows 7

  1. Open the virtual machine, if it is not already running. From the Virtual Machine folder, right-click the name of the virtual machine and click Open.
  2. Install the application. For example, to install the application from a CD or DVD drive, insert the media in the drive. If the Autorun window appears in the host operating system, close the window. In the guest operating system, navigate to the DVD drive and start the setup.
  3. After the installation completes, log off from the guest operating system and close the virtual machine.
  4. Open the application from the host operating system. From the Windows 7 Start menu, click All Programs, click Windows Virtual PC, and then click the name of the application, below the name of the virtual machine.
  5. After a few seconds, the application opens. If you minimize the application, it appears on the task bar of the host operating system as a minimized virtual machine.
  6. You can use the application just as if it were installed directly on the host operating system.

The following Figure shows how the Windows XP Mode applications running in the virtual machine are presented within the Windows 7 Start menu:

Windows_XP_Mode_Start_Menu_Integration


Figure 1.  Windows 7 Start menu showing Office running in Windows XP

Scenario 2: Use a USB device in a virtual machine

When integration components are installed in the guest operating system, storage devices and smart card readers are automatically shared with virtual machines on a physical computer. Windows Virtual PC also supports USB 2.0 devices, these are either shared with the host OS or by using redirection to the virtual machine. For example, you can redirect the following types of USB devices:

  • Digital cameras
  • USB CD writer/reader
  • MP3 players 
  • Phone/PDA/mobile device 
  • WebCam/video camera 
  • Wireless network adapters

To redirect a USB device to a virtual machine

  1. Attach the device to the physical computer and turn on the device.
  2. From the virtual machine window, click USB and then click Attach [device name].
  3. Windows looks for and tries to install the device driver in the guest operating system. You can also do this yourself, just as you would on a physical computer.
  4. After the driver is installed, you can use the USB device from within the virtual machine the same way as you would on a physical computer.
  5. To make the USB device available on the host operating system, release it from the virtual machine. From the virtual machine window, click USB and then click Release [device name].

Scenario 3: Print from a virtual machine

There are a few methods we can use to make a printer available to a virtual machine.

To share a local USB printer

Use this method if the printer driver is available for both the hosting Windows 7 and the guest OS.

  1. Make sure the printer is turned on and that the printer driver is available for installation. Redirect the printer to the virtual machine. From the virtual machine window, click USB and then click Attach [device name].
  2. Install the printer driver in the guest operating system.
  3. Release the printer from the virtual machine. From the virtual machine window, click USB and then click Release [device name].
  4. Restart the virtual machine. From the virtual machine window, click Action and then click Restart.
  5. Navigate to the virtual machine desktop, and log on if necessary
  6. The printer will now be available in the host Windows 7 operating system and the guest operating system.

To configure a network printer for a virtual machine

  1. Navigate to the virtual machine desktop, and log on if necessary.
  2. Open Control Panel, and then open Printers.
  3. Click Add Printer. The Add Printer Wizard opens.
  4. On the Local or Network Printer page, select the network printer option and complete the wizard.

If your guest operating system is Windows XP, you must manually install the printer driver for each printer. 

To install a printer driver in Windows XP

  1. Click Start, and then click Printers and Faxes.
  2. Under Printer Tasks, click Add a printer. The Add Printer Wizard opens.
  3. On the Local or Network Printer page, select Local printer attached to this computer and clear Automatically detect and install my Plug and Play printer.
  4. On the Select a Printer Port page, click the drop-down control and select one of the TS number ports and click Next.
  5. On the Install Printer Software page, select Windows Update or Have Disk and complete the wizard.

To print from a virtual machine

  1. Navigate to the virtual machine desktop, and log on if required. 
  2. Do one of the following:
    1. From the desktop of the virtual machine, right-click a file and click Print.
    2. Open any application that includes a print option, and then use the print command.
  3. All printers available to the virtual machine are listed. Select a printer, and then click OK.

Conclusion

In this series of three articles we have explained how to install, configure and use the new Windows Virtual PC and Windows XP Mode for sharing and running legacy applications within Windows 7.

 

  1. Part 1: Maintaining Application Compatibility
  2. Part 2: Create Virtual Machines
  3. Part 3: Use virtual machine application on Windows 7

 

References

Windows Virtual PC Product Page
http://go.microsoft.com/fwlink/?LinkId=148103

Windows Virtual PC Evaluation Guide
http://www.microsoft.com/Downloads/details.aspx?familyid=62CD2E63-52F8-4CF5-A7D5-7ABAAB270451&displaylang=en

Update for Windows XP SP3 to Enable Seamless Applications Using Microsoft Windows Virtual PC
http://go.microsoft.com/fwlink/?LinkId=140339

Update for Windows Vista to Enable Seamless Applications Using Microsoft Windows Virtual PC
http://go.microsoft.com/fwlink/?LinkId=140340

 

permalink [Permalink] - Updated: Monday, October 28, 2013





| More

 

Articles of Interest


International Careers & Jobs - An international employment directory, reviewing world-wide top job sites


 
 
(c) Capitalhead Pty Ltd
Contact Capitalhead About Us Articles & Publications Partners Solutions & Services Products Valid XHTML Valid CSS