r2 - 27 Jan 2009 - 22:20:13 - Main.jisooyYou are here: TWiki >  Main Web > RtclMembers > JisooYang > JisooTechTips > JisooTechTipsWindows

Windows tweaks

Switch CapsLock with left Ctrl

Run regedit and go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout. Create a binary value with value name as "Scancode Map" and Value data as " 00 00 00 00 00 00 00 00 03 00 00 00 3A 00 1D 00 1D 00 3A 00 00 00 00 00 "

Default code page

Open DOS command shell and run mode or chcp to find out current DOS code page. In XP, the setting under Control Panel -> Regional and Language Options -> Advanced tab -> Language for non-Unicode programs will affect the default code page.

Specifying default gateway

On a multihomed system, Windows automatically sets default gateway based on its internal calculation. (route print) The problem is there is no explicit way for a user to specify a preferred gateway. To do that, one can only influence the internal algorithm for default gateway selection by manually specifying route metric on each of the NIC.

In my machine, I have two physical ethernet NICs: one connects my local private network (Lan Local), and the other connects the department network (Lan Out). Using the default automatic metric selection, Lan Local always gets lower metric than Lan Out, resulting in the default gateway to set to Lan Local. To solve this problem, I manually set Lan Out metric to 10, and Lan Local to 20. This lead the selection algorithm to prefer Lan Out for my default gateway.

-- Main.jisooy - 22 Sep 2008

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions

tip TWiki Tip of the Day
Commenting with hidden text
To hide sections of a TWiki topic, use HTML comments. Example comment within a sentence: Visible ... Read on Read more

 
Home
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback