Win7 boot acceleration Raiders one: prologue and boot principle

  

How to speed up the Windows 7 system boot speed has always been a hot issue, there are many ways to spread the network, this site for everyone to organize some speed up Windows 7 The system's boot speed method will be released in phases over the next few days. This topic includes prologue and boot principle, optimization settings, font cleanup, service optimization, registry cleanup, self-start management, special effects and performance. Part, please continue to pay attention.

First, the prologue

1, written in the front:

If you are a newcomer to the computer and want to know more about the system startup principle and optimization principle, please be patient. After reading this article, move your hand.

If you are a computer veteran and worry about breaking the stability of the system, then you really need to read this article, because the real veteran and master will not destroy the system.

What? Have you heard that the setup software such as Windows 7 Optimizer, Vista Optimizer, Rubik's Cube will cause the system to crash?

Yes, there are some users who have crashed the system. That is because Windows7 Optimizer, Vista Optimizer or other similar software users do not operate properly, and do not have their own backup function. Understand the mechanism clearly and change it everywhere. As a developer of more than a thousand software packages, this is not our responsibility to shirk. We have been opening the soft media forum area and handling various issues in a timely manner. It is necessary for us to remind some users that using the setup software, you have to Know what you want to do, what you are doing, what you need to do.

At any time, we want to remind many beginners and friends, for example, Windows7 optimization master, Vista optimization master, they provide a lot of setting options, the primary user uses the wizard when optimizing Yes, advanced options must be clarified before you start, such as the registry cleanup, please make a quick backup of the items to be cleaned in advance, each user's computer environment is different, we can only maximize the common software into white Inside the list. Once the problem is found, it can be quickly restored, that is, if there is no backup, it can be repaired by entering the system security mode and the like. Knives can be used to kill people. They can also be used to heal patients, recognize the knife, and play a good knife to use it for you.

2, wedge:

A Windows operating system has been used for a long time, naturally there are a lot of problems, the system will obviously slow down, of course, many reasons: the registry is growing, useless More and more fonts, more and more programs to start loading, more and more services are enabled by default, and some unreasonable boot projects have been added to the list of scheduled tasks. More and more disk fragments are being used, and antivirus software is turned on. There are no reasonable settings for action options and so on.

Not only is the system used for a long time, even if it is a newly installed operating system, it also needs to perform some setting optimizations, close the services that are not commonly used, and block some startup startup projects that are useless at all.

So, what is the purpose of the reader to read this article? ——

Preventing tooth decay?

No,

Our aim is to understand the mechanism of the system booting and to increase the system startup speed without any hidden dangers.

When you know what we want, we have to analyze the situation and prescribe the right medicine.

is a three-drug poison.

Used well, arsenic can cure the disease, use bad or fall sequelae, you are a quack, and the medicine itself does not matter.

The "prescription" in this article will be developed around the Windows booting principle (both XP, Vista, and Win7), and the text explains how to deal with the factors that cause the system to slow down.

Second, Windows (including Windows7, Vista and XP, etc.) system boot mechanism brief description

This article as part of the "Windows7 boot acceleration Raiders" article, is this The "theoretical basis" of the accelerated operation of the optimization operation, and all the actual combat, are all around this center.

Understanding the principles and mechanisms of these Windows booting, you won't be blind, you don't have to worry about what will happen to the system.

First ask: How long does it take for your Windows 7 system to boot? And yours? What about your friends?

A lot of friends will care about this problem. From the habit of XP era, the progress bar under the boot screen has been turned a few times before, and it has become the vane of the performance of the machine. Now Windows 7 Optimizer and Vista Optimizer of Soft Media provide boot time detection. Open them and you can see them at first glance. In particular, the boot time refers to the time required from the boot screen to the screen where the boot username password is displayed, rather than reaching the desktop. This boot time statistic is the official interface provided by Microsoft, not the calculation that I take for granted.

