Some times we need to stop some restart process quickly. In windows XP/Vista/7/2008 some times it gives auto restart warning and here is good solution for it.
1. Go to Start menu
2. Click on RUN
3. Enter the following command excluding hashcodes "shutdown -a"
its Done.