A Windows XP help forum. PCbanter

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.

Go Back   Home » PCbanter forum » Windows 10 » Windows 10 Help Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to impede W10 from hibernating automatically?



 
 
Thread Tools Rate Thread Display Modes
  #16  
Old July 13th 19, 04:39 PM posted to alt.comp.os.windows-10
Carlos E.R.[_3_]
external usenet poster
 
Posts: 1,356
Default 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.
Ads
  #17  
Old July 13th 19, 04:42 PM posted to alt.comp.os.windows-10
Carlos E.R.[_3_]
external usenet poster
 
Posts: 1,356
Default I want nothing ( except a global hotkey ) to wake my monitor.

On 13/07/2019 17.31, Mayayana wrote:
Jeff-Relf.Me @. wrote


Why crosspost to comp.os.linux.advocacy? Removing.
Ditto for sci.physics.


| At night, in a dark room, when I'm trying to sleep, movement jiggles
| the mouse, briefly turning the monitor back on again (yikes!);
|
| my code immediately turns the monitor back off; but, 15 seconds later,
| my monitor displays a bright "No Signal" message waking me up.
|
| Ideally, nothing but the hotkey would turn the monitor back on.
|

I don't know about Win10, but this works in WinXP/7:

System - Hardware - Device Manager.
Expand "Mice and other pointing devices".
Right-click the mouse listed and click Properties.
Under Power Management, deselect "Allow this device to bring
computer out of standby"

Oddly, the Power Management tab doesn't show on
my system, but it did show when I unchecked the box!
I do that with all my computers because it's so easy
to activate the mouse. Even a big truck driving by can
sometimes do it.


A better thing would be to require a big mouse movement to wake up the
computer.

--
Cheers, Carlos.
  #18  
Old July 13th 19, 06:01 PM posted to alt.comp.os.windows-10
Mayayana
external usenet poster
 
Posts: 6,438
Default I want nothing ( except a global hotkey ) to wake my monitor.

"Carlos E.R." wrote

| A better thing would be to require a big mouse movement to wake up the
| computer.
|

As far as I know there is no such thing. You
can include or exclude keyboard/mouse to cause
wake-up. There's no option to do something like
"mouse move over 1/2" wakes up computer. Since
at that point it's seemingly on BIOS level, there
would be no way to even calculate the movement.

I don't see it as problematic. Excluding the mouse
works fine. I restart my computers by pressing the
spacebar.


  #19  
Old July 13th 19, 06:30 PM posted to alt.comp.os.windows-10
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default 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
  #20  
Old July 13th 19, 06:31 PM posted to alt.comp.os.windows-10
Jeff-Relf.Me @.
external usenet poster
 
Posts: 234
Default I want nothing ( except a global hotkey ) to wake my monitor.

Caffeinated - https://github.com/dmnd/Caffeinated
Caffeine - http://www.zhornsoftware.co.uk/caffeine/index.html
coffee https://sourceforge.net/projects/cof...able%20Verson/
Don't Sleep - http://www.softwareok.com/?seite=Microsoft/DontSleep
StayAwake - http://mlesniew.wordpress.com/stayawake/


I have the opposite problem.
I want nothing ( except a global hotkey ) to wake my monitor.

The only solutions I've found, so far,
put my monitor back to sleep AFTER it wakes up,

which causes my monitor to displaying an annoyingly bright
"no signal" message, 15 seconds later, hurting my eyes.
  #21  
Old July 13th 19, 06:31 PM posted to alt.comp.os.windows-10,comp.os.linux.advocacy,sci.physics
Jeff-Relf.Me @.
external usenet poster
 
Posts: 234
Default I want nothing ( except a global hotkey ) to wake my monitor.

Paul,

My 4k, 40" monitor swings on an absurdly long/high monitor arm,
over my bed. I'm lying down now, in bed, as I write this.
The monitor is at arms length, for a kind of IMAX experience.

When I hit a certain hotkey my code turns the monitor off.
Hitting the same (global) hotkey ( assigned to a mouse button )
turns the monitor back on again. The mouse button:

http://Jeff-Relf.Me/MouseKeyboardLayout.PNG

At night, in a dark room, when I'm trying to sleep, movement jiggles
the mouse, briefly turning the monitor back on again (yikes!);

my code immediately turns the monitor back off; but, 15 seconds later,
my monitor displays a bright "No Signal" message waking me up.

Ideally, nothing but the hotkey would turn the monitor back on.

As far as I know, it can't be done.
  #22  
Old July 13th 19, 07:28 PM posted to alt.comp.os.windows-10
Carlos E.R.[_3_]
external usenet poster
 
Posts: 1,356
Default 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.
  #23  
Old July 13th 19, 07:33 PM posted to alt.comp.os.windows-10
😉 Good Guy 😉
external usenet poster
 
