Windows has a built in Video Compression optimized for Screen Cast / Screen Capture (See [Windows Media Video Screen][1]).
It yields much better results than x264 for this task.
It is used by [FastStone Capture][2].
I wish modern codecs had this as well (A mode optimized for screen casting).