We have 2 methods, using either the free Windows Media Encoder or the open-source software Camstudio.
There are some audio-sync issues with Camstudio that don't exist with Windows Media Encoder, so we recommend WME!
Recording with Windows Media Encoder
Recording with Camstudio