Jump to content

Resume the system after suspend/hibernation


Recommended Posts

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)

 

Link to comment
Share on other sites

Yes I do have admin access for both machines

Edit:

I tried

#RequireAdmin

also tried running the script as an administrator on the other machines but it only suspends/hibernates but does not resume afterwards.

Edited by cres
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

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
 Share

  • Recently Browsing   0 members

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