Perform the following:
Press Ctrl-Alt-Delete
Click the "Change Password" button
Enter you old password and new password twice and click OK
To change your password from the command line use the net user command, e.g.
net user <username> <password> (/domain)
To change from a program use the NetUserChangePassword()� call.