控制集 当前控制集 What are Control Sets? What is CurrentControlSet?

本文解释了Windows NT中控制集的概念及其重要性。控制集存储系统配置信息,如设备驱动和服务。文章详细介绍了如何查找控制集,哪些是关键的,以及它们的工作原理。通过了解这些信息,用户可以更好地修改注册表设置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

http://support.microsoft.com/kb/100010/en-us

 

A control set contains system configuration information such as device drivers and services.

You may notice several instances of control sets when viewing the Registry.

 Some are duplicates or mirror images of others and some are unique.

This article describes how to find control sets, which ones are important, and why.

Control sets are stored in the HKEY_LOCAL_MACHINE subtree, under the SYSTEM key.

There may be several control sets depending on how often you change system settings or have problems with the settings you choose. A typical installation of Windows NT will contain four:
/ControlSet001
/ControlSet002
/CurrentControlSet
/Clone
ControlSet001 may be the last control set you booted with, while ControlSet002 could be what is known as the last known good control set, or the control set that last successfully booted Windows NT.

The CurrentControlSet subkey is really a pointer to one of the ControlSetXXX keys.

Clone is a clone of CurrentControlSet, and is created each time you boot your computer by the kernel initialization process.

In order to better understand how these control sets are used, you need to be aware of another subkey, Select.

Select is also under the SYSTEM key. Select contains the following values:
Current
Default
Failed
LastKnownGood
Each of these values contain a REG_DWORD data type and refer to specifically to a control set.

For example, if the Current value is set to 0x1, then CurrentControlSet is pointing to ControlSet001.

Similarly, if LastKnownGood is set to 0x2, then the last known good control set is ControlSet002.

The Default value usually agrees with Current, and Failed refers to a control set that was unable to boot Windows NT successfully.

The most valuable and reliable control set is CurrentControlSet.

 If you need to modify system settings in the Registry, CurrentControlSet is the best subkey to choose because you know that it is the correct control set.

You also know that if your modifications harm your system configuration, you will still be able to boot using the last known good control set.

If you are not sure where to look under the control set for a particular parameter, you can use the Find Key option under the View menu of Registry Editor.

Each control set contains two subkeys: Control and Services.

Control contains miscellaneous system information such as the size and location of the paging file.

Services contains device driver information such as file system drivers, kernel drives, and status information for each.

--------------------------------------------------------------------------------

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值