3

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?

Sinatr
  • 20,892
  • 15
  • 90
  • 319
toorroot
  • 49
  • 8
  • [Disable startup program in Window 10](http://www.groovypost.com/howto/disable-startup-programs-windows-10/). For compatibility Window 10 should use same registry entries. What doesn't work? – Sinatr Mar 31 '16 at 09:48
  • SOFTWARE\\Microsoft\\Shared Tools\\MSConfig\\startupreg doesnot exists in win10 – toorroot Mar 31 '16 at 09:52
  • 1
    Check out `HKEY_USERS\[CurrentUserId]\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run`, it seems what disabling/enabling startup items changes values there. – Sinatr Mar 31 '16 at 10:09
  • 1
    is there any way to get current user id?? and many thanks for the answer – toorroot Mar 31 '16 at 10:39
  • 1
    use RegFromApp (http://www.nirsoft.net/utils/reg_file_from_application.html), select Taskmgr, do the changes and RegFromApp should show you which setting gets modified. – magicandre1981 Mar 31 '16 at 15:52
  • thnx everyone thnx for the help – toorroot Mar 31 '16 at 17:52
  • ok, wre you able to find the location? Where is is stored? – magicandre1981 Apr 01 '16 at 04:05
  • 2
    its stored on HKEY_USERS\[CurrentUserId]\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\S‌​tartupApproved\Run] – toorroot Apr 01 '16 at 07:57
  • Anyone know the difference between run and run32? – CamHart Feb 04 '19 at 23:18

0 Answers0