Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Virtual PC

Vista - Reboot a Remote Desktop connection in Windows Virtual PC

Reply
 
Old 05-05-2009   #1 (permalink)
Bob Campbell


 
 

Reboot a Remote Desktop connection in Windows Virtual PC

I work from home every day, and VPN/Remote Desktop to machines at the
office. I run XP in a VM at home, and use that for my work and for the VPN
/Remote Desktop connection.

When using VPC 2007 under Vista, I can reboot a remote computer at the
office by hitting CTRL-ALT-END. This brings up the "Lock Computer, Log Off,
Shutdown..." window on the Remote computer. I then choose Shutdown and
Restart, and the remote computer reboots.

However, when using Windows Virtual PC beta under Windows 7, pressing
CTRL-ALT-END brings up the "Lock Computer, Log Off, Shutdown..." window on
the local XP VM, not on the remote computer! I have all of the keyboard
settings to send Windows key combinations to the Remote Computer. ALT-TAB
for example, goes thru to the remote computer, but CTRL-ALT-END does not.
The "Integration Features" are disabled, since I get better video response
this way.

So I have no way to reboot the remote computer. Is this a known issue, or
is there a new key combination I need to press to reboot the remote
computer?


My System SpecsSystem Spec
Old 05-05-2009   #2 (permalink)
Steve Jain [MVP]


 
 

Re: Reboot a Remote Desktop connection in Windows Virtual PC

On Tue, 5 May 2009 18:27:37 -0400, "Bob Campbell" <bob@xxxxxx> wrote:
Quote:

>I work from home every day, and VPN/Remote Desktop to machines at the
>office. I run XP in a VM at home, and use that for my work and for the VPN
>/Remote Desktop connection.
>
>When using VPC 2007 under Vista, I can reboot a remote computer at the
>office by hitting CTRL-ALT-END. This brings up the "Lock Computer, Log Off,
>Shutdown..." window on the Remote computer. I then choose Shutdown and
>Restart, and the remote computer reboots.
>
>However, when using Windows Virtual PC beta under Windows 7, pressing
>CTRL-ALT-END brings up the "Lock Computer, Log Off, Shutdown..." window on
>the local XP VM, not on the remote computer! I have all of the keyboard
>settings to send Windows key combinations to the Remote Computer. ALT-TAB
>for example, goes thru to the remote computer, but CTRL-ALT-END does not.
>The "Integration Features" are disabled, since I get better video response
>this way.
>
>So I have no way to reboot the remote computer. Is this a known issue, or
>is there a new key combination I need to press to reboot the remote
>computer?
Yeah, VPC7 seems to be using the same kbd shortcuts as RDP.

You could just create a batch file for "shutdown /r /t 00" on your
desktop as a work-around.

--
Cheers,
Steve Jain, Virtual Machine MVP
http://vpc.essjae.com/
My System SpecsSystem Spec
Old 05-05-2009   #3 (permalink)
Bob Campbell


 
 

Re: Reboot a Remote Desktop connection in Windows Virtual PC


"Steve Jain [MVP]" <noreply.-@-.essjae.com> wrote in message
news:6ng105de7alh3j7nhuj32i5vs6af0v6mof@xxxxxx
Quote:

> Yeah, VPC7 seems to be using the same kbd shortcuts as RDP.
>
> You could just create a batch file for "shutdown /r /t 00" on your
> desktop as a work-around.
I knew there was shutdown command, but I was unsure of the syntax and help
was NO help at all. I did a Yahoo search and found it. It works fine.

Thanks.

My System SpecsSystem Spec
Old 05-05-2009   #4 (permalink)
Paul Shapiro


 
 

Re: Reboot a Remote Desktop connection in Windows Virtual PC

You can also use the shutdown item from the guest's Start menu. I don't
remember the menu item name, but it's near the bottom-right corner of the
2-column Start menu, both in Vista and in XP. In XP it's somewhat
confusingly labeled Windows Security, or something like that. It gives the
standard choices for Shutdown or Restart.

