I've been having this problem for a while now and I can't find a cure.
I'm running Win2k SP4 with the relevant hotifxes.
Symptoms:
After some hours of uptime, when I start a new program, the GUI becomes totally garbled. This happens most often when opening a video (with media player classic) or starting Matlab. But I've had all kinds of software trigger this behaviour (for example calc.exe, Mozilla).
The mouse pointer seems to be displayed at the correct location, but buttons and windows have moved and are usually not in their original shape.
If I manage to close the software (via alt-f4) things return to normal. The desktop isn't refreshed and still looks garbled, but I can make most of it go away by "minimize all button" (I have to click blindly) and resizing the task bar. Sometimes the Start menu won't work anymore. When I start the same program again, that originally triggered this, the same happens again. Perhaps worse. Sometimes I can start other software after such incidents without trouble.
The problem occurs more frequently, if I run Azureus (Java bit-torrent client). After "the incident" I can't access Azureus anymore at all (the tray icon tool-tip pops up, but the info isn't updated).
The problem can be fixed (at least temporarily until the next time it occurs) by restarting Windows or just by logging out and back in. Perhaps this can give some pointers about services or other things which are restarted at logout/login.
Here is a screenshot (taken with a digital camera, I haven't tried taking a software screenshot, dunno if that would work). Note that my taskbar is usually located on the bottom.
Things I've allready tried:
Reinstalled DirectX (9.0b)
Reinstalled NVidia drivers (official WHQL and unstable versions)
Scanned system with Spybot S&D
Scanned system with F-Prot (command line version, latest signatures)
Checked system log for "out of memory" messages etc.
Deinstalled supicious software (like reclock)
To me it seems to be a Windows resource related problem, but I'm not even sure if the concept still exists on NT derived platforms.
I've googled and searched the MS Knowledge Base but come up with useful results. You're my last chance before a complete reinstall which I loath to do, but this is really starting to annoy me.