This service is able to run any application on user login screen. I spend several weeks to collect all solutions from internet into one working project. Using specific WinAPI calls this service collects info about logon session and using this info to run application in logon session. PR are welcome!
-
Download archive for your platform at Releases page
-
Edit configuration file
LogonService.exe.config
:OnLogon
,string
- aplication to run at logon screen (mode: immediately restart app if it die)LogEnabled
,bool
- turn on/off loggingLogPath
,string
- full file path to log file (default:exe dir/log.txt
- not current dir, because for service it will be system32)Description
,string
- service descriptionDisplayName
,string
- service display nameServiceName
,string
- service system level name (no spaces!)
-
Install service in command line:
LogonService.exe /install
-i
/i
-install
/install
- install and start service-u
/u
-uninstall
/uninstall
- stop and uninstall service-r
/r
-reinstall
/reinstall
- reinstall service-start
/start
- start service-stop
/stop
- stop service
Windows XP SP3, 7, 8.1, 10, 11
- DotNet 4.5.1 for Windows XP
- DotNet 4.8.1 for all other Windows versions
Big thanks to all open source software sponsors - you make this world better =)