Should display wake up overnight when a program runs?

Page 2 of 4 FirstFirst 1234 LastLast

  1. Posts : 478
    Windows 10
    Thread Starter
       #11

    Paul Black said:
    Hello @Terrypin,

    Yes, some devices allow the computer to Wake, and the knock on affect is that the Monitor / Screen will become active.

    As a start, Have a look at this . . .

    > See Devices able to Wake Computer in Windows 10

    Also, have a look at the Related Tutorials at the BOTTOM of the above Tutorial [ there are a few ], as they may also be related and give further information.

    Additionally, have a look at this . . .

    > How to See Wake Source in Windows 10

    I hope this helps.
    Indeed it does Paul, fascinating tools I was unaware of. I'll copy below my initial notes, mainly intended for myself when I come back to the task in a day or two. Lots that I don't understand, but it supports a clear YES in answer to my post's question!

    SUMMARY
    Command, Devices (= lines) listed
    wake_armed, 6
    wake_from_any, 60
    wake_from_S1_supported, 46
    wake_from_S2_supported, 46
    wake_from_S3_supported, 60

    Initial thoughts/reactions/questions
    ------------------------------------
    #1 The sheer numbers of 'things' listed as 'wake up' candidates amazes me. And definitely confirms that the only way to ensure my monitor doesn't come on overnight is to switch it off! Or a screen saver of a very dark image?
    #2 I have one mouse, one keyboard. Why so many 'hits'?
    #3 I'd expect successive options to show lower numbers, corresponding to sleep level. But S2 = S1 and S3 is significantly greater than both.
    #4 More generally: don't know how to interpret or use the info. For instance, can my Logitech webcam really switch on overnight, or cause my monitor to do so?
    #5 What are these 'HID-compliant vendor-defined device' entries?
    #6 What are the entries like: 'Intel(R) 100 Series/C230 Series Chipset Family PCI Root Port #17 - A167'
    #7 Is it impossible for such potentially valuable tools to use more meaningful names, understandable by most end-users, not just the 'techie' subset? For example I have a 10-USB-port power hub with a name...

    DETAILED RESULTS
    ----------------
    C:\WINDOWS\system32>powercfg -devicequery wake_armed
    HID-compliant mouse
    HID Keyboard Device
    HID-compliant mouse (001)
    Intel(R) Ethernet Connection (2) I219-V
    HID-compliant mouse (003)
    HID Keyboard Device (002)
    (6 devices)

    C:\WINDOWS\system32>powercfg -devicequery wake_from_any
    HID-compliant mouse
    Seagate Expansion Desk SCSI Disk Device
    HID Keyboard Device
    Generic USB Hub
    Generic SuperSpeed USB Hub
    WD My Book 1140 USB Device
    WD 10EAVS External USB Device
    HID-compliant vendor-defined device
    Standard NVM Express Controller
    USB Input Device (001)
    HID-compliant consumer control device
    HID-compliant mouse (001)
    USB Input Device (002)
    USB Composite Device (001)
    Generic SuperSpeed USB Hub (001)
    Intel(R) 100 Series/C230 Series Chipset Family PCI Root Port #17 - A167
    Generic SuperSpeed USB Hub (002)
    USB Root Hub (USB 3.0)
    Communications Port (COM1)
    HID-compliant vendor-defined device (001)
    USB Input Device (003)
    USB Input Device (004)
    HID-compliant system controller
    USB Composite Device (002)
    WD SES Device
    HID-compliant consumer control device (001)
    Intel(R) USB 3.0 eXtensible Host Controller - 1.0 (Microsoft)
    Intel(R) Ethernet Connection (2) I219-V
    Generic USB Hub (001)
    Generic USB Hub (002)
    HID-compliant mouse (003)
    USB Mass Storage Device (002)
    Webcam C170
    HID-compliant vendor-defined device (002)
    USB Input Device (005)
    HID-compliant device
    Webcam C170 (001)
    ASMedia USB3.1 eXtensible Host Controller
    USB Mass Storage Device (004)
    USB Composite Device (003)
    High Definition Audio Controller
    USB Attached SCSI (UAS) Mass Storage Device
    HID-compliant consumer control device (002)
    ASMedia USB Root Hub
    NVMe Samsung SSD 950
    Intel(R) 100 Series/C230 Series Chipset Family PCI Express Root Port #1 - A110
    WD Elements 25A1 USB Device
    Intel(R) Display Audio
    AKG Perception 120 USB
    HID-compliant vendor-defined device (003)
    USB Input Device (006)
    Intel(R) 100 Series/C230 Series Chipset Family PCI Express Root Port #9 - A118
    Generic SuperSpeed USB Hub (003)
    USB Composite Device (004)
    USB Mass Storage Device (006)
    HID Keyboard Device (002)
    Generic USB Hub (003)
    Realtek High Definition Audio
    HID-compliant system controller (001)
    HID-compliant vendor-defined device (004)
    (60 devices)

    C:\WINDOWS\system32>

    ====================
    SORTED ABOVE

    AKG Perception 120 USB
    ASMedia USB Root Hub
    ASMedia USB3.1 eXtensible Host Controller
    Communications Port (COM1)
    Generic SuperSpeed USB Hub
    Generic SuperSpeed USB Hub (001)
    Generic SuperSpeed USB Hub (002)
    Generic SuperSpeed USB Hub (003)
    Generic USB Hub
    Generic USB Hub (001)
    Generic USB Hub (002)
    Generic USB Hub (003)
    HID Keyboard Device
    HID Keyboard Device (002)
    HID-compliant consumer control device
    HID-compliant consumer control device (001)
    HID-compliant consumer control device (002)
    HID-compliant device
    HID-compliant mouse
    HID-compliant mouse (001)
    HID-compliant mouse (003)
    HID-compliant system controller
    HID-compliant system controller (001)
    HID-compliant vendor-defined device
    HID-compliant vendor-defined device (001)
    HID-compliant vendor-defined device (002)
    HID-compliant vendor-defined device (003)
    HID-compliant vendor-defined device (004)
    High Definition Audio Controller
    Intel(R) 100 Series/C230 Series Chipset Family PCI Root Port #17 - A167
    Intel(R) 100 Series/C230 Series Chipset Family PCI Express Root Port #1 - A110
    Intel(R) 100 Series/C230 Series Chipset Family PCI Express Root Port #9 - A118
    Intel(R) Display Audio
    Intel(R) Ethernet Connection (2) I219-V
    Intel(R) USB 3.0 eXtensible Host Controller - 1.0 (Microsoft)
    NVMe Samsung SSD 950
    Realtek High Definition Audio
    Seagate Expansion Desk SCSI Disk Device
    Standard NVM Express Controller
    USB Attached SCSI (UAS) Mass Storage Device
    USB Composite Device (001)
    USB Composite Device (002)
    USB Composite Device (003)
    USB Composite Device (004)
    USB Input Device (001)
    USB Input Device (002)
    USB Input Device (003)
    USB Input Device (004)
    USB Input Device (005)
    USB Input Device (006)
    USB Mass Storage Device (002)
    USB Mass Storage Device (004)
    USB Mass Storage Device (006)
    USB Root Hub (USB 3.0)
    WD 10EAVS External USB Device
    WD Elements 25A1 USB Device
    WD My Book 1140 USB Device
    WD SES Device
    Webcam C170
    Webcam C170 (001)
    (60 devices)

    C:\WINDOWS\system32>powercfg -devicequery wake_from_S1_supported
    HID-compliant mouse
    Seagate Expansion Desk SCSI Disk Device
    HID Keyboard Device
    Generic USB Hub
    Generic SuperSpeed USB Hub
    WD My Book 1140 USB Device
    WD 10EAVS External USB Device
    HID-compliant vendor-defined device
    USB Input Device (001)
    HID-compliant consumer control device
    HID-compliant mouse (001)
    USB Input Device (002)
    USB Composite Device (001)
    Generic SuperSpeed USB Hub (001)
    Generic SuperSpeed USB Hub (002)
    HID-compliant vendor-defined device (001)
    USB Input Device (003)
    USB Input Device (004)
    HID-compliant system controller
    USB Composite Device (002)
    WD SES Device
    HID-compliant consumer control device (001)
    Generic USB Hub (001)
    Generic USB Hub (002)
    HID-compliant mouse (003)
    USB Mass Storage Device (002)
    Webcam C170
    HID-compliant vendor-defined device (002)
    USB Input Device (005)
    HID-compliant device
    Webcam C170 (001)
    USB Mass Storage Device (004)
    USB Composite Device (003)
    USB Attached SCSI (UAS) Mass Storage Device
    HID-compliant consumer control device (002)
    WD Elements 25A1 USB Device
    AKG Perception 120 USB
    HID-compliant vendor-defined device (003)
    USB Input Device (006)
    Generic SuperSpeed USB Hub (003)
    USB Composite Device (004)
    USB Mass Storage Device (006)
    HID Keyboard Device (002)
    Generic USB Hub (003)
    HID-compliant system controller (001)
    HID-compliant vendor-defined device (004)
    (46 devices)

    C:\WINDOWS\system32>powercfg -devicequery wake_from_S2_supported
    HID-compliant mouse
    Seagate Expansion Desk SCSI Disk Device
    HID Keyboard Device
    Generic USB Hub
    Generic SuperSpeed USB Hub
    WD My Book 1140 USB Device
    WD 10EAVS External USB Device
    HID-compliant vendor-defined device
    USB Input Device (001)
    HID-compliant consumer control device
    HID-compliant mouse (001)
    USB Input Device (002)
    USB Composite Device (001)
    Generic SuperSpeed USB Hub (001)
    Generic SuperSpeed USB Hub (002)
    HID-compliant vendor-defined device (001)
    USB Input Device (003)
    USB Input Device (004)
    HID-compliant system controller
    USB Composite Device (002)
    WD SES Device
    HID-compliant consumer control device (001)
    Generic USB Hub (001)
    Generic USB Hub (002)
    HID-compliant mouse (003)
    USB Mass Storage Device (002)
    Webcam C170
    HID-compliant vendor-defined device (002)
    USB Input Device (005)
    HID-compliant device
    Webcam C170 (001)
    USB Mass Storage Device (004)
    USB Composite Device (003)
    USB Attached SCSI (UAS) Mass Storage Device
    HID-compliant consumer control device (002)
    WD Elements 25A1 USB Device
    AKG Perception 120 USB
    HID-compliant vendor-defined device (003)
    USB Input Device (006)
    Generic SuperSpeed USB Hub (003)
    USB Composite Device (004)
    USB Mass Storage Device (006)
    HID Keyboard Device (002)
    Generic USB Hub (003)
    HID-compliant system controller (001)
    HID-compliant vendor-defined device (004)
    (46 devices)

    C:\WINDOWS\system32>powercfg -devicequery wake_from_S3_supported
    HID-compliant mouse
    Seagate Expansion Desk SCSI Disk Device
    HID Keyboard Device
    Generic USB Hub
    Generic SuperSpeed USB Hub
    WD My Book 1140 USB Device
    WD 10EAVS External USB Device
    HID-compliant vendor-defined device
    Standard NVM Express Controller
    USB Input Device (001)
    HID-compliant consumer control device
    HID-compliant mouse (001)
    USB Input Device (002)
    USB Composite Device (001)
    Generic SuperSpeed USB Hub (001)
    Intel(R) 100 Series/C230 Series Chipset Family PCI Root Port #17 - A167
    Generic SuperSpeed USB Hub (002)
    USB Root Hub (USB 3.0)
    Communications Port (COM1)
    HID-compliant vendor-defined device (001)
    USB Input Device (003)
    USB Input Device (004)
    HID-compliant system controller
    USB Composite Device (002)
    WD SES Device
    HID-compliant consumer control device (001)
    Intel(R) USB 3.0 eXtensible Host Controller - 1.0 (Microsoft)
    Intel(R) Ethernet Connection (2) I219-V
    Generic USB Hub (001)
    Generic USB Hub (002)
    HID-compliant mouse (003)
    USB Mass Storage Device (002)
    Webcam C170
    HID-compliant vendor-defined device (002)
    USB Input Device (005)
    HID-compliant device
    Webcam C170 (001)
    ASMedia USB3.1 eXtensible Host Controller
    USB Mass Storage Device (004)
    USB Composite Device (003)
    High Definition Audio Controller
    USB Attached SCSI (UAS) Mass Storage Device
    HID-compliant consumer control device (002)
    ASMedia USB Root Hub
    NVMe Samsung SSD 950
    Intel(R) 100 Series/C230 Series Chipset Family PCI Express Root Port #1 - A110
    WD Elements 25A1 USB Device
    Intel(R) Display Audio
    AKG Perception 120 USB
    HID-compliant vendor-defined device (003)
    USB Input Device (006)
    Intel(R) 100 Series/C230 Series Chipset Family PCI Express Root Port #9 - A118
    Generic SuperSpeed USB Hub (003)
    USB Composite Device (004)
    USB Mass Storage Device (006)
    HID Keyboard Device (002)
    Generic USB Hub (003)
    Realtek High Definition Audio
    HID-compliant system controller (001)
    HID-compliant vendor-defined device (004)
    (60 devices)

    ABOVE SORTED
    AKG Perception 120 USB
    ASMedia USB Root Hub
    ASMedia USB3.1 eXtensible Host Controller
    Communications Port (COM1)
    Generic SuperSpeed USB Hub
    Generic SuperSpeed USB Hub (001)
    Generic SuperSpeed USB Hub (002)
    Generic SuperSpeed USB Hub (003)
    Generic USB Hub
    Generic USB Hub (001)
    Generic USB Hub (002)
    Generic USB Hub (003)
    HID Keyboard Device
    HID Keyboard Device (002)
    HID-compliant consumer control device
    HID-compliant consumer control device (001)
    HID-compliant consumer control device (002)
    HID-compliant device
    HID-compliant mouse
    HID-compliant mouse (001)
    HID-compliant mouse (003)
    HID-compliant system controller
    HID-compliant system controller (001)
    HID-compliant vendor-defined device
    HID-compliant vendor-defined device (001)
    HID-compliant vendor-defined device (002)
    HID-compliant vendor-defined device (003)
    HID-compliant vendor-defined device (004)
    High Definition Audio Controller
    Intel(R) 100 Series/C230 Series Chipset Family PCI Root Port #17 - A167
    Intel(R) 100 Series/C230 Series Chipset Family PCI Express Root Port #1 - A110
    Intel(R) 100 Series/C230 Series Chipset Family PCI Express Root Port #9 - A118
    Intel(R) Display Audio
    Intel(R) Ethernet Connection (2) I219-V
    Intel(R) USB 3.0 eXtensible Host Controller - 1.0 (Microsoft)
    NVMe Samsung SSD 950
    Realtek High Definition Audio
    Seagate Expansion Desk SCSI Disk Device
    Standard NVM Express Controller
    USB Attached SCSI (UAS) Mass Storage Device
    USB Composite Device (001)
    USB Composite Device (002)
    USB Composite Device (003)
    USB Composite Device (004)
    USB Input Device (001)
    USB Input Device (002)
    USB Input Device (003)
    USB Input Device (004)
    USB Input Device (005)
    USB Input Device (006)
    USB Mass Storage Device (002)
    USB Mass Storage Device (004)
    USB Mass Storage Device (006)
    USB Root Hub (USB 3.0)
    WD 10EAVS External USB Device
    WD Elements 25A1 USB Device
    WD My Book 1140 USB Device
    WD SES Device
    Webcam C170
    Webcam C170 (001)
    (60 devices)

    ====================
    Brief look so far at 'How to See Wake Source in Windows 10' apparently reports that I haven't had any. Presumably since last PC reset, which was yesterday.

    Last wake
    C:\WINDOWS\system32>powercfg lastwake
    Wake History Count - 0

    Filtered: Log: Power-Iroubleshooter. Number of events: 0

    - - - Updated - - -

    pepanee said:
    I agree with the first link in Paul's first reply:

    Before it said "NONE", I had my computer's monitor turning on at random times when it's idle.

    So far after the "NONE" setting, the monitor stays off until I physically want to use the computer again.

    )
    Thanks pepanee. I've only just stepped through the links in Paul's rich first post. (See my reply a few minutes ago.)

    Have I understood you correctly: is this the command you used?
    C:\WINDOWS\system32>powercfg -devicequery wake_armed NONE

    But do you run scheduled overnight programs, like me? Wouldn't that command obstruct those?
      My Computer


  2. Posts : 2,986
    Windows 10 Pro for the Bro
       #12

    Hello Terry,

    [quick note, I was just made aware that you have a thing that makes a backup... sorry I didn't read that earlier. Is the backup online? The Intel entry below may need to stay on if so.. I'm not 100% sure.]

    So you don't really need to worry about the other ones other than:
    powercfg -devicequery wake_armed (the one that says 6 devices)

    The other commands, which show sooooo many other devices, is just a command that tells you which other devices can wake up your computer. So nothing to worry about. My list is also pretty large on this one (more than 40 or something, for that first command after your 6 devices. I didn't run the other commands).

    For the 6 devices that can wake up your computer:
    1) Search for, and open: Device Manager
    2) And from my experience in this, you're going to manually look through this list (unless someone knows a better idea), to find the things that wake up your computer.
    3) Let's take an example:
    • Intel(R) Ethernet Connection (2) I219-V
    You should find this in the Network Adapters section.
    4) Press the arrow on the left of: Network Adapters
    5) Double click:
    Intel(R) Ethernet Connection (2) I219-V
    6) At the top of the new window, press the Power Management tab
    7) Uncheck: Allow this device to wake the computer
    8) Press: OK

    Should display wake up overnight when a program runs?-image.png

    Now, if you run that same command again in the Command Prompt:
    powercfg -devicequery wake_armed

    Then that Intel entry won't be there anymore. This also means that this device won't wake up your computer anymore. This is the most likely one that is waking up your computer / turning on your monitor.

    Not sure if these have anything to do with your backups...
    And regarding the many copies of your keyboard and mouse...
    I would Uninstall all those copies of the Keyboard and Mouse in the Device Manager, then I would unplug the keyboard & mouse USB from the computer, replug it back in, and let Windows reinstall the drivers for them automatically. I have no clue why you have multiple copies of each...



    After you do so, run the command, and see if there's one of each, one mouse one keyboard, and do the same process like I stated above, for each the keyboard and mouse.
      My Computer


  3. Posts : 17,040
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #13

    Hasn't this discussion confused the display coming on with waking the computer?
    The OP is keeping the computer on / waking the computer deliberately so that backups can run.
    The OP is interested in methods of preventing the display coming on with the computer.

    Denis
      My Computer


  4. Posts : 2,986
    Windows 10 Pro for the Bro
       #14

    Try3 said:
    Hasn't this discussion confused the display coming on with waking the computer?
    The OP is keeping the computer on / waking the computer deliberately so that backups can run.
    The OP is interested in methods of preventing the display coming on with the computer.

    Denis
    Oh I'm sorry I didn't see that from earlier...
    ...ummm... the command says that the internet and copies of the keyboard and mouse are the ones that wake up the computer..
      My Computer


  5. Posts : 17,040
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #15

    Updated 15:58
    Terrypin said:
    I have my Dell U2415 24" monitor set to sleep after 10 minutes of non-use, and that seems to work OK. However in the small hours I've noticed recently that the screen is on. I haven't so far got out of bed to investigate, but wonder if it's because I have various backups running overnight?
    Terry,

    If your various backups are running from scripts under your control then you could add a new first line to them to suppress the display.
    I would not be surprised if my suggestions allow a brief flash of the display coming on before its gets suppressed.

    I use NirSoft NirCmd to blank my screen
    Code:
    ...\NirCmd.exe monitor off
    Use the path to wherever you've stuck it.

    You could trigger a screensaver instead
    Code:
    C:\Windows\System32\scrnsave.scr
    but that seems to emit a glow in a darkened room so might not suit you.


    Best of luck,
    Denis
    Last edited by Try3; 24 Jan 2023 at 10:59.
      My Computer


  6. Posts : 478
    Windows 10
    Thread Starter
       #16

    (Third attempt to post this, a shortened version. Hope no duplicates turn up.)

    Hi Dennis, Thanks for both posts. Your summary of my query was exactly correct.

    If your various backups are running from scripts under your control then you could add a new first line to them to suppress the display.
    I would not be surprised if my suggestions allow a brief flash of the display coming on before its gets suppressed.


    I'm using an old faithful called SecondCopy. A brief display would be no problem at all. The difficulty is that I don't really know when it's coming on or for how long. I do know that on several occasions I or my wife have woken and it's been on in my 'office' next to the bedroom. Both (shut) doors have a short glass section at the top. Sufficiently bright to be very noticeable in the bedroom. But maybe it goes off again quickly? Neither of us are inclined to keep our eyes open enough to find out!

    As a test earlier today, at 13:30 I set SecondCopy to run a brief backup at 13:50. Then I set Win 10 to switch off the display after two minutes of non-use, and then went for lunch (returning briefly to confirm the screen was black). If the monitor had come on again after lunch due to the backup, I figured that running this command
    Code:
    C: \WINDOWS\system32>powercfg lastwake
    should have told me so. But it reported a count of zero. Hardly conclusive, but leaves me looking for alternative possible explanations for the monitor's nocturnal illuminations.

    I use NirSoft NirCmd to blank my screen
    Attachment 384212
    Use the path to wherever you've stuck it.
    If you ask any questions about this, you'll have to use a picture just as I have. The forum software has a problem with that command; it triggers a CloudFare rejection that also wipes your draft text so you cannot get back what you had written.


    I had similar problems with attempts to reply here but think the site was down.

    You could trigger a screensaver instead
    Code:
    C:\Windows\System32\scrnsave.scr
    but that seems to emit a glow in a darkened room so might not suit you.

    I'll try a screen saver, at least until I resolve the more serious Dell problem I now have. I may post separately about that.

    Terry
      My Computer


  7. Posts : 17,040
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #17

    Terry,

    I have had a quick look at the SecondCopy website [which is, rather surprisingly, an http address rather than https as is expected these days] but couldn't see anything about how it is scheduled.
    "the difficulty is that I don't really know when it's coming on or for how long"
    How do you schedule it?

    Denis
      My Computer


  8. Posts : 478
    Windows 10
    Thread Starter
       #18

    Try3 said:
    Terry,

    I have had a quick look at the SecondCopy website [which is, rather surprisingly, an http address rather than https as is expected these days] but couldn't see anything about how it is scheduled.
    "the difficulty is that I don't really know when it's coming on or for how long"
    How do you schedule it?

    Denis
    Denis,

    Careless wording on my part! Yes, I do know when a backup is supposed to start, and it usually does so unless there's overlap or something. What I really meant was that a truly thorough investigation would mean either losing some sleep or changing all my profile schedules to more civilised times.

    Terry
      My Computer


  9. Posts : 17,040
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #19

    Terry,

    It sounds like the schedule is built into the utility itself rather than you having to tell the Windows 10 Task scheduler when to run it.
    If that's correct then I don't see any [easy] opportunity for you to add a display turn off / screensaver command to it.
    You'd have to run the display turn off / screensaver command manually when you stopped using the computer rather than tie it in to the start of the backup procedure.

    If it was me then it would not really be much of a problem because my 'standard' power plan includes turning off the display after one minute all the time.

    Sorry,
    Denis
      My Computer


  10. Posts : 3,279
    Win10
       #20

    SecondCopy appears to have an option to run external program/batch file before/after a profile is run.

    How to backup computer - Second Copy Tour

    Under "Advanced Properties" it says:
    Advanced Properties let you set the options for copying, define compression ratio, set external program or "batch files" to run before and after the profile is run.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:44.
Find Us




Windows 10 Forums