Posts: 1,483
Default 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.

  #24  
Old July 13th 19, 07:33 PM posted to alt.comp.os.windows-10
Carlos E.R.[_3_]
external usenet poster
 
Posts: 1,356
Default I want nothing ( except a global hotkey ) to wake my monitor.

On 13/07/2019 19.01, Mayayana wrote:
"Carlos E.R." wrote

| A better thing would be to require a big mouse movement to wake up the
| computer.
|

As far as I know there is no such thing.


I have seen that behaviour somewhere.

You
can include or exclude keyboard/mouse to cause
wake-up. There's no option to do something like
"mouse move over 1/2" wakes up computer. Since
at that point it's seemingly on BIOS level, there
would be no way to even calculate the movement.


Nope, it is not at bios level, unless the machine is also sleeping. I
understand we are talking of the display only being asleep.

Even with full machine being sleep, I have seen mouse movement not
waking up a machine, but clicking its button yes. With the current
complexity of the BIOS, I don't see a big problem coding this.


I don't see it as problematic. Excluding the mouse
works fine. I restart my computers by pressing the
spacebar.


Yes, that is another way.

--
Cheers, Carlos.
  #25  
Old July 13th 19, 07:41 PM posted to alt.comp.os.windows-10
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default 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
  #26  
Old July 13th 19, 07:53 PM posted to alt.comp.os.windows-10
The Man in the High Castle
external usenet poster
 
Posts: 53
Default How to impede W10 from hibernating automatically?

😉 Good Guy 😉 wrote:
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.





How long have you been a creep?
  #27  
Old July 13th 19, 09:31 PM posted to alt.comp.os.windows-10,comp.os.linux.advocacy
Jeff-Relf.Me @.
external usenet poster
 
Posts: 234
Default A monitor that doesn't flash "No Video Input" ?

Is there monitor that doesn't flash "No Video Input"
after you (supposedly) put the monitor to sleep ?
it should be optional.

I've no way of knowing which monitors don't do that, if any.

Mayayana,

I went to Device Manager and deselected
"Allow this device to bring computer out of standby"
wherever possible, under HID and "Mice and other pointing devices".

It had no effect, mouse moment still wakes my monitor.

I googled "WaitWakeEnabled" mouse ;
didn't see anything relevant.
  #28  
Old July 13th 19, 10:05 PM posted to alt.comp.os.windows-10,comp.os.linux.advocacy
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default A monitor that doesn't flash "No Video Input" ?

Jeff-Relf.Me @. wrote:
Is there monitor that doesn't flash "No Video Input"
after you (supposedly) put the monitor to sleep ?
it should be optional.

I've no way of knowing which monitors don't do that, if any.


Multi-sync monitors have an OSD (OnScreenDisplay).
They have a tiny processor. They analyze Hfreq and Vfreq
and refresh and that kinda stuff, to determine if
"the inputs are within range". The OSD warns you
if you are driving signals which cannot be represented
on the screen.

They stopped making fixed-sync monitors long ago.

Why not crack the manual that came with your
fancy monitor, and see if it has a section about
the OSD, with what options are available.

Paul
  #29  
Old July 13th 19, 10:10 PM posted to alt.comp.os.windows-10,comp.os.linux.advocacy
Mayayana
external usenet poster
 
Posts: 6,438
Default A monitor that doesn't flash "No Video Input" ?

Jeff-Relf.Me @. wrote

| Is there monitor that doesn't flash "No Video Input"
| after you (supposedly) put the monitor to sleep ?

Beats me. They seem to be coming with increasing
"intelligence", communicating with the system despite
no driver install. The "no signal" message seems to
be just a silly, superfuous addition to make the
monitor look smart.

As Carlos pointed out, I had misunderstood you. I thought
you were talking about putting the system to sleep. I've
never seen the behavior you're talking about, but I always
set my systems to never turn anything off. I only put the
system on standby/sleep if I'm going to do something else.

If you want the monitor off then why not just turn it off?
Isn't that easy enough? Or put the whole system in standby.
I don't see the point of putting only the monitor to sleep.


  #30  
Old July 14th 19, 02:49 AM posted to alt.comp.os.windows-10
Carlos E.R.[_3_]
external usenet poster
 
Posts: 1,356
Default My eyes don't like the surprise.

On 13/07/2019 23.59, Jeff-Relf.Me@. wrote:
Mayayana replied ( to me ):
If you want the monitor off then why not just turn it off?


The problem with turning the monitor off/on is
the super-annoying+blinding splash screen ( in a pitch-black room ).
Monitor reviews don't mention anything about that.

No one talks about it, not even in the manuals.
I'm a strange duck, apparently; no one but me cares about it.


I don't have it. None of my monitors does that, but then, I don't have a
really big one.

--
Cheers, Carlos.
 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 05:02 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.