I want to list all the processes that runs on windows startup using c#. I've tried the code
string keyPath = @"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run";       
RegistryKey key = 
      Registry.LocalMachine.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run");
key.GetValueNames()
key.GetValue(Processname).toString()
This code is giving me some startup items that I can see in taskbar startup, but not all items.
Using windows 8.1 64 bit
                        
There're many ways to launch a program at startup in Windows. At least you also should check HKCU (current user) registry hive and RunOnce, RunOnceEx subkeys in both hives.