Windows 7 Startup Process

Source: Internet
Author: User


 The boot time is optimized. I believe this is a permanent optimization topic for our computer users. Generally, we use optimization.Tool software to Disable boot items to achieveThe effect of shortening the boot time, but fundamentally speaking, this is only the last step for Windows Startup, to truly understand the boot optimization mechanism, we still need to start with understanding the system startup process.



First, we need to know what Windows 7 has done when the computer is turned on? Only by knowing this can we take the right remedy to the problem and truly achieve Fast startup optimization.



Next, let's take a look at the complete Boot Loading Process of the gorgeous Windows 7.






1. Power on  

When you turn on the power, the system will perform power-on self-check (post ). If it passes through, the BIOS will read the Master Boot Record, that is, MBR, which is the core part of the machine and serves as the first sector of the hard disk of the boot device. 

-- In this case, Windows takes over the startup process. Next: 

MBR reads the first sector of the boot sector-the active partition (that is, the primary partition. This sector contains Windows boot Manager)ProgramBootmgr exeCode. (WBM and bootmgr are required for system boot. If they are missing or damaged, the system cannot be started)



PS. insert a sentence here,EstimationSome people will see this situation when installing system shoes. When the laptop cannot enter the system, bootmgr is missing or MBR is missing will be displayed in the upper left corner. This is the prompt for missing guidance, at this time, you have to try the Repair Tool for the startup Item.







2. Start Menu Generation --



The Windows Startup manager reads the information in "enable configuration data storage (BCD. What is in this BCD file? In fact, It stores the configuration information of all operating systems installed on your computer. In this case, the Startup menu is generated based on the BCD Boot Record for the user to choose from.



  

3. When you select the following actions in the Startup Menu:  

<1> if you select Windows 7/vista, winload.exe In the System32 folder of the wbmruntime system is the system loader. 

<2> if you recover from sleep to Windows 7/vista, then wbmwill retrieve winresume.exe and restore your previous use environment. 



<3> if you select the local Windows Server, wbmlocates the volume where the system is installed, and calls the local system initiator to access ntldr.exe, and generates a boot menu determined by the boot. ini content for the user to choose from.






4. Load the core file to the logon screen --



After selecting the win7 startup Item, start and load the core files ntoskrnl.exe and Hal. dll in win7-read the settings from the registry and load the driver. Next, you will run the windows session manager (smss.exe) and start the Windows Startup Program (wininit exe, firewall security validation (lsass.exe)and service (services.exe) process. After the process is completed, you will enter the familiar system logon interface.






5. Load the project after login --



 



When you enter your username and password and log on to your system, the sound of your hard drive (SSD solid state drive is not included here) and the flashing of the hard drive lights will tell you: the system is loading the personal special settings file for the current login account, and loading software for the current computer and some startup projects specified by the current user. This is the favorite place of many software (including QQ, Feixin, Butler guard, and Trojan viruses). They need to stay here in the bottom right corner of your desktop and in the memory, convenience of some legitimate and illegitimate work (refers to some rogue and malware ). After these loads are completed, you can truly enter your Windows desktop, and your daily entertainment and work life will begin.






OK, this is the Startup Process of Windows 7. Of course, most of the boot processes are applicable to Windows operating systems after Win95.



Well, it seems that the long process of getting up and washing in Windows is over. Actually, the computer has done so many tedious tasks in the background, it takes 30 or 40 seconds to start the system. Do not make too much pressure on the shoes. As for the super ten-second boot of SSD, the startup speed of traditional mechanical hard drives is quite shy, and the two cannot be compared.






 



In the previous three steps, there is little room for optimization (you can disable BIOS reading of the USB interface, that is, disable the USB interface, and the boot time is shortened by about five seconds ), it is nothing more than reducing the wait time for the Start Menu or closing the Start Menu.(Of course, only one system does not have a boot menu to select the buffer time)The true optimization lies in 4th and 5th steps. In step 4, the system font loading and service loading are also involved. This is the first scene that takes up the boot time. For System Service add-ons,You can directly run the msconfig (WIN + r) system to manage these add-ons. Of course, it is easier to use one-click optimization and other software operations, and you can delete these add-ons thoroughly.In fact, in the previous system Installation Log, Rubik's cube 3 is recommended for you to delete unnecessary fonts.



I do not recommend that you modify the Registry to shorten the boot time. If you do not know the registry, you can modify the registry based on the key value provided by the Registry, the principle you don't understand is that you may crash the system, which is worth the candle (if you are willing to back up and restore it, it doesn't matter if you try it)



Well, let's write this. I still find that my blog is still long, but I think it is useful, this blog is inspired by the fact that I started the super dual-hard drive system for more than 10 seconds yesterday. I will share this process with you based on my personal knowledge and terminology on the Internet. Thank you for your participation. Thank you ~






13/03/24 Data Center



 



 



Welcome to my blog: http://151451325.blog.163.com/; http://blog.sina.com.cn/tonyliuchen



 


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.