[an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] Logon command line utility


Use Logon utility to schedule Desktop unlocks on Windows NT/2000/XP systems

In certain situations scheduled processes  require that a computer is run in unlocked mode. For example, if you attempt to run an interractive program and send keystrokes to that program using SendKeys or 24x7 MacroRecorder the simulated keyboard input will fail if the computer is locked. The Logon utility can help in such cases. Schedule it to run before the interractive process to unlock the graphical Windows Desktop and then run the interractive process and send the requied keystrokes.

The Logon utility can be also used to automate unlocking of Windows Desktop after computer is restarted. In this case create a program type job in 24x7 Scheduler and schedule it to start [on startup]. The 24x7 Scheduler must run as a Windows service using LocalSystem or domain admin account and the service must be set to start automatically.

Download Logon.exe  (16 KB).

Usage: Logon <-u user> -p password

User parameter is optional. The most recently entered user name is used when the parameter is not specified.

Note: On Windows XP you need to disable Fast User Switching option in order to use the user parameter.

Run Logon.exe without parameters from the DOS command prompt to for more info.