VoidVolker / Windows-logon-service

Able to run application in windows logon screen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows Logon service

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!

LogonApplication

How to use

  1. Download archive for your platform at Releases page

  2. 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 logging
    • LogPath, 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 description
    • DisplayName, string - service display name
    • ServiceName, string - service system level name (no spaces!)
  3. Install service in command line:

LogonService.exe /install

Available commands

  • -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

Operating systems support

Windows XP SP3, 7, 8.1, 10, 11

Requirements

  • DotNet 4.5.1 for Windows XP
  • DotNet 4.8.1 for all other Windows versions

Sponsors

Big thanks to all open source software sponsors - you make this world better =)

  1. jazir555

About

Able to run application in windows logon screen


Languages

Language:C# 98.9%Language:Batchfile 1.1%