Logon Screen Launcher doesn't start apps at windows startup and doesn't close them


I configured Logon Screen Launcher to start an application when system starts, the users lock or disconnect. It works when an user disconnects or locks his session but when windows finishes the startup and shows the user list the application doesn't starts.
Moreover, when users log on, unlock or shutdown the system the application stays opened while it should close. I'm sure that the configuration is right (see the attachment). I made a little app that starts when the other should close and it closes the other.

file attachments

Closed Oct 23, 2012 at 7:23 PM by sw3103
Fixed in 1.4.1 release by using process name only, no path.


sw3103 wrote Oct 15, 2012 at 8:16 PM


So launch.exe is the app you want to show at start-up, lock and log off, and off.exe is there to terminate this process?

I can see you have logging enabled. Please could you also attach the C:\screela\log.log file? Could I ask you to remove the off.exe entry (which may confuse things), delete the C:\screela\log.log to start a fresh,and run through a routine of starting-up, locking, unlocking, etc. and then send me the resulting log file?

wrote Oct 16, 2012 at 5:42 PM

koccy wrote Oct 16, 2012 at 5:42 PM

This time Logon Screen Launcher started at startup immediately but still doesn't closes the application when required even if in the LOG is written that it does.

sw3103 wrote Oct 16, 2012 at 9:09 PM

I notice you have not specified the full path of launch.exe in the XML file. Could I ask you to try using the full path and see if it now terminates?

I was just looking at the code that uses WMI to find and terminate the process, and it attempts to locate it using the full executable path. I think it should support both full path and process name only, so will release an update if that is the issue.

wrote Oct 17, 2012 at 5:38 AM

koccy wrote Oct 17, 2012 at 8:03 PM

Even if with the full path (C:\screela\launch.exe) there is no change. Launch.exe starts but not stops.
17/10/2012 21:57:25 SensLogon_DisplayLock(Koccy-desktop\Koccy)
17/10/2012 21:57:25 Starting c:\screela\launch.exe
17/10/2012 21:57:28 SensLogon_DisplayUnlock(Koccy-desktop\Koccy)
17/10/2012 21:57:28 Stopping c:\screela\launch.exe

sw3103 wrote Oct 17, 2012 at 9:54 PM

Could you try using a generic application on your computer, like Notepad?

What version of Windows are you using?

Do you know if it is x86 or x64?

Are you using the latest version of LSL?

If the answer to the last question is yes, then could you also try the 1.3.0 version and see if that makes a difference (you don't have to go through the uninstall/install process, just stop the service and replace the files)?

koccy wrote Oct 21, 2012 at 2:21 PM

Notepad: same results of launch.

I'm using Windows 7 Ultimate x64 (without SP1)

I'm using the latest version. I tried with 1.3.0 and it seems to work properly.

sw3103 wrote Oct 22, 2012 at 1:48 PM

I'm baffled by this. Terminating the process is the easy bit!

I have just released a 1.4.1 version that has some minor fixes. Could you please see if that makes a difference?

koccy wrote Oct 22, 2012 at 2:24 PM

Just tried.
Sorry, nothing changed. The app opens but doesn't closes, as in 1.4,

wrote Oct 23, 2012 at 7:23 PM

wrote Feb 14, 2013 at 12:35 AM

wrote May 16, 2013 at 6:18 AM