Sliced ​​to force shutdown

xiaoxiao2021-03-06  65

Information source: Tianji Net

Since August last year, the shock wave and the shock wave make countless people's loveless, tossing. Of course, there is now a patch, with a special killing tool, and their power has been greatly weakened. But there are still some people suffering from their poison. Since the restart has to close the idea movie, there is a procedure to run in a critical phase, and thus the important data is lost, and people hate! So can I prevent the impact restart caused by shock waves and oscillating waves, first finish important work, then pack these two guys?

To find the answer, we must first understand the shutdown of Windows XP. The Windows XP system completes the shutdown operation through a program named Shutdown.exe (location in Windows / System), in general, the shutdown of XP is implemented by shutdown program shutdown.exe, when shutdown, call Shutdown.exe. It can be seen that it is to prevent the forced shutdown to cancel the call to shutdown.exe. And the author finds that the shutdown of shock waves and shock waves should call this program, so the answer is sorn:

When you pop up the dialog box that is forced to shut down, quickly open the [Run] window (Press CTRL R), enter "Shutdown.exe -a" (note that there is a space), enter, then you can see forced shutdown The dialog disappeared. The impact wave and oscillating wave can then be easily dried.

Of course, this method is not only available, but the shutdown caused by other reasons is also made as a method.

Since talking with ShutDown.exe, it is necessary to introduce other important parameters:

Shutdown.exe -a cancellation

Shutdown.exe -f forcibly shuts down the app.

Shutdown.exe -m // Computer Name Controls Remote Computers.

Shutdown.exe -i shows the graphical user interface, but must be the first parameter of Shutdown.

Shutdown.exe -l logs out of the current user.

Shutdown.exe -r shuts down and restarts.

Shutdown.exe -t Time Sets the shutdown countdown.

Shutdown.exe -c "Message Content" Enter the message content in the shutdown dialog (not over 127 characters).

For example, your computer should be shut down at 23:00, you can choose "Start → Run", enter "AT 23:00 Shutdown -s", which, to 23 points, the computer will appear "System Shutdown" dialog, the default is 30 The second countdown and prompts you to save your job. If you want to shut down in a countdown, you can enter "shutdown.exe -t 3600", which is 60 minutes after 60 minutes, "3600" represents 60 minutes.

If you want to cancel, you can enter "Shutdown -a" in the run. In addition, enter "shutdown -i", you can open the Setup Auto Shutdown dialog and set the Auto Shutdown.

Although Shutdown.exe is a program under Windows XP, in Windows2000 is calling the shell32.dll file in Windows System to implement shutdown, such as "Indir / Rundll32.exe Indir / System / shell32.dll, ShexitWindowSex 8", but It can also be used in Win2000, the method is as follows:

Locate Shutdown.exe in the System32 folder in the WinXP installation directory, copy it to the System32 folder in Win2000 installation directory, enter "Shutdown.exe" in "Run", which can be used as in Windows XP The program is. Of course, Shutdown.exe has some powerful features, readers can further explore and make full use of SHUTDOWN.EXE's powerful features.

转载请注明原文地址:https://www.9cbs.com/read-119766.html

New Post(0)