If you want certain programs or scripts to start automatically when you log in to Windows, you can place them in the Autostart folder. Here's how to open the Autostart folder in Windows 7, 10, and 11:
Option 1: Open the Autostart folder via the Run window
Windows
+
R
shell:startup
Option 2: Open the Autostart folder manually
Windows
+
E
C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
That's it! Now you can copy or move the desired programs or scripts into the Autostart folder so that they will start automatically with each Windows startup.