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
Yes, you only need to update the
CurrentControlSetkey…ControlSet001andControlSet002are alternating backups ofCurrentControlSet, you don’t need to update them.Edit: As K noted,
CurrentControlSetis an alternating symbolic link to eitherControlSet001orControlSet002. 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.