No matter how long it takes to boot, there is always a way to optimize. If you use the optimization wizard of Windows7 optimization master and Vista optimization master, you can directly tell you that the optimization wizards of the two optimization masters will not You have a lot of boot speed improvements, you have to manually set and close some system-level services, this will be specifically explained in the content of "Windows7 boot acceleration Raiders" today, to achieve the ashes level optimization system services To completely accelerate the startup of Win7.

Why do we have to send a special article to get the optimization of system service loading? First of all, we need to know what happened to Win7 when the computer was turned on. Only by knowing this, we can prescribe the right medicine, and really achieve the speed optimization of the boot.

The following, along with the soft media Xiaobian, look at the principle and mechanism of the complete boot loading process of the entire Win7 system.

1, power on -

The computer system will perform a power-on self-test (POST). If passed, the BIOS will then read the Master Boot Record (MBR), the first sector of the hard disk that is marked as booting the device, and transfer the control code established by Windows 7 to the MBR.

- At this point, Windows takes over the boot process. Next:

MBR reads the boot sector - the first sector of the active partition. This sector contains the code to start the Windows Boot Manager program Bootmgr exe.

2, boot menu generation -

Windows boot manager reads the information in the "Boot Configuration Data store". This information contains the information that has been installed on the computer. Configuration information for all operating systems. And used to generate the boot menu.

3, when you select the following actions in the boot menu:

<1> If you choose Windows 7 (or Windows Vista), Windows Boot Manager (Windows Boot Manager) runs the OS loader in the %SystemRoot%\\System32 folder - Winload.exe.

<2> If you choose to self To resume Windows 7 or Vista in hibernation, the boot manager will load Winresume.exe and restore your previous usage environment.

<3> If you selected an earlier version of Windows in the boot menu, launch The manager will locate the volume on which the system is installed and load the Windows NT-style early OS loader (Ntldr.exe) - generate a boot menu that is determined by the boot.ini content.

4, core file loading and Login

When Windows7 starts, load its core text Ntoskrnl.exe and hal.dll - read the settings from the registry and load the driver. Next run Windows Session Manager (smss.exe) and start the Windows Launcher (Wininit exe), local security verification (Lsass. Exe) and service (services.exe) process, you can log in to your system after completion.

5, boot loader after login

OK, we entered Win7 system The landing screen, there is no screenshot here, everyone on earth knows, of course, there are many users and friends who use the landscaping master built in Win7 optimization master to change this into a personalized picture.

When you Enter your username and password, the moment you log into your system, the sound of the hard drive (not including the SSD type hard drive here) and the hard drive light flash again to remind you: the system is loading the personal settings of your account The file is loading the current computer and some software specified in the boot project specified by the current user. This is the favorite place for many software (including Trojan viruses), what QQ, MSN, anti-virus software does not say, even eDonkey and vagaa and These players don’t let go of these places, after all, they have to rely here to stay in the lower right corner of your desktop and in memory, to facilitate proper and improper work (here is some Rogue and malware). When these are loaded, you are truly on your Windows desktop, and everyday entertainment and work life can begin.

Okay, before the specific optimization action that follows, take out your stopwatch first, and record the time from the boot to the final arrival on the Windows desktop. How long have you been using it? ?

Special note: In the first 3 steps, the room for optimization is very small, nothing more than reducing the waiting time of the boot menu or completely closing the boot menu, etc. The real optimization lies in the 4th And the 5th step. In the fourth step, the system font loading and service loading are involved. This is a highlight. Service optimization has been provided in Win7 optimization master and Rubik's cube. For the deletion of redundant fonts, Win7 optimization masters already have this function. In the fifth step, you can directly run the msconfig that comes with the system to manage these add-ons. Of course, it is more convenient to use the Win7 optimization master. After all, these add-ons can be completely removed.

OK, Windows 7 boot, this is the case, of course, most of this principle applies to the currently known Windows operating system after Windows 95.

Copyright © Windows knowledge All Rights Reserved