PC Sleep Issues

Page 2 of 2 FirstFirst 12

  1. Posts : 3
    Windows 10


    I'm facing the same issue. Yesterday evening, I put my laptop in sleep mode and this morning, I found it awake.

    When I look into Event manager, I see this :

    So I guess Windows 10 wake up for update check as it's now waiting for a reboot to finish installing a KB.

    I'm trying to disable this auto update by following NIK tuto but as my system is in French, I cannot find Action Center->Maintenance ->Change maintenance settings

    When I enter Control Panel then System and Security, I have those choices :

    Could you tell me wich menu should I use ?

      My Computer

  2. Posts : 3
    Windows 10

    OK, found it by using this tuto :

    Automatic Maintenance - Change Settings in Windows 10 - Windows 10 Forums

    But my settings are already OK :

      My Computer

  3. Posts : 3
    Windows 10

    Try to run NIK scripts with no success (I'm running Powershell with Administrator mode) :

      My Computer

  4. Posts : 7
    Windows 10
    Thread Starter

    fracking4oil said:
    Perhaps if you spelled "paste" correctly the first time, you wouldn't need to ask again?

    Regardless, no need to be rude!
    This is why I didn't know what he meant and completely ignore what he said, till I revisited later and I read more "carefully" I guess you could say. Only to find out he meant paste lol..
      My Computer

  5. Posts : 7
    Windows 10
    Thread Starter

    Nik said:
    This problem requires several steps.

    First, edit your BIOS settings (before windows boots). Go to advanced power management options (the name may be different for your motherboard) and disable various options such as Wake on LAN. If you have an option "deep sleep" there, enable it (this option allows waking only after the power button is pressed). In boot options, disable "fast boot" for easy access to BIOS (not related to sleep).

    If you enabled the "deep sleep" option, then go to "Control Panel" --> "Power options" --> "Change settings" for your current power management plan, then select "Change additional settings" (or "Advanced settings"). Set "what power button does" to "sleep" (Note that now you will have to press and hold the power button for several seconds if you want to shut down the computer the hard way.)

    Go to Control Panel ->System and Security->Action Center->Maintenance ->Change maintenance settings
    and uncheck the option "Allow scheduled maintenance to wake up my computer at the scheduled time"

    Launch Windows PowerShell as admin and enter the following script (I don't remember where I found it, big credit to the original writer). This script disables all wake the computer to run this task options in Windows task scheduler:
    Get-ScheduledTask | ? { $_.Settings.WakeToRun -eq $true -and $_.State -ne "Disabled"} | % { $_.Settings.WakeToRun = $false; Set-ScheduledTask $_ }
    Press Enter to run it (you won't see anything).

    Launch Windows Command Prompt as admin and run this command (copy, paste, and press Enter):
    for /F "tokens=*" %A in ('powercfg -devicequery wake_armed') do powercfg -devicedisablewake "%A"
    This command disallows any devices to wake the computer. Now you can verify that the above actions worked.

    While in command prompt, enter the following command to see if any devices are allowed to wake the computer:
    powercfg /devicequery wake_from_any
    also this command:

    powercfg /devicequery wake_armed

    powercfg /waketimers
    Finally, in the future, to find out which device/task woke the computer the last time, type this command in Windows Command Prompt (run as admin):
    powercfg lastwake
    Note that sometimes, this action will tell you nothing about who woke the computer (probably some deep system process). In this case, the Windows Event Viewer will also show you a wake event but will not tell you who did it. The above plan can prevent such anonymous waking.
    I did pretty much everything you said the best I could though there were a couple issues. First in my bios I couldn't find what you specified on the first step. In the advanced tab I found something called APM which I assumed stood for Advanced Power Mode though I have no idea. When I disabled it there was nothing regarding Wake on LAN or Deep Sleep. This is the motherboard if it helps Motherboards | M5A99X EVO R2.0 | ASUS USA

    Second when I went into Change Maintinence Settings the box was already unchecked.
    And lastly which I'm not sure is an issue I get this in CMD when i run powercfg /devicequery wake_from_any

    Microsoft Windows [Version 10.0.10240]
    (c) 2015 Microsoft Corporation. All rights reserved.

    C:\WINDOWS\system32>powercfg /devicequery wake_from_any
    ASMedia USB 3.0 eXtensible Host Controller - 0.96 (Microsoft)
    USB Input Device
    USB Input Device (001)
    VIA 1394 OHCI Compliant Host Controller
    USB Input Device (002)
    USB Root Hub
    Standard Enhanced PCI to USB Host Controller
    Standard Enhanced PCI to USB Host Controller (001)
    Standard Enhanced PCI to USB Host Controller (002)
    PCI-to-PCI Bridge
    HID Keyboard Device
    Communications Port (COM1)
    Razer DeathAdder 3.5G Black Keyboard
    HID Keyboard Device (001)
    Razer DeathAdder 3.5G Black
    USB Composite Device (001)
    HID-compliant consumer control device (001)
    PCI-to-PCI Bridge (001)
    PCI-to-PCI Bridge (002)
    USB Root Hub (001)
    USB Root Hub (002)
    High Definition Audio Controller
    Realtek PCIe GBE Family Controller
    USB Root Hub (003)
    USB Root Hub (004)
    Standard OpenHCD USB Host Controller
    Standard OpenHCD USB Host Controller (001)
    Standard OpenHCD USB Host Controller (002)
    Razer DeathAdder 3.5G Black (001)
    Standard OpenHCD USB Host Controller (003)
    USB Composite Device (002)
    ACPI Power Button
    USB Root Hub (005)
    ASMedia USB 3.0 eXtensible Host Controller - 0.96 (Microsoft) (001)
    PCI-to-PCI Bridge (003)
    Razer DeathAdder 3.5G Black (002)
    USB Root Hub (xHCI)
    Realtek High Definition Audio
    PCI-to-PCI Bridge (004)
    USB Root Hub (006)
    PCI-to-PCI Bridge (005)
    USB Input Device (005)
    USB Root Hub (xHCI) (001)
    HID-compliant consumer control device (002)
    USB Speaker
    PCI-to-PCI Bridge (006)

    powercfg /devicequery wake_armed
    Has only my usb keyboard listed because I reapplied it after removing everything.

    powercfg /waketimers
    Has nothing listed.
      My Computer

  6. Posts : 7
    Windows 10
    Thread Starter

    Had one too many issues with Windows 10, I've reverted back to Windows 7. Thank you all for the help hopefully my experience will differ in the future.
      My Computer

  7. Nik
    Posts : 25
    Windows 10 Pro 64-bit

    I don't know why the powershell script doesn't work in your Windows. It worked fine for me (Windows 10, Russian, 64-bit) and disabled all tasks in Task Scheduler that wake up the computer. Your error message says something about wrong arguments or typos in the command. Perhaps if you try to type the command under English (US) keyboard settings and double-check the spelling, it will work?

    Another thing, the second script should be used in Windows Command Prompt (as admin), not in PowerShell.

    Here are the original links to the resources I am talking about (one page in Russian but can be translated and has pictures in English):
    Почему Windows 8 сам просыпается после гибернации | Заметки IT профессионала
    Windows 8 Wakes Up From Sleep or Hibernation Unexpectedly | Ilantzs Weblog

    My computer used to wake up every night both under Windows 8.1 and under Win10. I followed the instructions that I posted above, and now my computer sleeps like a log. Never wakes up by itself, and I can bring it to life only by pressing the power button (keyboard and mouse cannot do this).
      My Computer

  8. Nik
    Posts : 25
    Windows 10 Pro 64-bit

    I am sorry, my mistake. In reality, the command powercfg /devicequery wake_from_any shows all devices that are in general capable of waking the computer (regardless of their current wakeup status). Corrected my original post. I am sorry that you gave up on Win10, but the techniques I described work in Windows 8.1 too. In fact all of them were devised for Windows 8.1 originally.

    According to your last post, you followed the instructions correctly and everything worked as it should. It seems that now your system wakes up because of some anonymous (deep system) tasks that are registered but not named by the -lastwake command and have the name "Unavailable" in Windows event viewer. I could stop these anonymous awakenings only by enabling deep sleep in BIOS. My advice is to do some more research in your advanced BIOS settings in the APM section (read carefully about each item listed there).
      My Computer

  9. Posts : 46
    Windows 10

    I've got a similar problem though my system turns off after it runs 'UpdateOrchestrator' each night at 3:30 am. So, I first changed the time to when I'm home and awake then I tried disabling it but it seems to recreate the task.

    First, what the hell does this do? It says event viewer shows Wake Source: Unknown, but possibily due to timer - Windows will execute 'NT TASK\Microsoft\Windows\UpdateOrchestrator\Reboot but it doesn't reboot and I have my system set to boot on power failure (not that it needs to).
    I've not yet tried the to stop all wake commands because I have a tv tuner and my NPVR program wakes the computer, if asleep, to record a program then go back to sleep.
    Any suggestions?
      My Computer

  10. Posts : 168

    I had one of my computers waking up to do a virus scan.
      My Computer


  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 03:15.
Find Us

Windows 10 Forums