Kaseya Community

Auto-Login via Agent Command Procedure

  • Hi Everyone, I've got a quick question.

     

    Is it possible to create a procedure to log a computer in?

     

    Example:  I have an application that needs to run at a specific time.  I usually would console into that PC, log off the current user, login using my customusername perform the task then log off again.

     

    Im just curious if I could write a script to do this instead of doing it by hand.  BTW: Script cannot be executed as a system user, tried that.

  • Yes, this is all possible with registry values and clever scripting.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

    Reference: support.microsoft.com/.../315231

    I have rarely needed to do this tough. Most of the time it is for AutoIT stuff. Maybe you could tell us what you're trying to do exactly and we might be able to figure out a better way.

  • I use LogonExpert http://www.logonexpert.com/ this works perfectly.