The master's response to the WinXP system forced shutdown of the small strategy

  

Although XP is about to delist, but our love machine is still unable to give up the love of this system. The people who stick to XP still face the forcible shutdown of the computer caused by shock waves and shock waves, which makes our users special toss. Because the restart has to stop running the program at the critical stage, so the important data is lost, people hate it! The master has a trick to solve this problem, they set up to prevent the forced restart caused by shock waves and shock waves. How to operate specifically to see us together.

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 forced shutdown dialog box pops up, quickly open the [Run] window (press CTRL+R) ), enter “shutdown.exe -a” (note that there is a space), press Enter, then you can see that the forced shutdown dialog disappeared. 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 it must be the first parameter of Shutdown.

shutdown.exe -l Log out of the current user.

shutdown.exe -r Shut down and reboot.

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”, enter “at 23:00 Shutdown -s”, so that by 23 o'clock, the computer will appear & ldquo; System Shutdown & rdquo; dialog box, the default has a 30 second countdown and prompts you to save the work. If you want to shut down in a countdown mode, you can enter "Shutdown.exe -s -t 3600”, which means that it will automatically shut down after 60 minutes," 3600” represents 60 minutes.

If you want to cancel, you can enter “shutdown -a” on the fly. In addition, enter "ldtdown -i" to 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 System under Windows is called to implement shutdown, for example, "indirRunDLL32.exe indirSystemShell32.dll, SHExitWindowsEx 8" But you can also use it in Win2000, the method is as follows:

Find Shutdown.exe in the System32 folder under the WinXP installation directory, copy it to the System32 folder under the Win2000 installation directory, run in “ In the "Shutdown.exe”, you can use the program as you would in Windows XP.

After the above detailed description, we have already seen the powerful functions of shutdown.exe, we can make full use of the powerful functions of shutdown.exe, so that we can finish the important work first, then clean up these two A wicked guy who forced our computer to shut down!

Copyright © Windows knowledge All Rights Reserved