Add a static route to Windows

To add a static route to windows you can use the route command:

To view the existing routes on a machine. Open a command prompt and type the following:

route print

To add a static route:

route add <target> mask <netmask> <gateway IP> metric <metric cost> if <interface>

eg. route add 192.168.1.0 mask 255.255.255.0 10.10.1.1 metric 1

The above static route will only be available till the machine in rebooted. To add a persistane route (one that lives after a reboot of the machine) add the -p switch to the command.

eg. route -p add 192.168.1.0 mask 255.255.255.0 10.10.1.1 metric 1

The following registry key holds the values for static routes.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes

As with other command prompt commands you can view all the options this command offers by typing route /? at the command prompt.


  • Share/Bookmark

Windows 7 Keyboard Shortcuts

Below are the Windows key shortcuts for Windows 7.

Windows Key:   Opens and closes the start menu (use this for instant search)

Windows Key + Ctrl + Tab:   Aero Flip 3D

Windows Key + Down Arrow:   Minimises or restores the active window

Windows Key + Up Arrow:   Maximises the active window

Windows Key + Left Arrow:   Snaps the window to the left side of the screen

Windows Key + Right Arrow:   Snaps the window to the right side of the screen

Windows Key + Home:   Minimises all windows except the active one

Windows Key + (-/+):   Zooms out and in using magnifier

Windows Key + Spacebar:   Activates Aero Peek at the desktop

Windows Key + D:   Show the desktop

Windows Key + E:   Opens computer

Windows Key + F:   Opens a search window

Windows Key + G:   Brings gadgets to the top

Windows Key + L:   Locks the computer

Windows Key + M:   Minimises all open windows

Windows Key + Shift + M:   Restores all open windows

Windows Key + P:   Opens presentation settings. Great for laptops. Setup outputting to a projector or external monitor

Windows Key + R:   Opens the Run Dialogue box.

Windows Key + T:   Scrolls through the items on your taskbar

Windows Key + U:   Opens Ease of Access Center

Windows Key + X:   Opens Windows Mobility Center (Only works on laptops/Netbooks)

  • Share/Bookmark

Moving Firefox from XP to Vista/Win7

To migrate your firefox settings from XP to Windows Vista or Windows 7 you will need to copy the below folder with firefox closed.

“c:\Documents and Settings\ProfileName\Application Data\Mozilla” to “C:\Users\ProfileName\AppData\Roaming”

  • Share/Bookmark