Auto Logon Q

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Auto Logon Q

Post by Me_again » Tue Nov 21, 2006 5:22 pm

I'm not familiar with autologon but is it worth to try it to solve this problem for someone, or are there other ways to skin this cat?

On an XP PC an application is running that at intervals calls a batch file to run another program from the command line with some passed parameters.

This works fine if the PC isn't locked. If the PC is locked the application itself runs OK, but the called command line program won't run. Could the app instead call a macro that unlocks the PC to run the command line program and then lock it again? Or does unlock only work with the scheduler?

I would have to install a bunch of stuff to work on this so I'm just trying not to waste my time :oops:

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Nov 21, 2006 6:33 pm

AutoLogon is triggered by the scheduler. However, search this forum for DoLogon.exe which is a command line program which will invoke AutoLogon and can therefore be called by the macro. You still need the AutoLogon service installed and enabled.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Tue Nov 21, 2006 6:40 pm

Thanks for the tip. Sounds like a good turkey day project :D

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Nov 21, 2006 6:42 pm

Had to think for a minute there ... turkey day is not for another 5 weeks for us here in the UK :-)
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts