You can add a program to startup in two ways: place the program or a shortcut to it in the startup folder, or register startup in the registry.
Startup from folder
Startup folder for current user only:
% USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Startup folder for all users:
% PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\StartUp
The desired path can be pasted into the Run window (Win + R) and go to the folder.
To create an application shortcut in the startup folder, you can drag it there with the right mouse button and select "create shortcut" in the menu that opens.
You can put not only applications in startup, but also folders or any other files
Startup from Registry
Create a file with the .reg extension, enter the required key there and execute
Startup key for current user only:
1 2 3 4 |
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run] "My program" = "C:\\Folder\\My_program.exe" |
Startup key for all users:
1 2 3 4 |
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run] "My program" = "C:\\Folder\\My_program.exe" |