Registry ControlSet001, ControlSet002, and CurrentControlSet

Source: Internet
Author: User

first of all, talk about the relationship between several groups of ControlSet control.
Registration Form Hklm\systemNote The registry key contains three groups of controls that Windows starts (there may also be an additional group of backup controls). In the initial state. Each of them is naturally ControlSet001ControlSet002And CurrentControlSet。 These control groups include information about the operating system configuration, such as services, drivers, system controls, enumeration information, and so on.


By default,ControlSet001 is the system's true configuration information. However, to avoid serial number confusion, Windows starts by copying a copy from ControlSet001 as the current configuration information for the operating system. That's CurrentControlSet.

The

Changes we made to the computer configuration are written directly to CurrentControlSet during the restart process. Windows overwrites ControlSet001 with the contents of CurrentControlSet . To ensure that the two control groups are consistent.
     It will CurrentControlSet and ControlSet001 when the operating system is successfully started every time (for successful logons) The data in the is copied to the ControlSet002 . In this way, ControlSet002 becomes "configuration information for a recent successful startup" (very familiar?). This option is available in the menu that is called by F8 before starting Windows. So our general system register only has these three control groups, and the serial numbers are current, 001, and 002. ( hereafter used abbreviation )
     However, this order and number are not immutable. The change occurs after you have used the "Last Known Good Configuration". At this point, the system will treat 002 as the system's actual configuration information. And 001 This problematic group of controls is locked up by backup. The system starts from 002 replicas to current. Once successful, the 002 and current information is copied to a new control group as the new "Last Known Good Configuration", which is 003. At this point the system has 4 control groups: Current, 002, 003, and 001 of the backup, where 001 is a problematic group, unless we want to restore the system to a state that was before the last known Good Configuration, and 001 will no longer be used.


Hklm\system The subkey of another select in the registry entry with several integer keys, each of which is:
The "current" data item represents the group of controls that Windows XP uses during this startup.
The "Default" data item represents the group of controls that Windows XP will use the next time it starts. It is the same as the control group used for this launch.
The "LastKnownGood" data item represents the group of controls that Windows XP will use when you select "Last Known Good Configuration" during startup.
The "Failed" data item represents a group of controls in which Windows XP saves data that failed to start the production. This control group does not actually exist until the first time that the user invokes the "Last Known Good Configuration" option.
corresponding above. The system default order is: 001, 001, 002, none;
After the first use of "LastKnownGood": 002, 002, 003, 001
Second use of "LastKnownGood" after: 003, 003, 004, 002 (previous backup 001 is covered by 002, 001 groups disappear)
After the third use of "LastKnownGood": 004, 004, 001, 003 (002 is covered by 003, and when 004 is to generate a new "LastKnownGood". 001 is available, so 001 is reborn. 002 disappear)
Wait, fourth time 1, 1, 2, 4, fifth time 2, 2, 3, 1 ...

Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.

Registry ControlSet001, ControlSet002, and CurrentControlSet

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.