How to Customize the Virtual PC User Interface (824965)
The information in this article applies to:
- Connectix Virtual PC for Windows version 5.2
- Connectix Virtual PC for Windows version 5.1
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
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.
back to the topDisable the Close ButtonWARNING: 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.
- 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.
Use the following values to restore or to disable the close button:
Value of 0= Enable the close button (default).
Value of 1= Disable the close button.
back to the topHide 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.
- 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.
Use the following values to hide or to restore the Virtual PC Menus:
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. back to the topHide 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/
Note If you do not have a key that is named Main Window, right-click the Preferences/ key, (or the Guest PC Name/ key), point to New, and then click Key. Type Main Window, and then press ENTER to name the key.
- 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.
Use the following values to hide or to restore the Virtual PC Status Bar:
Value of 0= Show the Status Bar (default).
Value of 1= Hide the Status Bar.
back to the topHide 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/
Note If you do not have a key that is named Shutdown, right-click the Preferences/ key, (or the Guest PC Name/ key), point to New, and then click Key. Type Shutdown, and then press ENTER to name the key.
- 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.
Use the following values to hide or to restore the Save PC state and keep changes option:
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.
back to the topHide 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/
Note If you do not have a key that is named Shutdown, right-click the Preferences/ key, (or the Guest PC Name/ key), point to New, and then click Key. Type Shutdown to name the 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.
Use the following values to hide or to restore the Shut down OS and keep changes option:
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.
back to the topHide 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/
Note If you do not have a key that is named Shutdown, right-click the Preferences/ key, (or the Guest PC Name/ key), point to New, and then click Key. Type Shutdown to name the key.
- 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.
Use the following values to hide or to restore the Turn off PC and keep changes option:
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.
back to the topHide 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/
Note If you do not have a key that is named Shutdown, right-click the Preferences/ key, (or the Guest PC Name/ key), point to New, and then click Key. Type Shutdown to name the 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.
Use the following values to hide or to restore the Turn off PC and undo changes option:
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.
back to the topHide 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/
Note If you do not have a key that is named VNC, right-click the Preferences/ key, (or the Guest PC Name/ key), point to New, and then click Key. Type VNC to name the 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.
Use the following values to hide or to restore the VNC options:
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.
back to the topForce 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
You can use the Force Action registry value to automatically force one of these options. When you do this, the Shut Down dialog box does not appear. To specify a forced action instead of 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/
Note If you do not have a key that is named Shutdown, right-click the Preferences/ key, (or the Guest PC Name/ key), point to New, and then click Key. Type Shutdown to name the 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.
Note Do not use the value of 1 to force the Shut down OS and keep changes action in the Shutdown dialog box for an operating system that does not support this action (such as Microsoft DOS).
back to the topSpecify 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.
back to the topReverse 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/
Note If you do not have a key that is named Main Window, right-click the Preferences/ key, (or the Guest PC Name/ key), point to New, and then click Key. Type Main Window to name the 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.
Use the following values for the Clamp Resize key:
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. 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. back to the top
Modification Type: | Minor | Last Reviewed: | 1/30/2004 |
---|
Keywords: | kbhowto KB824965 kbAudEndUser |
---|
|
|
©2004 Microsoft Corporation. All rights reserved.
|
|