The keyboard or the mouse does not work as expected in Virtual PC for Mac Version 7 (909041)



The information in this article applies to:

  • Microsoft Virtual PC for Mac Version 7

SYMPTOMS

After you start a virtual machine in Microsoft Virtual PC for Mac Version 7, the keyboard or the mouse does not work as expected. Additionally, you do not receive an error message.

CAUSE

This issue occurs if the keyboard drivers or the mouse drivers in Virtual Machine Additions are corrupted. This issue may occur if one or both of the following conditions are true:
  • You upgrade from Connectix Virtual PC for Mac Version 6.0 to Microsoft Virtual PC for Mac Version 7. Then, you start a Microsoft Windows 2000 virtual machine.
  • You install third-party keyboard drivers or mouse drivers on the virtual machine.

RESOLUTION

To resolve this issue, create and run a batch file to reinstall the keyboard drivers and the mouse drivers in Virtual Machine Additions. To do this, follow these steps:
  1. Verify that the virtual machine that you want to repair is not running. To do this, follow these steps:
    1. On the Virtual PC menu, click Window, and then click Virtual PC List.
    2. In the Virtual PC List, locate the virtual machine that you want to repair. Then, verify that the status of the virtual machine is Not Running. If the status of the virtual machine is Saved or Running, use one of the following procedures depending on your situation:
      • If the status is Saved, click Start Up, and then click PC. On the Virtual PC menu, click Shut Down, click Turn off PC, and then click Shut Down.
      • If the status is Running, click PC on the Virtual PC menu, click Shut Down, click Turn off, and then click Shut Down.
  2. In the Finder, open the Hard disk:Users:Applications folder.
  3. Double-click TextEdit.
  4. Type d:\windows\setup /S /qn.

    Note This command contains two spaces. There is one space after the word setup and one space after the uppercase S. The uppercase S is the only uppercase letter in the command.
  5. On the Format menu, click Make Plain Text, and then go to step 6. If Make Plain Text is not on the Format menu, go to step 6.
  6. On the File menu, click Save As.
  7. In the Save As box, type VMAdd.bat.
  8. In the Where box, click Desktop, and then click Save.

    Note If you are prompted to save the file as a file that has a different file name extension, save the file by using the .bat file name extension. Do not append another file name extension.
  9. On the TextEdit menu, click Quit TextEdit.
  10. On the desktop, click the Virtual PC List window. If you cannot see the Virtual PC List window, click Window on the Virtual PC menu, and then click Virtual PC List.
  11. In the Virtual PC List window, click the virtual machine that you want to repair, and then click Settings.

    Note The virtual machine status should be Not Running.
  12. Under Current Settings, click Drive 1.
  13. Under Drive 1 Settings, click Mount Drive Now. The mounted drive appears on the desktop as PC Disk.
  14. Double-click PC Disk, and then double-click Documents and Settings.
  15. Double-click the folder for the user who is currently logged on, double-click the Start Menu folder, double-click the Programs folder, and then double-click the Startup folder.
  16. Use a drag operation to copy the VMAdd.bat file from the desktop to the Startup folder.
  17. Close all open folder windows, and then click OK in the Settings for Windows XP window.
  18. Press and hold CTRL, and then click PC Disk. Then, click Eject "PC Disk".
  19. In the Virtual PC List window, click the virtual machine that you want to repair, and then click Start Up.

    Note If you are prompted to enter a user name and a password, type the user name and password for the user who you selected in step 15.
  20. When the virtual machine starts, immediately click PC, and then click Install or Update Additions. The virtual machine will restart after Virtual Machine Additions is installed.
  21. After the virtual machine restarts, the keyboard and the mouse should work as expected.
  22. Click Start, press and hold CTRL, and then click any Start menu items that you want to remove. Then, click Move to Trash.
  23. On the virtual machine, click Start, and then shut down the virtual machine.
  24. On the desktop, click the Virtual PC List window. If you cannot see the Virtual PC List window, click Window, and then click Virtual PC List on the Virtual PC menu.
  25. In the Virtual PC List window, click the virtual machine that you repaired, and then click Settings.

    Note The virtual machine status should be Not Running.
  26. Under Current Settings, click Drive 1.
  27. Under Drive 1 Settings, click Mount Drive Now. The mounted drive appears on the desktop as PC Disk.
  28. Double-click PC Disk, and then double-click Documents and Settings.
  29. Double-click the folder for the user who you selected in step 15, double-click the Start Menu folder, double-click the Programs folder, and then double-click the Startup menu.
  30. Press and hold CTRL, and then click VMAdd.bat. Then, click Move to Trash.
  31. Close all open folder windows, and then click OK in the Settings for Windows XP window.

WORKAROUND

If the steps in the "Resolution" section do not resolve this issue, you must create a new virtual machine in Virtual PC. For more information about how to create a new virtual machine in Virtual PC, click the following article number to view the article in the Microsoft Knowledge Base:

826291 How to create a new virtual machine in Virtual PC


Modification Type:MajorLast Reviewed:11/3/2005
Keywords:kbprb kbtshoot KB909041 kbAudGeneralUser