How does CurrentControlSet differ from ControlSet001 and ControlSet002?

In the Windows registry, how does CurrentControlSet differ from ControlSet001 and ControlSet002? Which should be set when installing for all users?

We are trying to add an environment variable for all users. Is this correct?

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Envinronment 

5 Answers

Yes, you only need to update the CurrentControlSet key...

ControlSet001 and ControlSet002 are alternating backups of CurrentControlSet, you don't need to update them.

Edit: As K noted, CurrentControlSet is an alternating symbolic link to either ControlSet001 or ControlSet002. The other key is kept as a backup for the Load Last Known Good Configuration boot option.

Edit 2: See Microsoft KB Article 100010: What are Control Sets? What is CurrentControlSet?
Original page link broken, see archive.org backup page instead.

2

CurrentControlSet is technically not a "backup" as Gordon states.
It is a symbolic link to one of the ControlSets on the computer. It always points to the ControlSet that is currently loaded.

Actual symbolic link match is in: HKEY_LOCAL_MACHINE\SYSTEM\Select\.

0

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

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

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.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like