Blogs
- Living with Windows is a whole lot easier with the tips, tools, and techniques from Contributing Editor Scott Dunn's bottomless bag of tricks.
Subscribe to this blog
Windows Tips
Remap Your Keyboard
I'm a big far of IBM ThinkPads, but my one complaint about them is their lack of a Windows key. Is there a way to map the Windows key onto another key on the ThinkPad's keyboard?
Kulvir S. Bhogal, Fort Worth, Texas
In Windows 2000 and NT 4, you can change the function of various keys to suit your needs. One of the many possible uses of this hidden feature is to add the convenient Windows key to an IBM ThinkPad. For more on Windows key shortcuts, see "The Windows Key: A Fast Worker." Remapping your keyboard requires that you be willing to brave that esoteric compendium of Windows hardware and software settings, the Windows Registry. And ThinkPad users must also be willing to give up the use of an existing key that will function as their new Windows key.
First, a word of warning: Making careless changes to the Registry can cause serious problems, up to and including the inability to start Windows. If you decide to sacrifice one of your Ctrl or Alt keys to get a Windows key and if you typically use Ctrl-Alt-Delete to see the Windows log-on screen (as in Windows 2000), a mistake in executing this tip could make it difficult for you to guess what keys to press to return to Windows.
Consequently, apply this tip with care, and be sure to back up your Registry before you begin. To back up in Windows NT, choose Start, Run, type rdisk, and press Enter. Click Create Repair Disk and follow the on-screen prompts; for more information, click Help. For assistance on backing up your Registry in Windows 2000 and XP, choose Start, Help, click the Index tab, and look for the topic 'Registry, Backing Up to Repair Directory' (in Windows 2000) or 'Back up System State data' (in Windows XP). In Windows XP, you can set a System Restore point; see the Windows XP Help system for details.
The easiest way to add the required codes to the Registry is to create a Registry script file in Notepad and merge this file into the Registry. For example, to use your left Alt key as your Windows key, log in to Windows as the administrator, start Notepad, and on the first line of a new file, type REGEDIT4 (in Windows NT 4) or Windows Registry Editor Version 5.00 (in Windows 2000 and XP). Press Enter twice, and type [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]; press Enter. Type "00000409"="KBDUS.DLL" (including the two sets of double quotes) on the next line, and then press Enter. Now type "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,5B,E0,38,00,38,00,5B,E0 and press Enter. When you're done, the result should resemble the lines shown in FIGURE 2.
The last four pairs of hexadecimal numbers contain the codes for two individual keys: the left Windows key (5B,E0) and the left Alt key (38,00). The general form is "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00, Source key, Destination key, Source key, Destination key. To swap two keys, the last four pairs follow the pattern 'Key A, Key B, Key B, Key A'--meaning, "Key A becomes Key B, and Key B becomes Key A."
To make more changes, enter, at the end of the number string on the same Scancode Map line, an additional four pairs of numbers using the Source key, Destination key pattern and separating the pairs with commas. See FIGURE 3 for a list of common keyboard "scan codes" that you can substitute in this line.
Once you've set up the Notepad file to remap the desired keys, save the file with a name such as "keyfix.reg", including the quotation marks so Notepad won't add its default .txt extension. Exit Notepad, find the .reg file you just saved, right-click its icon, and choose Merge (or double-click the icon). Click Yes to confirm and OK to acknowledge the change. Then restart your computer.
If you want to start over, or if you decide you don't like the new key arrangement, you can return to your default keyboard map. To do so, choose Start, Run, type regedit, and press Enter. In the tree pane on the left, navigate to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout path. With the Keyboard Layout folder icon highlighted in the left pane, select 00000409 and Scancode Map in the right pane and press Delete. Click Yes to confirm the deletion; then exit the Registry Editor and restart your computer.
Perfect Print Solutions
Top Selling Laptops
Dell Laptop Deals
-
Save Hundreds on Dell's Most Popular Laptop Models
Inspiron, Studio and Studio XPS Models all at Steep Discounts!
Focus on Personal Productivitysponsored by Microsoft
- Personal Finance 2.0 These free and fee-based Web services not only aggregate data from your online bank accounts, they give you tools for managing your money.
- High-Tech Travel Tips Plenty of stories provide advice for elite mobile professionals. But what about you, the unproductive traveler?
People who read this also read:
Best Prices on Desktops
Edge Z30 Midsize Desktop - CustomizablePrice: $1099.00
iMac All-In-One Desktop - CustomizablePrice: $1149.99
Compaq Presario CQ5210F Mini-Tower DesktopPrice: $369.99
Touchsmart 300-1020 All-In-One DesktopPrice: $849.00
TouchSmart IQ524 DesktopPrice: $899.90
Pavilion Slimline s5220f Mini-Tower DesktopPrice: $459.99
All PC World Blogs
- Nvidia Unveils Tegra 2 New low-power ARM-based chip powers a new generation of tablets
- Moorestown Platform Brings "Intel Inside" to Mobile Phones Intel CEO Paul Ottelini used CES 2010 to unveil new smartphones built on Intel's Moorestown platform.
- Samsung Launches Galaxy Spica Android Phone Handset maker also unveils two new touchscreen feature phones.
- Chicago Grand Theft Auto IV-Related Ad Ban Blocked The US District Court has issued an injunction against the Chicago Transit Authority's ban on particular video game ads.
- Perfect Printing Solutions Find just the right All-in-One Printer for you from HP. Visit the HP Resource Center.
- Acer Laptop Center Forget the Mouse...check out the next generation multi-gesture touch screen technology from Acer.
- Dell Shopping Center Check out great deals from Dell!
Cameras
Camcorders
Cell Phones
Components
Desktops
HDTV
Home Theater
GPS
Laptops
Monitors
MP3 Players
Networking &
Printers
Storage






