The easiest way to do this is to put a shortcut to HW/HWC on the desktop. Otherwise you could just go into your start menu and right click the shortcut you use to launch them regularly, then select properties.
There should be a compatibility tab besides general and shortcut. If you are running Windows 2000 but do not see this tab, be sure you install Service Pack 1 and 2.
Under compatibility mode, select 'Run this program in compatibility mode for:' and pull down the menu to select 'Windows NT 4.0 (SP5)'. Hit okay, and the next time you launch the game with this shortcut, compatibility mode is enabled.
This has been known to enable things such as OpenGL in XP for HW/HWC, however note that on theory it should work in Windows 2000, but at this time no one has had any luck.