What did the XP system do when it showed up the progress bar?

  
        

What did the XP system do when it showed up the progress bar? Are there any boring or researching emperors interested in this? I think there will be some, let's analyze what the XP system does when it displays the progress bar.

Whether it is Windows XP, Windows Vista, or Windows Server 2008, Windows 7, after the power-on self-test is completed, there is a very familiar and insurmountable interface: the progress of scrolling back and forth article.

Why do you have to go so many times to get into the system desktop? How many times does it take to be considered normal? How can I make it a few turns? Let's first take a look at what the computer is doing behind the progress bar that “rolls back and forth again and again”. Maybe after you understand how he works, these problems will be solved.

At this stage of computer startup, mainly complete 4 tasks:

1. Create the Hardware registry key; (How to open the registry?) 2. Copy the Control Set registry key 3, load and initialize the device driver; (about viewing the device manager, please refer to how to open the device manager?) 4, start the system service items;

First, let us look at the creation of the Hardware Registry Key:

The Windows kernel will use the hardware information collected before the power-on self-test phase to create the HKEY_LOCAL_MACHINE\\Hardware key. The content of this key in the registry is not fixed, but is dynamically updated according to the hardware configuration in the current system.

Second, let's take a look at copying the Control Set registry key:

If the Hardware registry key is created successfully, the system kernel will create a backup of the contents of the Control Set key. This backup will be used in the system's advanced boot menu “ last time correctly configured & rdquo; option.

Third, the third look at loading and initializing the device driver:

This is better understood, the operating system kernel will first load "the underlying device driver", then Look for the device driver with the Start key value of “1” under the HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Services key in the registry. These device drivers will be initialized as soon as they are loaded. If any errors occur during this process, the system kernel will automatically process the values ​​based on the device driver's “ErrorControl” key.

Fourth, fourth look at the startup system service items:

This work is well understood, the session manager starts after the system kernel successfully loads and initializes all the underlying device drivers. Start the high-level subsystems and services, and then start the Win32 subsystem. The role of the Win32 subsystem is to control all input/output devices and access display devices. When all of these operations are completed, the Windows desktop can appear in front of us (loading & ldquo; random start items & rdquo; fast and slow, it is another matter), you can also use the keyboard and other I /O The device is gone.

So, go back to a few questions. How many turns is it normal? There is no authoritative explanation for this issue. In fact, it does not matter whether he has turned a few laps, as long as it is not too excessive, what has been turned? Then you have to see if your computer is still working.

Copyright © Windows knowledge All Rights Reserved