If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
How to impede W10 from hibernating automatically?
Hi,
I have a laptop with W10 running an app, waiting for something external to happen, now or in ten days (say). But the daft thing goes to hibernation after some hours. I have done what says he https://answers.microsoft.com/en-us/windows/forum/windows_10-start/win10-turn-off-autoshutdown/7dec09c2-3fc0-4e22-b451-b2a1422083d4 +++---------------- a. Press Windows key + X. b. Click Control Panel. c. Clicking System and Security, and then clicking Power Options. d. On the Select a power plan page, click Change plan settings next to the selected plan. e. On the Change settings for the plan page, click Change advanced power settings. f. On the Advanced settings tab, double-click Sleep, double-click Sleep after, and then do one of the following: If you're using a laptop, click On battery or Plugged in (or both), click the arrow, and then click Never. If you're using a desktop computer, click Setting, click the arrow, and then click Never. g. Double-click Hibernate after, and then do one of the following: If you're using a laptop, click On battery or Plugged in (or both), click the arrow, and then click Never. If you're using a desktop computer, click Setting, click the arrow, and then click Never. If you also want the display to stay turned on, double-click Display, double-click Turn off display after, and then do one of the following: If you're using a laptop, click On battery or Plugged in (or both), click the arrow, and then click Never. If you're using a desktop computer, click Setting, click the arrow, and then click Never. h. Click OK, and then click save changes. ----------------++- Doesn't work. Some other way? Maybe rig a motor to hit a key every minute! :-/ -- Cheers, Carlos. |
#2
|
|||
|
|||
How to impede W10 from hibernating automatically?
In article ,
Carlos E.R. wrote: .... Some other way? Maybe rig a motor to hit a key every minute! :-/ I have done this with WinBatch, though not on W10 (who would ever use W10, given the choice?). You write a little script that moves the mouse every X period of time. It kills the screensaver. Presumably, it would also kill the hibernation timer. -- It's possible that leasing office space to a Starbucks is a greater liability in today's GOP than is hitting your mother on the head with a hammer. |
#3
|
|||
|
|||
How to impede W10 from hibernating automatically?
On 12/07/2019 20.41, Kenny McCormack wrote:
In article , Carlos E.R. wrote: ... Some other way? Maybe rig a motor to hit a key every minute! :-/ I have done this with WinBatch, though not on W10 (who would ever use W10, given the choice?). You write a little script that moves the mouse every X period of time. It kills the screensaver. Presumably, it would also kill the hibernation timer. Curious! -- Cheers, Carlos. |
#4
|
|||
|
|||
Curious? (Was: How to impede W10 from hibernating automatically?)
In article ,
Carlos E.R. wrote: On 12/07/2019 20.41, Kenny McCormack wrote: In article , Carlos E.R. wrote: ... Some other way? Maybe rig a motor to hit a key every minute! :-/ I have done this with WinBatch, though not on W10 (who would ever use W10, given the choice?). You write a little script that moves the mouse every X period of time. It kills the screensaver. Presumably, it would also kill the hibernation timer. Curious! What does that mean? -- Debating creationists on the topic of evolution is rather like trying to play chess with a pigeon --- it knocks the pieces over, craps on the board, and flies back to its flock to claim victory. |
#5
|
|||
|
|||
Curious? (Was: How to impede W10 from hibernating automatically?)
On 13/07/2019 17.09, Kenny McCormack wrote:
In article , Carlos E.R. wrote: On 12/07/2019 20.41, Kenny McCormack wrote: In article , Carlos E.R. wrote: ... Some other way? Maybe rig a motor to hit a key every minute! :-/ I have done this with WinBatch, though not on W10 (who would ever use W10, given the choice?). You write a little script that moves the mouse every X period of time. It kills the screensaver. Presumably, it would also kill the hibernation timer. Curious! What does that mean? Oh, maybe it is a translation issue. English is not my first language. You can replace with "interesting" :-) -- Cheers, Carlos. |
#6
|
|||
|
|||
How to impede W10 from hibernating automatically?
Carlos E.R. wrote:
Hi, I have a laptop with W10 running an app, waiting for something external to happen, now or in ten days (say). But the daft thing goes to hibernation after some hours. I have done what says he https://answers.microsoft.com/en-us/windows/forum/windows_10-start/win10-turn-off-autoshutdown/7dec09c2-3fc0-4e22-b451-b2a1422083d4 +++---------------- a. Press Windows key + X. b. Click Control Panel. c. Clicking System and Security, and then clicking Power Options. d. On the Select a power plan page, click Change plan settings next to the selected plan. e. On the Change settings for the plan page, click Change advanced power settings. f. On the Advanced settings tab, double-click Sleep, double-click Sleep after, and then do one of the following: If you're using a laptop, click On battery or Plugged in (or both), click the arrow, and then click Never. If you're using a desktop computer, click Setting, click the arrow, and then click Never. g. Double-click Hibernate after, and then do one of the following: If you're using a laptop, click On battery or Plugged in (or both), click the arrow, and then click Never. If you're using a desktop computer, click Setting, click the arrow, and then click Never. If you also want the display to stay turned on, double-click Display, double-click Turn off display after, and then do one of the following: If you're using a laptop, click On battery or Plugged in (or both), click the arrow, and then click Never. If you're using a desktop computer, click Setting, click the arrow, and then click Never. h. Click OK, and then click save changes. ----------------++- Doesn't work. Some other way? Maybe rig a motor to hit a key every minute! :-/ https://www.tenforums.com/general-su...rocessing.html The only problem with investigating control strategies *while* the machine is doing the thing you want to protect, is the possibility the method used will screw up. Using "powercfg /h off" will definitely stop hibernation. I don't know about sleep though. On my laptop, I don't do that, because of the risk I walk away and something drains the battery and needs to hibernate when the battery is flat. Paul |
#7
|
|||
|
|||
How to impede W10 from hibernating automatically?
On 12/07/2019 20.57, Paul wrote:
Carlos E.R. wrote: Hi, I have a laptop with W10 running an app, waiting for something external to happen, now or in ten days (say). But the daft thing goes to hibernation after some hours. .... Doesn't work. Some other way? Maybe rig a motor to hit a key every minute! :-/ https://www.tenforums.com/general-su...rocessing.html The only problem with investigating control strategies *while* the machine is doing the thing you want to protect, is the possibility the method used will screw up. Using "powercfg /h off" will definitely stop hibernation. I don't know about sleep though. On my laptop, I don't do that, because of the risk I walk away and something drains the battery and needs to hibernate when the battery is flat. I can try it. I only want to do it when the machine is connected to the mains. [...] Trying in the powershell, to see the output. Produces error 0x65b PS C:\Users\Carlos powercfg /hibernate off powercfg : Unable to perform operation. An unexpected error (0x65b) has occurred: Function failed during execution. At line:1 char:1 + powercfg /hibernate off + ~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Unable to perfo...ring execution.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError PS C:\Users\Carlos powercfg /H off powercfg : Unable to perform operation. An unexpected error (0x65b) has occurred: Function failed during execution. At line:1 char:1 + powercfg /H off + ~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Unable to perfo...ring execution.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError Huh? -- Cheers, Carlos. |
#8
|
|||
|
|||
How to impede W10 from hibernating automatically?
Carlos E.R. wrote:
On 12/07/2019 20.57, Paul wrote: Carlos E.R. wrote: Hi, I have a laptop with W10 running an app, waiting for something external to happen, now or in ten days (say). But the daft thing goes to hibernation after some hours. ... Doesn't work. Some other way? Maybe rig a motor to hit a key every minute! :-/ https://www.tenforums.com/general-su...rocessing.html The only problem with investigating control strategies *while* the machine is doing the thing you want to protect, is the possibility the method used will screw up. Using "powercfg /h off" will definitely stop hibernation. I don't know about sleep though. On my laptop, I don't do that, because of the risk I walk away and something drains the battery and needs to hibernate when the battery is flat. I can try it. I only want to do it when the machine is connected to the mains. [...] Trying in the powershell, to see the output. Produces error 0x65b PS C:\Users\Carlos powercfg /hibernate off powercfg : Unable to perform operation. An unexpected error (0x65b) has occurred: Function failed during execution. At line:1 char:1 + powercfg /hibernate off + ~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Unable to perfo...ring execution.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError PS C:\Users\Carlos powercfg /H off powercfg : Unable to perform operation. An unexpected error (0x65b) has occurred: Function failed during execution. At line:1 char:1 + powercfg /H off + ~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Unable to perfo...ring execution.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError Huh? https://www.tenforums.com/general-su...p-problem.html "That error code 0x65b occurs if you try to run the command as a standard user. You must open a Command Prompt or Powershell as an administrator" HTH, Paul |
#9
|
|||
|
|||
How to impede W10 from hibernating automatically?
On 13/07/2019 19.30, Paul wrote:
Carlos E.R. wrote: On 12/07/2019 20.57, Paul wrote: Carlos E.R. wrote: Hi, I have a laptop with W10 running an app, waiting for something external to happen, now or in ten days (say). But the daft thing goes to hibernation after some hours. ... Doesn't work. Some other way? Maybe rig a motor to hit a key every minute! :-/ https://www.tenforums.com/general-su...rocessing.html The only problem with investigating control strategies *while* the machine is doing the thing you want to protect, is the possibility the method used will screw up. Using "powercfg /h off" will definitely stop hibernation. I don't know about sleep though. On my laptop, I don't do that, because of the risk I walk away and something drains the battery and needs to hibernate when the battery is flat. I can try it. I only want to do it when the machine is connected to the mains. [...] Trying in the powershell, to see the output. Produces error 0x65b PS C:\Users\Carlos powercfg /hibernate off powercfg : Unable to perform operation.Â* An unexpected error (0x65b) has occurred:Â* Function failed during execution. At line:1 char:1 + powercfg /hibernate off + ~~~~~~~~~~~~~~~~~~~~~~~ Â*Â*Â* + CategoryInfoÂ*Â*Â*Â*Â*Â*Â*Â*Â* : NotSpecified: (Unable to perfo...ring execution.:String) [], RemoteException Â*Â*Â* + FullyQualifiedErrorId : NativeCommandError Â* PS C:\Users\Carlos powercfg /H off powercfg : Unable to perform operation.Â* An unexpected error (0x65b) has occurred:Â* Function failed during execution. At line:1 char:1 + powercfg /H off + ~~~~~~~~~~~~~~~ Â*Â*Â* + CategoryInfoÂ*Â*Â*Â*Â*Â*Â*Â*Â* : NotSpecified: (Unable to perfo...ring execution.:String) [], RemoteException Â*Â*Â* + FullyQualifiedErrorId : NativeCommandError Huh? https://www.tenforums.com/general-su...p-problem.html Â*Â* "That error code 0x65b occurs if you try to run the command as a standard user. Â*Â*Â* You must open a Command Prompt or Powershell as an administrator" Actually, I was logged in as the administrator. Maybe I have to explicitly open the powershell as administrator. [...] Yes, it accepts the command. I will tell tomorrow if it worked ;-) Why can not the program give a proper text message saying what the problem is, instead of a f* number and a few lines of garbage? What would be the trick with a batch file (with this command) to make it run as administrator, right click and then run as administrator? -- Cheers, Carlos. |
#10
|
|||
|
|||
How to impede W10 from hibernating automatically?
On 13/07/2019 19:28, Carlos E.R. wrote:
What would be the trick with a batch file The trick is to stop dealing in south American drugs on these public newsgroups. Hispanics like you are serial offenders and there is enough Donald Trump can do to stop illegal migrants like you or that Ocasio woman Alexandria Ocasio-Cortez to live in the States. -- With over 999 million devices now running Windows 10, customer satisfaction is higher than any previous version of windows. |
#11
|
|||
|
|||
How to impede W10 from hibernating automatically?
Carlos E.R. wrote:
On 13/07/2019 19.30, Paul wrote: Carlos E.R. wrote: On 12/07/2019 20.57, Paul wrote: Carlos E.R. wrote: Hi, I have a laptop with W10 running an app, waiting for something external to happen, now or in ten days (say). But the daft thing goes to hibernation after some hours. ... Doesn't work. Some other way? Maybe rig a motor to hit a key every minute! :-/ https://www.tenforums.com/general-su...rocessing.html The only problem with investigating control strategies *while* the machine is doing the thing you want to protect, is the possibility the method used will screw up. Using "powercfg /h off" will definitely stop hibernation. I don't know about sleep though. On my laptop, I don't do that, because of the risk I walk away and something drains the battery and needs to hibernate when the battery is flat. I can try it. I only want to do it when the machine is connected to the mains. [...] Trying in the powershell, to see the output. Produces error 0x65b PS C:\Users\Carlos powercfg /hibernate off powercfg : Unable to perform operation. An unexpected error (0x65b) has occurred: Function failed during execution. At line:1 char:1 + powercfg /hibernate off + ~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Unable to perfo...ring execution.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError PS C:\Users\Carlos powercfg /H off powercfg : Unable to perform operation. An unexpected error (0x65b) has occurred: Function failed during execution. At line:1 char:1 + powercfg /H off + ~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Unable to perfo...ring execution.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError Huh? https://www.tenforums.com/general-su...p-problem.html "That error code 0x65b occurs if you try to run the command as a standard user. You must open a Command Prompt or Powershell as an administrator" Actually, I was logged in as the administrator. Maybe I have to explicitly open the powershell as administrator. [...] Yes, it accepts the command. I will tell tomorrow if it worked ;-) Why can not the program give a proper text message saying what the problem is, instead of a f* number and a few lines of garbage? What would be the trick with a batch file (with this command) to make it run as administrator, right click and then run as administrator? I would recommend you install a GUI program with click-able radio buttons for the operating mode you desire. powercfg /h off is the kind of command you use for a permanent fix, which would not be appropriate for a laptop really. It was only offered as an illustration. Something more "nuanced" is required to offer the proper degree of dynamic control. Perhaps psexec could be used. I only use this for one purpose, and haven't tried a wealth of options on it. Maybe you could craft a shortcut of some sort with it ? https://docs.microsoft.com/en-us/sys...wnloads/psexec For example: psexec64 -hsi cmd.exe raises a Command Prompt window to SYSTEM authority. Whatever you use, outside of Scheduled Tasks, is likely to present a UAC prompt when it needs the Impersonate privilege from the administrator group capability. ******* You can also have a play with this - "Runas" aka "Run As". And a shortcut might have a place to specify the account used. https://docs.microsoft.com/en-us/pre...28v%3Dws.11%29 runas /user:localmachinename\administrator cmd Paul |
#12
|
|||
|
|||
How to impede W10 from hibernating automatically?
On 12/07/2019 14:54, Carlos E.R. wrote:
Hi, I have a laptop with W10 running an app, waiting for something external to happen, now or in ten days (say). But the daft thing goes to hibernation after some hours. cmd prompt as administrator then run this: powercfg.exe /h off Exit cmd prompt and the problem is solved. -- With over 999 million devices now running Windows 10, customer satisfaction is higher than any previous version of windows. |
#13
|
|||
|
|||
How to impede W10 from hibernating automatically?
On 12/07/2019 14:54, Carlos E.R. wrote:
Hi, I have a laptop with W10 running an app, waiting for something external to happen, now or in ten days (say). But the daft thing goes to hibernation after some hours. I have done what says he https://answers.microsoft.com/en-us/windows/forum/windows_10-start/win10-turn-off-autoshutdown/7dec09c2-3fc0-4e22-b451-b2a1422083d4 +++---------------- a. Press Windows key + X. b. Click Control Panel. c. Clicking System and Security, and then clicking Power Options. d. On the Select a power plan page, click Change plan settings next to the selected plan. e. On the Change settings for the plan page, click Change advanced power settings. f. On the Advanced settings tab, double-click Sleep, double-click Sleep after, and then do one of the following: If you're using a laptop, click On battery or Plugged in (or both), click the arrow, and then click Never. If you're using a desktop computer, click Setting, click the arrow, and then click Never. g. Double-click Hibernate after, and then do one of the following: If you're using a laptop, click On battery or Plugged in (or both), click the arrow, and then click Never. If you're using a desktop computer, click Setting, click the arrow, and then click Never. If you also want the display to stay turned on, double-click Display, double-click Turn off display after, and then do one of the following: If you're using a laptop, click On battery or Plugged in (or both), click the arrow, and then click Never. If you're using a desktop computer, click Setting, click the arrow, and then click Never. h. Click OK, and then click save changes. ----------------++- Doesn't work. Some other way? Maybe rig a motor to hit a key every minute! :-/ Go to Power options, Advanced settings, Sleep Change drop down entries for both Sleep and Hibernate to "Never" |
#14
|
|||
|
|||
How to impede W10 from hibernating automatically?
On 12/07/2019 22.09, MikeS wrote:
On 12/07/2019 14:54, Carlos E.R. wrote: Hi, I have a laptop with W10 running an app, waiting for something external to happen, now or in ten days (say). But the daft thing goes to hibernation after some hours. I have done what says he https://answers.microsoft.com/en-us/windows/forum/windows_10-start/win10-turn-off-autoshutdown/7dec09c2-3fc0-4e22-b451-b2a1422083d4 +++---------------- a. Press Windows key + X. Â* b. Click Control Panel. Â* c. Clicking System and Security, and then clicking Power Options. Â* d. On the Select a power plan page, click Change plan settings next to the selected plan. Â* e. On the Change settings for the plan page, click Change advanced power settings. Â* f. On the Advanced settings tab, double-click Sleep, double-click Sleep after, and then do one of the following: Â* If you're using a laptop, click On battery or Plugged in (or both), click the arrow, and then click Never. Â* If you're using a desktop computer, click Setting, click the arrow, and then click Never. Â* g. Double-click Hibernate after, and then do one of the following: Â* If you're using a laptop, click On battery or Plugged in (or both), click the arrow, and then click Never. Â* If you're using a desktop computer, click Setting, click the arrow, and then click Never. Â* If you also want the display to stay turned on, double-click Â* Display, double-click Turn off display after, and then do one of the following: Â* If you're using a laptop, click On battery or Plugged in (or both), click the arrow, and then click Never. Â* If you're using a desktop computer, click Setting, click the arrow, and then click Never. Â* h. Click OK, and then click save changes. ----------------++- Doesn't work. Some other way? Maybe rig a motor to hit a key every minute! :-/ Go to Power options, Advanced settings, Sleep Change drop down entries for both Sleep and Hibernate to "Never" Well, hibernate is set to never, yet it hibernates automatically after some hours. it doesn't sleep, it hibernates. I don't want to disable sleep. -- Cheers, Carlos. |
#15
|
|||
|
|||
How to impede W10 from hibernating automatically?
"Carlos E.R." wrote in message
news Hi, I have a laptop with W10 running an app, waiting for something external to happen, now or in ten days (say). But the daft thing goes to hibernation after some hours. I have done what says he https://answers.microsoft.com/en-us/windows/forum/windows_10-start/win10-turn-off-autoshutdown/7dec09c2-3fc0-4e22-b451-b2a1422083d4 +++---------------- a. Press Windows key + X. b. Click Control Panel. c. Clicking System and Security, and then clicking Power Options. d. On the Select a power plan page, click Change plan settings next to the selected plan. e. On the Change settings for the plan page, click Change advanced power settings. f. On the Advanced settings tab, double-click Sleep, double-click Sleep after, and then do one of the following: If you're using a laptop, click On battery or Plugged in (or both), click the arrow, and then click Never. If you're using a desktop computer, click Setting, click the arrow, and then click Never. g. Double-click Hibernate after, and then do one of the following: If you're using a laptop, click On battery or Plugged in (or both), click the arrow, and then click Never. If you're using a desktop computer, click Setting, click the arrow, and then click Never. If you also want the display to stay turned on, double-click Display, double-click Turn off display after, and then do one of the following: If you're using a laptop, click On battery or Plugged in (or both), click the arrow, and then click Never. If you're using a desktop computer, click Setting, click the arrow, and then click Never. h. Click OK, and then click save changes. ----------------++- Doesn't work. AFAIK all these, taken from my freeware lists, work with Windows 10 : ------------- Keep Awake Auto Mouse Mover - http://www.murgee.com/auto-mouse-mover/ Caffeinated - https://github.com/dmnd/Caffeinated Caffeine - http://www.loonies.narod.ru/products.htm Caffeine - http://www.zhornsoftware.co.uk/caffeine/index.html coffee https://sourceforge.net/projects/cof...able%20Verson/ coffeeff - https://sourceforge.net/projects/coffeeff/ Connection Manager - http://www.steelbytes.com/?mid=5 Don't Sleep - http://www.softwareok.com/?seite=Microsoft/DontSleep Insomnia - https://dlaa.me/Insomnia/ Keep AliveHD - http://keepalivehd.codeplex.com/ Keep Display On - http://www.dotnetniet.com/index_en.html Keep Running (any app) - http://www.freewarefiles.com/Keep-Ru...ram_28993.html LowToSleep (until inactive) - http://www.donationcoder.com/Softwar...mel/index.html MouseJiggler - http://mousejiggler.codeplex.com/ Mouse Monkey - http://www.seabyrdtech.com/bbvideo Noise - http://www.donationcoder.com/Softwar...mel/index.html No Sleep - http://www.zeniko.ch/static/software.html#nosleep No SleepHD - http://nosleephd.codeplex.com/ Prevent Disk Sleep - https://vovsoft.com/software/prevent-disk-sleep/ Shutdown Guard (prevent shutdown) - http://code.google.com/p/shutdownguard/ StayAwake - http://mlesniew.wordpress.com/stayawake/ -- Regards wasbit |
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|