Launch programm at session opening

Just starting out? Need help? Post your questions and find answers here.
tatanas
Enthusiast
Enthusiast
Posts: 204
Joined: Wed Nov 06, 2019 10:28 am
Location: France

Launch programm at session opening

Post by tatanas »

Hi,

I want to create a Windows service that will start a program when the user logs in.
Is there a way to detect an session opening event ?

I suppose I can't use WM_WTSSESSION_CHANGE because the "checker" is a service.

Thanks.
Windows 10 Pro x64
PureBasic 6.04 x64
JagV12
New User
New User
Posts: 9
Joined: Sat Jun 22, 2019 11:28 am

Re: Launch programm at session opening

Post by JagV12 »

Isn't "Task Scheduler" a better tool for this ?
Post Reply