The Win98 CD contains a power management troubleshooting tools 'pmtshoot.exe'.
This tool will monitor the shutdown/standby process & log what software is causing the problem. It can disable the trouble maker too, I seem to recall.
I've found it very useful on my laptop.