How to Create Aliases for Commands in Windows

The easiest way to create command aliases in Windows is by using doskey command.

C:>doskey p=ping $*

Pinging with 32 bytes of data:
Reply from bytes=32 time=14ms TTL=55
Reply from bytes=32 time=14ms TTL=55
Reply from bytes=32 time=14ms TTL=55
Reply from bytes=32 time=14ms TTL=55

Ping statistics for
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 14ms, Maximum = 14ms, Average = 14ms


Use doskey /? for further information.

Free SSH Daemon for Windows

There are a couple options for a Windows-based OpenSSH daemon that are free. The top two that I prefer are freeSSHd and widely popular OpenSSH with Cygwin.


My top pick probably goes to freeSSHd because of it’s simplicity and quickness to get setup and going.



Cygwin + OpenSSH

There are TONS of tutorials on how to setup OpenSSH/Cygwin SSH daemon on windows, here are a few more recent:




Choosing an SSH Client

Once you choose your SSH daemon (server), you will want a client to work with.

I can’t recommend PuTTY enough!

You can also find alternatives and hacks for PuTTY which offer newer features.   A good one is KiTTY.  Below is a screenshot of right-click new features for KiTTY:



Access Denied When Trying to Start Windows Firewall

Most of the online crud I hobbled through to find a solution was just that – crud.

This seems to fix Access Denied error when starting Windows XP Firewall.

Open a run command and type:

services.msc click [OK]

Make sure Security Center is started, if not start it and make sure it is set to start Automatically.

Then try to start Windows Firewall

If that still doesn’t work:

Open a command prompt and enter:

rundll32 setupapi,InstallHinfSection Ndi-Steelhead 132 %windir%infnetrass.inf

Restart Windows, and then run this command (from Command Prompt):