(Attention: For your registry safety, I recommend to back up your registry first)
- Click Start>Run, type regedit.
- Go to key: HKEY_USERS\.DEFAULT\Control Panel\Desktop.
- Find or make String Value named is AutoEndTasks.
- Give a value by double-clicking AutoEndTasks, and type: 10000. It means that a not- responding program will be ended after 10000 milisecond. Try to enter various number by yourself and feel the difference.