Microsoft KB Archive/825259

= How to start a guest PC automatically when you log on to the host PC =

Article ID: 825259

Article Last Modified on 4/15/2005

-

APPLIES TO


 * Microsoft Virtual PC 2004
 * Connectix Virtual PC for Windows 5.2
 * Connectix Virtual PC for Windows 5.1
 * Connectix Virtual PC for Windows 5.0
 * Connectix Virtual PC for Windows 4.3

-





SUMMARY
This article discusses how to start a guest PC automatically when you log on to the host computer.



Create a shortcut to the guest PC
To start a guest PC automatically when you log on to the host computer, create a shortcut to a guest PC in the Startup folder of the host computer. To do this, follow these steps:  Start Virtual PC. Open Windows Explorer on the host computer. To do this, click Start, point to Programs, point to Accessories, and then click Windows Explorer. Drag the guest PC from the Virtual PC window to the following folder in Windows Explorer on the host computer:

C:\Documents and Settings\%username%\Start Menu\Programs\Startup

 Log off the host computer. Log on to the host computer.

With this method, Windows appends the following parameters in the shortcut in the Startup folder of the host computer: -pc &quot;GuestPCName&quot; -launch Note  is the name of the Guest PC in the Virtual PC list. The quotation marks appear if the name of Guest PC contains a space character.

Create a shortcut to the virtual machine
Additionally, you can create a shortcut that starts the virtual machine directly. To do this, follow these steps:
 * 1) Open the C:\Program Files\Microsoft Virtual PC folder in Windows Explorer.
 * 2) Right-click Virtual PC.exe.
 * 3) Click Create Shortcut.
 * 4) Right-click Shortcut to Virtual PC.exe
 * 5) Click Properties.
 * 6) Click the Shortcut tab.
 * 7) Put the insertion point at the end of the line of text in the Target box.
 * 8) Type –pc &quot;Virtual Machine Name&quot; –singlepc –launch, and then click OK.

Note The –pc parameter is case sensitive. Therefore, make sure you spell the virtual machine name exactly as it appears in the Virtual PC Console.
 * 1) Click to select the Shortcut to Virtual PC.exe icon, and then on the Edit menu, click Cut.
 * 2) Open the C:\Documents and Settings\All Users\Start Menu\Programs\Startup folder.
 * 3) On the Edit menu, click Paste.

When you start the host computer, the virtual machine you specified will automatically start.

Additional query words: vpc guest shortcut automatically log logon start open automatic

Keywords: kbinfo KB825259

-

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

© Microsoft Corporation. All rights reserved.