The complete technique of timing shutdown

Source: Internet
Author: User
Tags current time pack disk defragmenter

The complete technique of timing shutdown

First, Win9x shutdown

Shutdown is a common thing, many people also traditionally use the Click to Start/Shut down the system/shut down the computer method. Is it too old? Come on, friend, come with me today to play off the machine.

One key shutdown

Right-click on the desktop, select New/shortcut, in the Create Shortcut dialog command line in the column, enter: C:windowsrundll32.exe user,exitwindows (where the comma is not less), left-click Next, In the name of the selected shortcut, enter: Turn off the computer and left-click Finish. Now on the desktop to generate a shutdown of the computer icon, with the mouse to select, right-click, left-click Properties, select the Shortcut tab, move the cursor to the "accelerator" column, press the F2 key (f1-f12 any one of the keys can). OK, in the future you only need to click the F2 key, you can realize automatic shutdown.

Timed shutdown

Now many motherboards have a timer shutdown function, but the interface is all English, set up inconvenient. You can set it up in a scheduled task. To run the scheduled task program, click Add the Scheduled task, run the Scheduled Task Wizard, click Next, click Browse, select the desktop, double-click the key shutdown program we established before, enter the program name bar: Timed shutdown, then select the "Every Day" checkbox, click Next, set the program start time and start date, Click Next and click Finish. To modify the shutdown time, in the Scheduled task program, select the "Timed shutdown" program that you have established to make the appropriate settings.

Ingenious

When you run the Disk Defragmenter, is there such a feeling, that does not want to face the boring screen, but also afraid of the program to run out of the shutdown, you can now in the planning task of the Shutdown program to set up the disk defragmentation arrangement before bedtime, through the scheduled task and timing shutdown, There are a number of ways to get your computer to shut down the system automatically after the Disk Defragmenter finishes running. An easy way to do this is to open the scheduler, double-click the timer shutdown, select one-time in the Scheduled Tasks Drop-down list, and start at the speed of your computer and the size of your hard drive. Generally set to 2-3 hours later than the current time enough. The time setting in the one-time Scheduled Tasks check box, the default time is the same day, and if you set the program to run after 0 o'clock midnight, do not forget to adjust the time accordingly. Well, tired of a day of your peace of mind to go to bed, the computer will be running after the automatic shutdown, no longer need you silly to wait.

Second, let the NT automatic shutdown

Are you used to the automatic shutdown feature in Windows 98, but do you think it's "outdated" to not be able to shut down automatically under Windows NT, yes, because Windows NT does not support the soft shutdown features of ATX power supplies, So one of its biggest bugs is shutting down the system and not shutting it down automatically (some versions of Windows 2000 also have this problem), but now I'd like to introduce you to an easy way to solve this problem, so you can save your time and effort, of course, if you have Windows NT Service Pack 6 (SP5 or SP4) CD-ROM (in fact just need a file inside it), and has installed a service Pack of more than 4 version.

Enter the Windows NT operating system and locate the file named Hal.dll.softex on the installation CD (my CD is in the I386 directory, 74.3KB), Then to the disk containing the NT system will be found in the WinntSystem32 directory of Hal.dll files, the first of these two files back up safekeeping.

Next, change the Hal.dll to its name (such as Hal.dll.old) and copy the Hal.dll.softex from the CD to the WinntSystem32 directory. and renamed to Hal.dll. So the original Hal.dll file was replaced by Hal.dll.softex, and our goal is to make Hal.dll.softex a new Hal.dll at the system shutdown function, this step has been completed.

Then we need to modify the registry, click "Start", "Run", and then type "Regedit" (or "Regedit32") at the prompt, and open the Registry Editor window for editing. Under HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows Ntcurrentversionwinlogon primary key, double-click the "Powerdownaftershutdown" key value name on the right-hand side of the pane ( If this name is not available, the add Value command on the Edit menu is added with the data type REG_SZ and the default value is 0.

When the String Editor dialog box appears, you can enter "1" (or other Non-zero values) in the string text box. After all this you can restart, shut down again to see if the system will be able to automatically turn off the power?

PostScript: Compared with the previous power supply, ATX power supply is mainly to increase the +3.3v and +5v standby two output signals, can let the operating system directly to the power management, so as to achieve soft shutdown functions, it is currently widely used power.

Third, let Windows 2000/XP automatic shutdown

If you want to go out, but the computer is working again, you will need to use automatic shutdown. Most of the way to achieve automatic shutdown is to use a number of third-party software, so not only the trouble, but to achieve this small function and dedicated to the use of a software, a significant fuss! In fact, Windows XP (Windows 2000 also can) itself with a timer shutdown function, Let's take a look at how to implement Windows XP automatic shutdown.

Windows XP shutdown is controlled by the Shutdown.exe program and is located in the WindowsSystem32 folder. If you want Windows 2000 to have the same effect, you can copy the Shutdown.exe to the system directory. For example, your computer to shut down at 22:00, you can choose "Start → run", enter "at 22:00 shutdown-s", so that at 22 o ' clock computer will appear "System Shutdown" dialog box, the default has 30 seconds countdown and prompts you to save the job. If you want to shut down the machine by the countdown, you can enter "shutdown.exe-s-T 3600", which means that 60 minutes after the automatic shutdown, "3600" represents 60 minutes.

Set the automatic shutdown, if you want to cancel, you can enter "Shutdown-a" in the run. Also enter "Shutdown-i", you can open the set up automatic Shutdown dialog box, to set up the automatic shutdown. Shutdown.exe parameters, each has a specific purpose, the execution of each will have a different effect, such as "-S" means to shut down the local computer, "-a" to cancel the shutdown operation, the following list of more parameters, you can use in the Shutdown.exe.

-F: Forcibly shutting down the application

-M computer name: Controlling remote computer

-I: Displays the graphical user interface, but must be the first option for shutdown

-L: Log off Current user

-r: Shutdown and reboot

-T time: set down shutdown countdown

-C "Message content": Enter the message contents in the Shutdown dialog box (not exceeding 127 characters)

Sometimes, we need to shut down the computer regularly, here is a simple side to implement a timed shutdown under Windows XP

Method.

Specifies that the system automatically shuts down after 22 minutes: Click "Start → run" and enter the command in "open" Shutdown

-S-T 1320 "(Note: quotes are not entered, there are spaces between parameters, 1320 is seconds), click OK

button.

Specifies that the system automatically shuts down at a certain time, such as 12:00: Enter a command in open

"At 12:00 shutdown-s" can be.

Cancel timed shutdown: Enter the command "Shutdown-a" in "open".

The implementation is implemented using the "Shutdown" command, Shutdown parameters are entered in the Command line window

"Shutdown". I think the most useful is the "I" parameter, you can bring up the "Remote Shutdown dialog box",

Can conveniently realize the local area network computer remote shutdown, the interest friend may try.

Start-Programs-attachments-System Tools-Scheduled Tasks-Add task schedules-next-Browse

-c:windowssystem32shadow.exe-Next-Choose the time to turn off the machine,

Next-enter username and password, as long as there are users in the system, but must have a password,

No, you have to set one, next, select "Open Advanced properties for this task on completion".

After the run bar, add the "-S" quotes.

Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.