Microsoft KB Archive/909041

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

Article ID: 909041

Article Last Modified on 11/3/2005

-

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:  Verify that the virtual machine that you want to repair is not running. To do this, follow these steps:  On the Virtual PC menu, click Window, and then click Virtual PC List. 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. </li></ol> </li> In the Finder, open the :Users:Applications folder.</li> Double-click TextEdit.</li> 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.</li> 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.</li> On the File menu, click Save As.</li> In the Save As box, type VMAdd.bat .</li> 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.</li> On the TextEdit menu, click Quit TextEdit.</li> 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.</li> 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.</li> Under Current Settings, click Drive 1.</li> Under Drive 1 Settings, click Mount Drive Now. The mounted drive appears on the desktop as PC Disk.</li> Double-click PC Disk, and then double-click Documents and Settings.</li> 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.</li> Use a drag operation to copy the VMAdd.bat file from the desktop to the Startup folder.</li> Close all open folder windows, and then click OK in the Settings for Windows XP window.</li> <li>Press and hold CTRL, and then click PC Disk. Then, click Eject &quot;PC Disk&quot;.</li> <li>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.</li> <li>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.</li> <li>After the virtual machine restarts, the keyboard and the mouse should work as expected.</li> <li>Click Start, press and hold CTRL, and then click any Start menu items that you want to remove. Then, click Move to Trash.</li> <li>On the virtual machine, click Start, and then shut down the virtual machine.</li> <li>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.</li> <li>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.</li> <li>Under Current Settings, click Drive 1.</li> <li>Under Drive 1 Settings, click Mount Drive Now. The mounted drive appears on the desktop as PC Disk.</li> <li>Double-click PC Disk, and then double-click Documents and Settings.</li> <li>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.</li> <li>Press and hold CTRL, and then click VMAdd.bat. Then, click Move to Trash.</li> <li>Close all open folder windows, and then click OK in the Settings for Windows XP window.</li></ol>

<div class="workaround_section">

WORKAROUND
If the steps in the &quot;Resolution&quot; 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

Keywords: kbtshoot kbprb KB909041

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.