Scott on Writing

Musings on technical writing...

Losing Tab and Esc Key Functionality in Microsoft Virtual PC 2007

I've been using Microsoft Virtual PC product for many years, posting separate VPCs for each client's work and for test beds for installing beta software or trying out products for my Toolbox column. A couple of months ago I started noticing that when in a VPC the Tab and Esc keys were being ignored. For example, when I would use Alt+Tab from within a VPC I would be toggling through the applications in the host environment. Likewise, if I hit Ctrl+Esc from within a VPC it would display the Start menu options in the host environment. Because I try to use the mouse as infrequently as possible and stick to keyboard shortcuts, having a nonfunctional Tab key seriously hindered by productivity. From Alt+Tab to moving from one form field to the next to inventing code, it's amazing how frequently I use the Tab key.

My initial assumption was that there was some problem with Virtual PC.  I found information noting such problems when using UK keyboards, but nothing specific to my problem.  My research revealed that a general rule of thumb was to check for programs in the host environment that might be capturing keystrokes and thereby "stealing" the keystrokes from the VPC. My approach was rather ham-fisted, but what I did was the following: I launched task manager and started killing off processes one at a time. After each process was killed, I would go over to the VPC and see if it now recognized the Tab and Esc keys.

The culprit ended up being FogCreekCopilotHelper.exe. Copilot is a desktop sharing tool from Fog Creek Software that I use now and then when providing telephone-based consulting services.  This process is supposed to shut down automatically when the Copilot software closes. However, sometimes it does not cleanly die off; instead, it lingers around and seems to swallow up the Tab and Esc keys in Virtual PC.

I first detected that FogCreekCopilotHelper.exe was the source of my problems several weeks ago, but I held off posting a blog entry because I wanted to observe how exactly this problem arose. I've had several sessions with Copilot where the FogCreekCopilotHelper.exe process shutdown cleanly and did not interfere with my Virtual PC experience. In the times when it has caused trouble I noticed that mid-way during the Copilot session the Tab and Esc keys stopped working in Copilot! The same behavior I noted in Virtual PC after the fact. And, sure enough, when Copilot loses the Tab and Esc keys the FogCreekCopilotHelper.exe process does not cleanly die, but rather sticks around and steals the Tab and Esc keys from Virtual PC.

Long story short, if you lose functionality for certain keys in Virtual PC first look for the FogCreekCopilotHelper.exe process and kill it if it's floating around. If you do not use Copilot (or if this process is not present) then start to systematically kill off processes until you find the troublemaker. This approach of methodically killing processes is not very elegant, but can help detect the problem assuming you do not inadvertently kill essential processes during the genocide.

posted on Saturday, July 26, 2008 10:04 PM

Feedback

# re: Losing Tab and Esc Key Functionality in Microsoft Virtual PC 2007 8/18/2008 3:20 PM Scott Mitchell

I submitted this bug to the good folks at Fog Creek software and received notice today that this problem has been fixed in Copilot.

Title:  
Name:  
Url:
Protected by Clearscreen.SharpHIPEnter the code you see:
Comments   

My Links

Ads Via DevMavens

Archives

Post Categories

 

I am a Microsoft MVP for ASP.NET.
I am an ASPInsider.
<October 2008>
SMTWTFS
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

Comment Stats

DayTotal% of Total
Sunday 1987.0%
Monday 39914.0%
Tuesday 47916.8%
Wednesday 53018.6%
Thursday 54919.3%
Friday 51718.2%
Saturday 1766.2%
Total 2848100.0%

Hour1Total% of Total
12:00 AM 702.5%
1:00 AM 762.7%
2:00 AM 652.3%
3:00 AM 762.7%
4:00 AM 612.1%
5:00 AM 1144.0%
6:00 AM 1113.9%
7:00 AM 1635.7%
8:00 AM 1786.3%
9:00 AM 1535.4%
10:00 AM 1766.2%
11:00 AM 1846.5%
12:00 PM 1926.7%
1:00 PM 1796.3%
2:00 PM 1625.7%
3:00 PM 1344.7%
4:00 PM 1134.0%
5:00 PM 1003.5%
6:00 PM 933.3%
7:00 PM 1033.6%
8:00 PM 893.1%
9:00 PM 822.9%
10:00 PM 842.9%
11:00 PM 903.2%
Total 2848100.0%

Comments by Blog Entry Date/Time

Day Entry MadeAvg.Total
Sunday 5.14144
Monday 5.22360
Tuesday 4.33459
Wednesday 7.55649
Thursday 6.77636
Friday 5.31430
Saturday 5.00170
Total 5.722848

Hour1 Entry MadeAvg.Total
12:00 AM 5.0035
1:00 AM 1.002
5:00 AM 0.000
7:00 AM 7.0035
8:00 AM 5.05111
9:00 AM 6.04284
10:00 AM 6.27257
11:00 AM 4.28184
12:00 PM 6.75344
1:00 PM 3.03121
2:00 PM 5.29222
3:00 PM 8.60301
4:00 PM 3.7694
5:00 PM 5.79162
6:00 PM 4.56114
7:00 PM 9.58182
8:00 PM 8.37159
9:00 PM 5.00115
10:00 PM 6.2794
11:00 PM 4.5732
Total 5.722848

Learn More About Comment Stats
1 - All times GMT -8...


Blog Stats

Favorite Web Sites

My Books

My MSDN Articles