As I know Windows 10 doesn't have ms-config we can enable or disable a startup application with task manager so if I disable a program then where it stores its information? In Windows 7 we can get the information from
RegistryKey HKLM2 = Registry.LocalMachine.OpenSubKey("SOFTWARE\\Microsoft\\Shared Tools\\MSConfig\\startupreg", true);
foreach (string programs in HKLM2.GetSubKeyNames())
{
MessageBox.Show(programs);
}
When we disabled an application it delete the key I mean the key under run or run and stores it here so what is the same thing in Windows 10 or Windows 8?