Console App, in the program.cs, in the Main method I have wrote this code :Windows startup using RegistryRegistry path Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run and I found that the app registred itself as the code written but windows don't auto start it up.