Chaost
Chaost

Reputation: 55

Open python program on system startup

I need my program to launch on system startup or user login. I have played around a little with the scheduler, but I'm pretty new to that and I couldn't get it to work. Basically I need to save something in the code to the startup registry.

It might also be worth to note that I will be turning this into an exe with pyinstaller, but that shouldn't make too much of a difference I believe.

Upvotes: 2

Views: 608

Answers (2)

Dimitrios Filippou
Dimitrios Filippou

Reputation: 465

Windows 8 / 10 startup folder location

The Current Users Startup folder in Windows 8 and 10 is located at:

C:\Users\Username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

These programs start up for the current logged in user only. To directly access this folder, open Run, type shell:startup and hit Enter.

Screenshot

Upvotes: 1

Charlie
Charlie

Reputation: 1892

you can use the old-good startup folder of windows, adding a bat file running your script or its exe version obtained with pyinstaller.

Charlie

Upvotes: 2

Related Questions