cres Posted May 18, 2015 Posted May 18, 2015 Hi, I am currently using this script found here to suspend/hibernate my computer and then resume the system after a given interval. The script works perfectly on my test computer, the problem was when I tested it on another computer, it did not resume after the given interval, there were no errors given whatsoever. I don't remember using any special configurations for it to work but did find it strange why it functions incorrectly. Please enlighten me if there are any alternatives I could use. Thank you. For reference here's the code I used based on the script:SetWakeUpTime(@Hour, @min + 1) SetSuspend(True)
cres Posted May 18, 2015 Author Posted May 18, 2015 (edited) Yes I do have admin access for both machinesEdit:I tried#RequireAdminalso tried running the script as an administrator on the other machines but it only suspends/hibernates but does not resume afterwards. Edited May 18, 2015 by cres
Jewtus Posted May 18, 2015 Posted May 18, 2015 Are both machines desktops? I know that my laptop has a configuration in it (My asus doesn't, but my toshiba does) that logs you off if suspend goes for more then a few hours, which has caused me issues with scripts before. There may be something like that on your machine, but I couldn't tell you with any real certainty, just my 2 cents.
cres Posted May 19, 2015 Author Posted May 19, 2015 Hi thanks for the reply again, no both machines are laptops, I will check if the configuration is the issue (the one which logs you off in a few hours or maybe after a suspend/hibernate)Thanks.
cres Posted May 19, 2015 Author Posted May 19, 2015 Hi,I finally figured out what was the problem it was the power plan settings which disabled sleep wake up timers.http://windows.microsoft.com/en-ph/windows7/sleep-and-hibernation-frequently-asked-questionsThanks hope this will be useful for anyone having the same problems. Jewtus 1
Jewtus Posted May 19, 2015 Posted May 19, 2015 Thought it might be something like that. Congrats and welcome to the Autoit boards! cres 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now