windows-xpwatchdog

Watchdog test in Windows XP


I want to test the watchdog in my system. How can I totally freeze the Windows XP, in order to let the watchdog to perform reset?

I tried the "fork bomb", but it didn't help.

I don't care if OS will be damaged or destroyed. This is test station, so I can restore it quickly.

Thank you in advance.


Solution

  • Create a new process which just wastes CPU cycles, something like:

    int main()
    {
        for(;;)
            ;
        return 0;
    }
    

    and give it realtime priority from the task manager. The system will hang.

    More on realtime priority.