Microsoft KB Archive/824558

= Guest PC Window Does Not Automatically Close When You Shut Down a Guest PC That Is Running Windows =

PSS ID Number: 824558

Article Last Modified on 8/15/2003

-

The information in this article applies to:


 * Connectix Virtual PC for Windows version 5.0

-



Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
When you shut down a Windows operating system that is running on a guest PC, the guest PC window does not automatically close, and you receive the following message:It is now safe to turn off your computer You expect the guest PC to shut down automatically when you shut down Windows.



CAUSE
This behavior occurs because of changes that were made to the emulated computer hardware in Virtual PC 5.



RESOLUTION
To resolve this issue, use one of the following methods, as appropriate for your situation:

Method 1: Enable ACPI Before You Install Windows
For new Windows installations, enable the Advanced Configuration and Power Interface (ACPI) option in the basic input/output system (BIOS) of the guest PC before you install Windows. To do this, follow these steps:
 * 1) Start Virtual PC, click the guest PC where you want to modify the BIOS settings, and then click Start Up.
 * 2) Press the DELETE key to start the Bios Setup Utility.
 * 3) Press the RIGHT ARROW key to select the Power tab.
 * 4) Press the DOWN ARROW key to select ACPI Aware OS, and then press ENTER.
 * 5) Press the DOWN ARROW key to select Yes in the Options dialog box, and then press ENTER.
 * 6) Press the F10 key, and then press ENTER when you are prompted to save the configuration settings and exit.

Method 2: Install the Advanced Power Management Driver After You Install Windows
If a guest operating system is already installed, install the NT Apm/Legacy Support device driver. This permits the Windows operating system that is on the guest PC to shut down correctly and to close the guest PC window. To do this, follow these steps:
 * 1) In the guest PC, click Start, point to Settings, and then click Control Panel.
 * 2) Double-click Add/Remove Hardware, and then click Next.
 * 3) Click Next, click Add a new device, and then click Next.
 * 4) Click No, I want to select the hardware from a list, and then click Next.
 * 5) Click NT Apm/Legacy Support, and then click Next.
 * 6) In the Models list, click NT Apm/Legacy Interface Node, and then click Next.
 * 7) Click Next, and then click Finish.

Method 3: Modify the Virtual PC Registry Settings
Modify the registry settings for Virtual PC to cause the guest PC window to automatically close when the guest operating system is stopped. Changing the registry setting also causes the guest PC window to close if the guest operating system stops responding (crashes).WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk. To do this, follow these steps:  On the host computer, click Start, click Run, type regedit in the Open box, and then click OK. Locate and then click the following registry subkey:

Note If the  registry key is not present, create it. To do this, right-click Preferences, point to New, and then click Key. Name the new key VM . Right-click VM, point to New, and then click DWORD Value. Name the new REG_DWORD value Shut Down on HLT . Right-click Shut Down on HLT, and then click Modify. In the Value data box, type 1 (one), and then click OK.

Note A value of 1 (one) causes the guest PC window to close when the guest operating system stops. A value of 0 (zero) causes the guest PC window to remain open when the guest PC operating system stops.</li> Quit Registry Editor.</li></ol>

Keywords: kbprb KB824558

Technology: kbConnectix kbvirtualpcSearch kbVirtualPCWin500 kbVirtualPCWinSearch

-

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

© 2004 Microsoft Corporation. All rights reserved.