Play Vista shutdown completely Raiders

  

Windows Vista shutdown function is no longer directly available to users like Windows XP, ordinary users only have three function keys: sleep, lock, and function after installing the system, the shutdown button is Hidden in the function menu, go to the function menu every time you want to use it. Also, our commonly used hibernation function is not directly provided. How to set up to use these functions normally? Many of the following functions can be directly modified by Vista optimization master, and can also be used to optimize the speed of the switch.

Let's turn off & rdquo; more convenient

Obviously, every time Vista shuts down, you need to click the function button and select “Shutdown” from the drop-down menu to shut down. It is a little troublesome and it is easy to cause misuse. In fact, we can change the “sleep” button in the lower right corner of the start menu to “Shutdown” button, which is much more convenient.

From the control panel, go to the "System and Maintenance & Rarr; Power Options" window, select the "Balanced" power plan under the Preferred Plan (this is also the default setting), click below “Change the plan settings” link, then click ““change advanced power settings” at the bottom of the pop-up window, then the “Power Options” dialog box will pop up, click ““ click here” Power button and cover""+” on the left side to expand, continue to expand “‘start & rsquo; menu power button & rdquo;, here you can change the power settings of the power button in the start menu (Figure 1), You can see that the drop-down list box provides three functions: sleep, shutdown, and no action. Of course, select “Shutdown”, and it will take effect after confirmation.

If you feel that the setup procedure is too cumbersome, you can directly select "Change power button behavior" in the power options window of the control panel, and drop down the list when you press the "Power button" Select “Shutdown” in the box to save the changes and confirm it to take effect.

Tips:

Click on the empty space in the taskbar and press the <quo;Alt+F4” key combination. Now we can see the shutdown option dialog similar to Windows 2000. Box, of course, the default shutdown option is still "sleep", select the appropriate option from the drop-down list box.

Retrieving the disappeared "hibernation>

By default, Vista will automatically turn on the hybrid sleep power management mode, which is a low-power sleep state that can be used on a computer. Protect open programs and documents while you sleep. If you're using a laptop, the benefits of enabling hibernate mode are even more obvious. Because the hibernation state on the laptop doesn't require any power to save open documents and programs, Vista can automatically go to sleep when the battery reaches a very low level. .

However, you may not see the “Hibernate” option under the power option in the Start menu. The option for “Hibernate” does not appear in the function keys. The reasons may be the following: The computer does not support hibernation in the hardware, the hibernation function is disabled by the system administrator, mixed sleep is turned on, and the like. However, follow the steps below to rediscover the disappearing 'hibernate” function.

Step 1: Confirm your computer's support for hibernation

First, we need to confirm whether the computer supports hibernation. From the Start menu, select “Accessories → Command Prompt” Right-click and select “Run as administrator”, you may need to enter the administrator password or UAC confirmation, and then manually enter the following command:

powercfg -a

You can report all available sleep states on the system and try to report the reason why the sleep state is not available. After execution, the results will be displayed. It can be clearly seen from the above that the computer itself supports hibernation, using “powercfg -devicequery s4_supported” The command can list all current devices that support hibernation.

Step 2: Turn off Hybrid Sleep

From the Control Panel, go to the “Power Options & Rarr; Edit Plan Settings” window, click here to “Change Advanced Power Settings” button At this time, the "Power Options" dialog box will open, expand “Sleep> select “Allow Hybrid Sleep", the default setting item is "Open”, please change to “Close" Then click the “OK” button in the lower right corner of the dialog to make it effective.

Step 3: Enable Hibernation

Still at the command prompt, manually type the following command: powercfg -h on, it will take effect immediately after execution, and it does not need to be restarted. System, now we can see the hibernation option in the drop-down menu of the function key in the lower right corner of the start menu (Figure 2), and the hiberfil.sys hibernation file will also appear in the root directory of the disk where the system is located. The size of the head is equal to the capacity of physical memory.


Cleaning up hibernation files to restore disk space

As mentioned earlier, when Windows Vista enables hibernation, it automatically generates a name in the root directory of the disk where the operating system is located. For the hiberfil.sys file, the size of this file is equivalent to the physical memory capacity. So, how can I delete this file for users with tight disk space?

Step 1: Disable sleep

From the control panel, go to “Power Options” Need to sleep here. In the task pane on the left, select “Change the sleep time of the computer>, this will open the "Change the settings of the plan: Balanced" window, here, set the option to put the computer to sleep to "ld"; Never “, note that if you are using a laptop, please use the “Battery” and “Power On” settings to make similar settings, then click the “Save Changes” button in the lower right corner. Make the settings just take effect.

Step 2: Clean up the hibernation file

Open the “Computer” window, right click on the disk where the Windows Vista operating system is located, open the Properties window and click on the “right” button in the lower right corner. Disk Cleanup button, the system will start to automatically scan the system, and the dialog box shown will pop up soon (Figure 3). Here you can see the "Hibernate File Cleaner", select this item and other needs to be cleaned up. The project, then click the "OK" button in the lower right corner, a confirmation dialog will pop up, and the related items will be cleaned up after confirmation.

We have an easier way to disable hibernation, but you need to run the command prompt as an administrator, manually enter “powercfg -hibernate off”, or enter “powercfg -h off”, after execution, you can disable Hibernate and automatically delete the hiberfil.sys file.

Note:

1. Clicking the power button will not complete the operation of "Shutdown", but will put the computer to sleep.

2. By default, the system will automatically open "mixed sleep", when you enter the sleep state, you can save the open documents and programs to the memory and hard disk at the same time.

3. After hibernation is enabled, a huge hiberfil.sys file will be generated in the root directory of the disk where the system is located. After hibernation is disabled, it will disappear automatically.

What is hibernation and standby?

The Windows family supports industry-standard ACPI (Advanced Configuration and Power Interface) power management technology. The main modes include  Sleep" and " Standby & rdquo;.

Hibernate mode stores the state of all open files and files on your desktop as image files and then shuts down. After you turn on the power again, the programs and files will be opened on the desktop in the state before the shutdown. This function is mainly for the convenience of taking a break in the process of using the computer, and can continue to do the previous things after the break.

Standby mode cuts off power to currently unused hardware components and reduces computer power consumption. Although standby mode can cut off power to peripheral devices, screens, and even hard drives, it will continue to power the computer's memory so that your data is not lost. This function is to cut off the power of the hardware device you are not using, save the data to the memory with relatively small power consumption, and reduce the power consumption of the computer.

Copyright © Windows knowledge All Rights Reserved