Jump to content

Shutdown after some decided idle time


Recommended Posts

search on the forum, there're many similar topic...

i've thought about it before, check if the mouse has't been move and the keys hasn't been pressed

a useful link : http://www.autoitscript.com/forum/index.ph...=idle&st=15

Edited by d4rk

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Link to comment
Share on other sites

if you are a network administrator, i'd highly recommend against this unless you have better reasons but one of the problems i've had as a network administrator at EVERY network/enterprise I've worked with is that with automating updates, you typically do it on off-peak hours in which case, you need the machines to be on at all times.

but if you really want to do this, do it through the Task Scheduler using some variant of:

AT 03:00 /EVERY:Saturday CMD "SHUTDOWN.EXE -r -f -t 01"

..as your command line. this would reboot the machine it was running on every saturday at 0300.

when i've coupled this with an actual script (i used KiX at the time, but you can certainly use AutoIT), I used scripting to query a special security group i set up in AD for user accounts that should be excluded from this setting.

My Additions:- RunAs AdminDeviant Fun:- Variable Sound Volume

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...