I'm in the same situation. Apparently, XP doesn't know why the system woke
up, so it just shuts down if it doesn't detect specific activity within 2
minutes. I'm doing RPC to this system, and SOME tasks that I start will reset
the inactivity timer, but others will not. If I knew what windows was looking
for, I'd write a small util to give it a nudge, but the KB article on this
behavior offers no suggestions, it just documents the timeout as a fact of
life (no help there).
I don't want to be so crude as to fake out a keystroke, so I'm looking for
something a bit more elegant. I'd settle for some kind of net keepalive
packet, but I haven't found anything yet.