ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > Living Room

log users off at a certain time using task scheduler

<< < (2/3) > >>

jgpaiva:
It sure is doable, so much so that it's done! :)

So, it only has 2 arguments (which are mandatory): timeout (in seconds) and message.

Example:
logoffin.exe 120 "the computer will logoff in 2 minutes"

There's a minor quirk: it won't log off until the messagebox is closed. As a workaround, i added a timeout of 30 seconds to the messagebox, thus, the minimum time that it guarantees the computer will be logged off is 30 seconds.

nite_monkey:
using the program you mentioned(the beyond logic shutdown) try using shutdown -s logoff -l 300 -c -m "Time restrictions are now forcing you to logoff in 5 minutes; please save all your work."

techidave:
thanks for the suggestions!  I will try them both and see how I like them.  Since the kids are now on that computer, I will have to wait to try it out.

lanux128:
if you want more choices, take a look here. there are several tools mentioned.

• CyberNotes: Remotely Restart & Shutdown Computers

MikeMcLoughlin:
I've found Shutter to be excellent.

http://www.den4b.com/

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version