<Ctrl><Alt><Del> has always been trapped by the host, since that was the
"secure" way to know you were actually talking to your own computer. It
started with DOS, where that key combination was a (mostly) reliable reboot
sequence.

"Bob Campbell" <bob@xxxxxx> wrote in message
news:UqGdnXvSXJsBSJ3XnZ2dnUVZ_sWdnZ2d@xxxxxx
Quote:

>
> "Steve Jain [MVP]" <noreply.-@-.essjae.com> wrote in message
> news:6ng105de7alh3j7nhuj32i5vs6af0v6mof@xxxxxx
Quote:

>> Yeah, VPC7 seems to be using the same kbd shortcuts as RDP.
>>
>> You could just create a batch file for "shutdown /r /t 00" on your
>> desktop as a work-around.
>
> I knew there was shutdown command, but I was unsure of the syntax and help
> was NO help at all. I did a Yahoo search and found it. It works fine.
>
> Thanks.
My System SpecsSystem Spec
Old 05-06-2009   #5 (permalink)
Gary M


 
 

Re: Reboot a Remote Desktop connection in Windows Virtual PC

If you had typed "shutdown /?" in a command prompt, you would have seen a
list of the various parameters you can use with the shutdown command.

"Bob Campbell" <bob@xxxxxx> wrote in message
news:UqGdnXvSXJsBSJ3XnZ2dnUVZ_sWdnZ2d@xxxxxx
Quote:

>
> "Steve Jain [MVP]" <noreply.-@-.essjae.com> wrote in message
> news:6ng105de7alh3j7nhuj32i5vs6af0v6mof@xxxxxx
Quote:

>> Yeah, VPC7 seems to be using the same kbd shortcuts as RDP.
>>
>> You could just create a batch file for "shutdown /r /t 00" on your
>> desktop as a work-around.
>
> I knew there was shutdown command, but I was unsure of the syntax and help
> was NO help at all. I did a Yahoo search and found it. It works fine.
>
> Thanks.
>
My System SpecsSystem Spec
Old 05-06-2009   #6 (permalink)
Bob Campbell


 
 

Re: Reboot a Remote Desktop connection in Windows Virtual PC


"Paul Shapiro" <paul@xxxxxx> wrote in message
news:ecHpx3fzJHA.1196@xxxxxx
Quote:

> You can also use the shutdown item from the guest's Start menu. I don't
> remember the menu item name, but it's near the bottom-right corner of the
> 2-column Start menu, both in Vista and in XP. In XP it's somewhat
> confusingly labeled Windows Security, or something like that. It gives the
> standard choices for Shutdown or Restart.
>
> <Ctrl><Alt><Del> has always been trapped by the host, since that was the
> "secure" way to know you were actually talking to your own computer. It
> started with DOS, where that key combination was a (mostly) reliable
> reboot sequence.
You clearly did not read my post. I am not talking about shutting down a
guest. I am talking about shutting down a Remote Desktop connection from a
guest. You used to used CTRL-ALT-END, not CTRL-ALT-DEL.

My System SpecsSystem Spec
Old 05-06-2009   #7 (permalink)
Paul Shapiro


 
 

Re: Reboot a Remote Desktop connection in Windows Virtual PC

Sorry, I wrote it poorly. But what I described works fine for a Remote
Desktop connection as well, regardless of whether the RD host is your
computer or a VM guest. Any system's start menu has the necessary shutdown
items, but they're not as obvious to find in either a guest or a remote
desktop or a guest's remote desktop as on your own computer.

"Bob Campbell" <bob@xxxxxx> wrote in message
news:8vadna7SE8pA9ZzXnZ2dnUVZ_oGdnZ2d@xxxxxx
Quote:

>
> "Paul Shapiro" <paul@xxxxxx> wrote in message
> news:ecHpx3fzJHA.1196@xxxxxx
Quote:

>> You can also use the shutdown item from the guest's Start menu. I don't
>> remember the menu item name, but it's near the bottom-right corner of the
>> 2-column Start menu, both in Vista and in XP. In XP it's somewhat
>> confusingly labeled Windows Security, or something like that. It gives
>> the standard choices for Shutdown or Restart.
>>
>> <Ctrl><Alt><Del> has always been trapped by the host, since that was the
>> "secure" way to know you were actually talking to your own computer. It
>> started with DOS, where that key combination was a (mostly) reliable
>> reboot sequence.
>
> You clearly did not read my post. I am not talking about shutting down a
> guest. I am talking about shutting down a Remote Desktop connection from
> a guest. You used to used CTRL-ALT-END, not CTRL-ALT-DEL.
My System SpecsSystem Spec
Old 05-06-2009   #8 (permalink)
Jakob Bohm


 
 

Re: Reboot a Remote Desktop connection in Windows Virtual PC

Bob Campbell wrote:
Quote:

>
> "Paul Shapiro" <paul@xxxxxx> wrote in message
> news:Oi79otjzJHA.5964@xxxxxx
Quote:

>> Sorry, I wrote it poorly. But what I described works fine for a Remote
>> Desktop connection as well, regardless of whether the RD host is your
>> computer or a VM guest. Any system's start menu has the necessary
>> shutdown items, but they're not as obvious to find in either a guest
>> or a remote desktop or a guest's remote desktop as on your own computer.
>
> Again, you did not read it. All of that USED to be true. It is no
> longer true when running Windows Virtual PC in Windows 7, and using THAT
> guest to RDP into a Remote Computer. There is no Shutdown on the Start
> menu of the remote XP computer. CTRL-ALT-END no longer gets sent to
> the remote computer.
So put another way, the real issue is this:

Windows 7 Virtual PC maps a Ctrl+Alt+End on the Host hardware PC to a
Ctrl+Alt+Del on the Guest virtual PC. A (Microsoft) program running on
that virtual PC has a feature which requires the user to press
Ctrl+Alt+End on the virtual PC.

So the problem is:
1. Is there a way to tell Win7VPC to send a Ctrl+Alt+End keystroke to
the virtual keyboard of Guest PC? This might be a different keystroke,
or a special key to press before Ctrl+Alt+End or a Win7VPC menu item or ...

2. Is there a way to tell Win7VPC to not map Ctrl+Alt+End to
Ctrl+Alt+Del, thus allowing Ctrl+Alt+End to go directly to the Guest PC
where it can be used by applications (such as the RDP client)?

On a fundamental logic level the issue is this: A Real PC keyboard has
a certain number N of possible keystroke combinations. The Virtual PC
keyboard in a VPC should be capable of simulating all N of them. Some
keystrokes (lets say 2) need to be reserved for talking to the VPC
environment itself (for instance Ctrl+Alt+Del is reserved to always pop
up the security dialog on the physical PC). So the designers of the VPC
mechanism need to implement a way to map from N-2 non-reserved real
keystrokes to N virtual keystrokes, and they need to document this
mapping to the user.


--
Jakob Bøhm, M.Sc.Eng. * jb@xxxxxx * direct tel:+45-45-90-25-33
Netop Solutions A/S * Bregnerodvej 127 * DK-3460 Birkerod * DENMARK
http://www.netop.com * tel:+45-45-90-25-25 * fax:+45-45-90-25-26
Information in this mail is hasty, not binding and may not be right.
Information in this posting may not be the official position of Netop
Solutions A/S, only the personal opinions of the author.

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
A Bug in Remote Desktop Connection of Windows Server 2003 R2 Vista General
Remote desktop connection vista to 2003 windows server Vista networking & sharing
Reboot via Remote Desktop? Vista General
Vista Remote Desktop Connection to Windows 2003 Server Vista General
Remote Desktop Connection 6.0 and Windows Mobile 2003 Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46