Normal use of Vista shutdown function

  
Windows Vista shutdown function completely Raiders, easily get all kinds of shutdown skills of Windows Vista, help users better use Vista system.
Windows Vista's shutdown function is no longer directly provided to users like Windows XP. After installing the system, ordinary users only have three function keys: sleep, lock, and function. The shutdown button is hidden in the function menu. When you want to use it, go to the function menu and select it. Also, our commonly used hibernation function is not directly provided. How do I set it up to use these functions normally? Many of the following functions can be directly modified by Vista Optimizer, and can also be used to optimize the speed of the switch.
Making "Shutdown" 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 really too much trouble, and it is easy to cause misoperation. . In fact, we can change the "sleep" button in the lower right corner of the start menu to the "shutdown" button, which is much more convenient.
From the control panel, go to the "System and Maintenance → Power Options" window, select the "balanced" power plan under the preferred plan (this is also the default setting), click the "Change Plan Settings" link below, then Click “Change Advanced Power Settings” at the bottom of the pop-up window, then the “Advanced Settings” window of “Power Options” will pop up. Click the “+” sign to the left of “Power Button and Cover” to expand. "'Start' menu power button", here you can change the power setting of the power button in the start menu (Figure 1), you can see that the drop-down list box provides three functions: sleep, shutdown, no action, etc. Select "Shutdown" and confirm it will take effect.

































Select "Shutdown" in the drop-down list box, save the changes and confirm it to take effect.
Tip:
Mouse click on the blank space of the taskbar, then press "Alt+F4", now we can see the shutdown option dialog similar to Windows 2000, of course, the default shutdown option Still "sleep", select the appropriate option from the drop-down list box.
Recovering the disappearing "hibernation"
By default, Vista automatically turns on the hybrid sleep power management mode, which is a low-power sleep state that protects open programs while the computer is sleeping. Documentation. 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 of the Start menu. There is no "Hibernate" option on the function keys. The reason may be the following: The computer does not support hibernation in hardware. The sleep function is disabled by the system administrator, mixed sleep is turned on, and the like. However, follow the steps below to retrieve the disappearing "hibernate" feature.
Step 1: Confirm your computer's support for hibernation
First, we need to confirm whether the computer supports hibernation, select "Accessories → Command Prompt" from the Start menu, right click and select "Administrator" Run", you may need to enter the administrator password or UAC confirmation, and then manually enter the following command:
powercfg -a
This parameter can report all available sleep states on the system, and try to report that sleep status is not available The reason, after the execution will show the results, from which you can clearly see that the computer itself supports hibernation, use the "powercfg -devicequery s4_supported" command to list all current devices that support hibernation.
Step 2: Turn off Hybrid Sleep
From the Control Panel, go to the “Power Options→Edit Plan Settings” window, click the “Change Advanced Power Settings” button here, and the “Power Options” dialog box will open. , expand "Sleep" and select "Allow Hybrid Sleep". The default setting item is "Open", please change to "Close", and then click the "OK" button in the lower right corner of the dialog box to make it effective.
Step 3: Enable Hibernation
Still operate at the command prompt, manually type the following command: powercfg -h on, it will take effect immediately after execution, and you don't need to restart the system, now we can In the drop-down menu of the function key in the lower right corner of the start menu, you can see the option for hibernation (Figure 2), and the hiberfil.sys hibernation file will appear in the root directory of the disk where the system is located. Its header and physical memory. The capacity is equivalent.

Figure 2 Enable hibernation
Clean hibernation file restore disk space
As mentioned earlier, after Windows Vista enables hibernation, it will automatically generate a hiberfil named hiberfil in the root directory of the disk where the operating system is located. The .sys file, the size of this file is equal to the physical memory capacity. So, how do you delete this file for users with tight disk space?
Step 1: Disable sleep
From the control panel, enter "Power Options" and we need to disable sleep here. In the left task pane, select "Change your computer's sleep time", the "Change scheduled settings: Balanced" window will open, here, please set the option to put the computer to sleep to "Never", note If you are using a laptop, set the "Battery" and "Power On" options similarly, then click the "Save Changes" button in the lower right corner to make the settings 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 the "Disk Cleanup" button in the lower right corner. Start the automatic scanning 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 items that need to be cleaned up, then click "OK" in the lower right corner. Button, a confirmation dialog will pop up, and the related items will be cleaned up after confirmation.

Figure 3 Clean up the hibernation file
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 type "powercfg -h off" After execution, you can disable the hibernation function and automatically delete the hiberfil.sys file.
Note:
1. Clicking the power button will not complete the "shutdown" operation, but will put the computer to sleep.
2. Under the default setting, the system will automatically open “hybrid sleep”. When entering the sleep state, the open documents and programs can be saved 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 dormancy and standby?
The Windows family supports industry-standard ACPI (Advanced Configuration and Power Interface) power management technology. The main modes include "sleep" and "standby".
Sleep 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