Windows 2000/XP under the circumstance of forced shutdown

  
        From August last year to the present, the shock wave and the shock wave have caused countless people's love machines to restart numerous times and toss them. Of course, there are patches now, and with the killing tools, their power has been greatly reduced. However, there are still some people who suffer from their poisoning. Because of the restart, they have to close the well-watched movie, stop the program that is at a critical stage, and lose important data, which makes people hate it! So can you stop the forced restart caused by the shock wave and the shock wave, do the important work first, and then clean up the two guys? In order to find the answer, we need to understand the shutdown of WINDOWS XP. Windows XP system completes the shutdown operation (located under Windows System) through a program called Shutdown.exe, and shutdown.exe when shutting down. Therefore, to prevent the forced shutdown is to cancel the call to shutdown.exe. The author finds that the shock wave and the shock wave are called to restart this program, so the answer comes from: When the pop-up dialog box is popped up, quickly open the [Run] window (press CTRL+R) and enter "shutdown." Exe -a" (note that there is a space), press Enter, then you can see that the forced shutdown dialog disappears. Then you can easily get rid of shock waves and shock waves. Of course, this method can be used not only for this, but also for other reasons. Now that you talk about shutdown.exe, it is necessary to introduce other important parameters: shutdown.exe -a Cancel shutdown shutdown.exe -f Force the application to close. Shutdown.exe -m \\computername Controls the remote computer. Shutdown.exe -i displays the graphical user interface, but must be the first parameter of Shutdown. Shutdown.exe -l Logs out the current user. Shutdown.exe -r Shut down and restart. Shutdown.exe -t time Set the shutdown countdown. Shutdown.exe -c "message content" Enter the message content in the shutdown dialog (cannot exceed 127 characters). For example, if your computer needs to be shut down at 23:00, you can select “Start → Run” and enter “at 23:00 Shutdown -s”. In this way, by 23 o'clock, the “System Shutdown” dialog box will appear on the computer. The default is 30. Countdown to the second and prompt you to save your work. If you want to shut down in a countdown mode, you can type "Shutdown.exe -s -t 3600", which means that it will automatically shut down after 60 minutes, and "3600" means 60 minutes. If you want to cancel, you can enter "shutdown -a" in the run. In addition, if you enter "shutdown -i", you can open the Set Auto Shutdown dialog box to set the Auto Shutdown. Although shutdown.exe is a program under Windows XP, in Windows2000, the Shell32.dll file in the System under Windows is called to implement shutdown, such as "indirRunDLL32.exe indirSystemShell32.dll, SHExitWindowsEx 8", but it can also be used in Win2000. The method is as follows: Find Shutdown.exe in the System32 folder under WinXP installation directory, copy it to the System32 folder under Win2000 installation directory, enter "Shutdown.exe" in "Run", it can be like in Windows The program is used in XP. Of course, shutdown.exe also has some powerful features, readers can further practice and make full use of the powerful features of shutdown.exe.
Copyright © Windows knowledge All Rights Reserved