Article ID: 824965 - Last Review: January 30, 2004 - Revision: 1.2
How to Customize the Virtual PC User Interface
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
(http://support.microsoft.com/kb/256986/EN-US/
)
Description of the Microsoft Windows Registry
On This Page
SUMMARY
This step-by-step article describes how to customize several features of the Virtual PC user interface (UI). You can apply these features globally to all guest PCs, or to a specific guest PC.
The behavior of these settings may vary depending on how other settings have been configured. For example, the Shut down OS and keep changes option in the Shut Down menu may only be available if the Undo drives option is selected. Otherwise, the Shut down OS option appears instead of the Shut down OS and keep changes option.
The close button is the "X" button that appears in the upper right corner of all windows. After you perform this procedure, you cannot click the close button to close the guest PC window. To disable the close button, follow these steps:
Note This option may not be available for some operating systems, such as Microsoft DOS.
To hide the Shut down OS and keep changes option in the Shut Down dialog box, follow these steps:
Note You cannot apply this option to a specific guest PC.
By default there are four COM ports available in the Settings dialog box.
By default, you can only use clamp resizing when the CTRL key is held down. After you make the relevant registry change, you can use clamp resizing without having to hold down the CTRL key, and you must hold down the CTRL key to use arbitrary resizing.
The behavior of these settings may vary depending on how other settings have been configured. For example, the Shut down OS and keep changes option in the Shut Down menu may only be available if the Undo drives option is selected. Otherwise, the Shut down OS option appears instead of the Shut down OS and keep changes option.
Disable the Close Button
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.The close button is the "X" button that appears in the upper right corner of all windows. After you perform this procedure, you cannot click the close button to close the guest PC window. To disable the close button, follow these steps:
- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate and then click either of the following keys in the registry:
- To apply the change to all guest PCs, click the following key:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Preferences/Main Window/
Note If you do not have a key that is named Main Window, right-click the HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Preferences/ key, point to New, and then click Key. Type Main Window to name the key. -
To apply the change to a specific guest PC, click the following key, where Guest PC Name is the name of the guest PC:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Configuration/Guest PC Name/Main Window/
Note If you do not have a key that is named Main Window, right-click the HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Configuration/Guest PC Name/ key, point to New, and then click Key. Type Main Window to name the key.
- To apply the change to all guest PCs, click the following key:
- On the Edit menu, point to New, and then click DWORD Value.
- Type Disable Close for the name of the DWORD value, and then press ENTER.
- Right-click Disable Close, and then click Modify.
- In the Value data box, type 1, and then click OK.
- Quit Registry Editor.
Value of 0= Enable the close button (default).
Value of 1= Disable the close button.
Value of 1= Disable the close button.
Hide the Virtual PC Menus
To hide the Virtual PC menus, follow these steps:- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate and then click either of the following keys in the registry:
-
To apply the change to all guest PCs, click the following key:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Preferences/Main Window/
Note If you do not have a key that is named Main Window, right-click the HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Preferences/ key, point to New, and then click Key. Type Main Window, and then press ENTER to name the key. -
To apply the change to a specific guest PC, click the following key, where Guest PC Name is the name of the guest PC:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Configuration/Guest PC Name/Main Window/
Note If you do not have a key that is named Main Window, right-click the HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Configuration/Guest PC Name key, point to New, and then click Key. Type Main Window, and then press ENTER to name the key.
-
To apply the change to all guest PCs, click the following key:
- On the Edit menu, point to New, and then click DWORD Value.
- Type Disable Menus for the name of the DWORD value, and then press ENTER.
- Right-click Disable Menus, and then click Modify.
- In the Value data box, type 1, and then click OK.
- Quit Registry Editor.
Value of 0= Show the Virtual PC Menus (default).
Value of 1= Hide the Virtual PC Menus.
Note After you perform this procedure, keyboard commands still work. Only the menu bar is hidden. For example, when you press Host (Right Alt) + F4, you can still shut down the guest PC.Value of 1= Hide the Virtual PC Menus.
Hide the Virtual PC Status Bar
After you perform this procedure, the Status bar does not appear, and the icons for the hard disk, the floppy disk, and the CD-ROM drive do not appear. To hide the Virtual PC Status bar, follow these steps:- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate and then click either of the following keys in the registry:
-
To apply the change to all guest PCs, click the following key, where Guest PC Name is the name of the guest PC:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Preferences/Main Window/ -
To apply the change to a specific guest PC, click the following key:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Configuration/Guest PC Name/Main Window/
-
To apply the change to all guest PCs, click the following key, where Guest PC Name is the name of the guest PC:
- On the Edit menu, point to New, and then click DWORD Value.
- Type Disable Status for the name of the DWORD value, and then press ENTER.
- Right-click Disable Status, and then click Modify.
- In the Value data box, type 1, and then click OK.
- Quit Registry Editor.
Value of 0= Show the Status Bar (default).
Value of 1= Hide the Status Bar.
Value of 1= Hide the Status Bar.
Hide the Save PC State and Keep Changes Option in the Shut Down Dialog Box
After you perform this procedure, you are not presented with the Save PC state and keep changes option in the Shut Down dialog box when you click Shut Down on the PC menu. To hide the Save PC state and keep changes option in the Shut Down dialog box, follow these steps:- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate and then click either of the following keys in the registry:
-
To apply the change to all guest PCs, click the following key, where Guest PC Name is the name of the guest PC:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Preferences/Shutdown/ -
To apply the change to a specific guest PC, click the following key:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Configuration/Guest PC Name/Shutdown/
-
To apply the change to all guest PCs, click the following key, where Guest PC Name is the name of the guest PC:
- On the Edit menu, point to New, and then click DWORD Value.
- Type Disable Save for the name of the DWORD value, and then press ENTER.
- Right-click Disable Save, and then click Modify.
- In the Value data box, type 1, and then click OK.
- Quit Registry Editor.
Value of 0= Show the Save PC state and keep changes option (default).
Value of 1= Hide the Save PC state and keep changes option.
Value of 1= Hide the Save PC state and keep changes option.
Hide the Shut Down OS and Keep Changes Option in the Shut Down Dialog Box
After you perform this procedure, the Shut down OS and keep changes option is not available in the Shut Down dialog box.Note This option may not be available for some operating systems, such as Microsoft DOS.
To hide the Shut down OS and keep changes option in the Shut Down dialog box, follow these steps:
- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate and then click either of the following keys in the registry:
-
To apply the change to all guest PCs, click the following key:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Preferences/Shutdown/ -
To apply the change to a specific guest PC, click the following key, where Guest PC Name is the name of the guest PC:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Configuration/Guest PC Name/Shutdown/
-
To apply the change to all guest PCs, click the following key:
- On the Edit menu, point to New, and then click DWORD Value.
- Type Disable Shut Down for the name of the DWORD value, and then press ENTER.
- Right-click Disable Shut Down, and then click Modify.
- In the Value data box, type 1, and then click OK.
- Quit Registry Editor.
Value of 0= Show the Shut down OS and keep changes option in the Shut Down dialog box (default).
Value of 1= Hide the Shut down OS and keep changes option in the Shut Down dialog box.
Value of 1= Hide the Shut down OS and keep changes option in the Shut Down dialog box.
Hide the Turn Off PC and Keep Changes Option in the Shut Down Dialog Box
After you perform this procedure, the Turn off PC and keep changes option is not available in the Shut Down dialog box. To hide the Turn off PC and keep changes option in the Shut Down dialog box, follow these steps:- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate and then click either of the following keys in the registry:
-
To apply the change to all guest PCs, click the following key, where Guest PC Name is the name of the guest PC:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Preferences/Shutdown/ -
To apply the change to a specific guest PC, click the following key:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Configuration/Guest PC Name/Shutdown/
-
To apply the change to all guest PCs, click the following key, where Guest PC Name is the name of the guest PC:
- On the Edit menu, point to New, and then click DWORD Value.
- Type Disable Turn Off for the name of the DWORD value, and then press ENTER.
- Right-click Disable Turn Off, and then click Modify.
- In the Value data box, type 1, and then click OK.
- Quit Registry Editor.
Value of 0= Show the Turn off PC and keep changes option in the Shut Down dialog box (default).
Value of 1= Hide the Turn off PC and keep changes option in the Shut Down dialog box.
Value of 1= Hide the Turn off PC and keep changes option in the Shut Down dialog box.
Hide the Turn Off PC and Undo Changes Option in the Shut Down Dialog Box
After you perform this procedure, the Turn off PC and undo changes option is not available in the Shut Down dialog box. To hide the Turn off PC and keep changes option in the Shut Down dialog box, follow these steps:- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate and then click either of the following keys in the registry:
-
To apply the change to all guest PCs, click the following key:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Preferences/Shutdown/ -
To apply the change to a specific guest PC, click the following key, where Guest PC Name is the name of the guest PC:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Configuration/Guest PC Name/Shutdown/
-
To apply the change to all guest PCs, click the following key:
- On the Edit menu, point to New, and then click DWORD Value.
- Type Disable Undo for the name of the DWORD value, and then press ENTER.
- Right-click Disable Undo, and then click Modify.
- In the Value data box, type 1, and then click OK.
- Quit Registry Editor.
Value of 0= Show the Turn off PC and undo changes option in the Shut Down dialog box (default).
Value of 1= Hide the Turn off PC and undo changes option in the Shut Down dialog box.
Value of 1= Hide the Turn off PC and undo changes option in the Shut Down dialog box.
Hide the VNC Options in the Settings Dialog Box
If you are using Virtual Network Computing (VNC) you can hide the VNC options in the Settings dialog box for the guest PC. To hide the VNC options, follow these steps:- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate and then click either of the following keys in the registry:
-
To apply the change to all guest PCs, click the following key:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Preferences/VNC/ -
To apply the change to a specific guest PC, click the following key, where Guest PC Name is the name of the guest PC:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Configuration/Guest PC Name/VNC/
-
To apply the change to all guest PCs, click the following key:
- On the Edit menu, point to New, and then click DWORD Value.
- Type Disable for the name of the DWORD value, and then press ENTER.
- Right-click Disable, and then click Modify.
- In the Value data box, type 1, and then click OK.
- Quit Registry Editor.
Value of 0= Show the VNC options in the Settings dialog box (default).
Value of 1= Hide the VNC options in the Settings dialog box.
Value of 1= Hide the VNC options in the Settings dialog box.
Force a Specific Action Instead of Shut Down Dialog Box
When you click Shut Down on the PC menu, you are presented with the following four options:- Save PC state and keep changes
- Shut down OS and keep changes
- Turn off PC and keep changes
- Turn off PC and undo changes
- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate and then click either of the following keys in the registry:
-
To apply the change to all guest PCs, click the following key:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Preferences/Shutdown/ -
To apply the change to a specific guest PC, click the following key, where Guest PC Name is the name of the guest PC:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Configuration/Guest PC Name/Shutdown/
-
To apply the change to all guest PCs, click the following key:
- On the Edit menu, point to New, and then click DWORD Value.
- Type Force Action for the name of the DWORD value, and then press ENTER.
- Right-click Force Action, and then click Modify.
- In the Value data box, type one of the following, and then click OK:
Use the following values for the Force Action option:Value of 0= Force the Save PC state and keep changes action in the Shutdown dialog box
Value of 1= Force the Shut down OS and keep changes action in the Shutdown dialog box.
Value of 2= Force the Turn off PC and keep changes Action in the Shutdown dialog box.
Value of 3= Force the Turn off PC and undo changes action in the Shutdown dialog box. - Quit Registry Editor.
Specify the Number of Host COM Ports
You can use the Host Port Count registry value to make up to 255 host serial ports available to a guest PC. To specify the number of COM ports that are available in the Settings dialog box, follow these steps:Note You cannot apply this option to a specific guest PC.
By default there are four COM ports available in the Settings dialog box.
- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate and then click the following key in the registry:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Preferences/COM Port/
Note If you do not have a key that is named COM Port, right-click the Preferences/ key, point to New, and then click Key. Type COM Port to name the key. - On the Edit menu, point to New, and then click DWORD Value.
- Type Host Port Count for the name of the DWORD value, and then press ENTER.
- Right-click Host Port Count, and then click Modify.
- In the Value data box, type a value from 0 to 255, and then click OK.
- Quit Registry Editor.
Reverse the Default Behavior of Arbitrary Resolutions
You can set the guest PC to hide arbitrary resolutions and to clamp to the nearest standard screen sizes (such as 640x480 and 800x600.) To do this, follow these steps:- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate and then click either of the following keys in the registry:
-
To apply the change to all guest PCs, click the following key:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Preferences/Main Window/ -
To apply the change to a specific guest PC, click the following key, where Guest PC Name is the name of the guest PC:
HKEY_CURRENT_USER/Software/Connectix/Virtual PC/4.0/Configuration/Guest PC Name/Main Window/
-
To apply the change to all guest PCs, click the following key:
- On the Edit menu, point to New, and then click DWORD Value.
- Type Clamp Resize for the name of the DWORD value, and then press ENTER.
- Right-click Clamp Resize, and then click Modify.
- In the Value data box, type 1, and then click OK.
- Quit Registry Editor.
Value of 0= Enable arbitrary resolutions (default).
Value of 1= Hide arbitrary resolutions and clamp to standard screen sizes (such as 640x480 and 800x600).
Arbitrary resizing is the feature that permits you to drag the corner of the guest PC window to a new resolution. Clamp resizing is the feature that permits you to hold down the CTRL key while you drag the window to resize it to a standard Windows resolution, such as 640x480 or 1024x768.Value of 1= Hide arbitrary resolutions and clamp to standard screen sizes (such as 640x480 and 800x600).
By default, you can only use clamp resizing when the CTRL key is held down. After you make the relevant registry change, you can use clamp resizing without having to hold down the CTRL key, and you must hold down the CTRL key to use arbitrary resizing.
Note: This article is from Microsoft Knowledage Base
Related problems posted by other users | |
| more... |


