Windows 10: PC Sleep Issues

Discus and support PC Sleep Issues in Windows 10 Performance & Maintenance to solve the problem; Perhaps if you spelled "paste" correctly the first time, you wouldn't need to ask again? *Tongue Regardless, no need to be rude! This is why I... Discussion in 'Windows 10 Performance & Maintenance' started by xpaydayx, Aug 19, 2015.

  1. xpaydayx Win User

    PC Sleep Issues


    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..
     
    xpaydayx, Aug 21, 2015
    #16
  2. xpaydayx Win User

    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):
    Code: for /F "tokens=*" %A in ('powercfg -devicequery wake_armed') do powercfg -devicedisablewake "%A"[/quote] 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:
    Code: powercfg /devicequery wake_from_any[/quote] also this command:

    Code: powercfg /devicequery wake_armed[/quote] also:

    Code: powercfg /waketimers[/quote] 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):
    Code: powercfg –lastwake[/quote] 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.[/quote] 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.
     
    xpaydayx, Aug 21, 2015
    #17
  3. xpaydayx Win User
    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.
     
    xpaydayx, Aug 21, 2015
    #18
  4. NIK
    Nik Win User

    PC Sleep Issues

    mikebzh44,
    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).
     
  5. NIK
    Nik Win User
    XpaydayX:
    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).
     
  6. Beerlord Win User
    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?
     
    Beerlord, Sep 8, 2015
    #21
  7. ruggb Win User
    I had one of my computers waking up to do a virus scan.
     
    ruggb, Apr 4, 2018
    #22
Thema:

PC Sleep Issues

Loading...
  1. PC Sleep Issues - Similar Threads - Sleep Issues

  2. Windows 11 issues after sleep mode

    in Windows 10 Gaming
    Windows 11 issues after sleep mode: I’m currently using Windows 11 Enterprise and have been experiencing issues waking my system from sleep mode and logging in. I have a three-monitor setup, and the screens continuously flicker and go black until I type something and press Enter, which brings up the password...
  3. Windows 11 issues after sleep mode

    in Windows 10 Software and Apps
    Windows 11 issues after sleep mode: I’m currently using Windows 11 Enterprise and have been experiencing issues waking my system from sleep mode and logging in. I have a three-monitor setup, and the screens continuously flicker and go black until I type something and press Enter, which brings up the password...
  4. Issues on Windows 11 since updating to 24H2 when trying to put PC on sleep

    in Windows 10 Gaming
    Issues on Windows 11 since updating to 24H2 when trying to put PC on sleep: Hi, I hope someone can help me with these issues I've been having since updating to 24H2. Pc used to work just fine, never had a single problem but since updating I had a bsod, bluetooth drivers just disappeared and now I can't put the pc to sleep.I updated all drivers,...
  5. Issues on Windows 11 since updating to 24H2 when trying to put PC on sleep

    in Windows 10 Software and Apps
    Issues on Windows 11 since updating to 24H2 when trying to put PC on sleep: Hi, I hope someone can help me with these issues I've been having since updating to 24H2. Pc used to work just fine, never had a single problem but since updating I had a bsod, bluetooth drivers just disappeared and now I can't put the pc to sleep.I updated all drivers,...
  6. Issue with monitor not receiving signal after waking from sleep

    in Windows 10 Gaming
    Issue with monitor not receiving signal after waking from sleep: I'm on Windows 11 I have my power settings set to only have the monitor go to sleep after an hour and normally put my PC to sleep manually at the end of the day. When I am away from my PC for more then a few hours I can't get the monitor to receive a signal from the PC after...
  7. Issue with monitor not receiving signal after waking from sleep

    in Windows 10 Software and Apps
    Issue with monitor not receiving signal after waking from sleep: I'm on Windows 11 I have my power settings set to only have the monitor go to sleep after an hour and normally put my PC to sleep manually at the end of the day. When I am away from my PC for more then a few hours I can't get the monitor to receive a signal from the PC after...
  8. Issue After Windows 11 Update: Laptop Restarts Instead of Resuming from Sleep

    in Windows 10 Gaming
    Issue After Windows 11 Update: Laptop Restarts Instead of Resuming from Sleep: After the latest Windows 11 update, I’ve been experiencing an issue where my laptop doesn’t resume properly from sleep mode. When I unplug the laptop, close the lid to put it to sleep, and then open the lid, it restarts instead of resuming from where I left off.There’s no...
  9. Issue After Windows 11 Update: Laptop Restarts Instead of Resuming from Sleep

    in Windows 10 Software and Apps
    Issue After Windows 11 Update: Laptop Restarts Instead of Resuming from Sleep: After the latest Windows 11 update, I’ve been experiencing an issue where my laptop doesn’t resume properly from sleep mode. When I unplug the laptop, close the lid to put it to sleep, and then open the lid, it restarts instead of resuming from where I left off.There’s no...
  10. Windows 11 External Monitor Resolution Issue After Sleep

    in Windows 10 Software and Apps
    Windows 11 External Monitor Resolution Issue After Sleep: I am experiencing a persistent issue with external monitors on multiple Windows 11 devices. Every time my PC locks and enters sleep mode, upon logging back in, one of my external monitors or the only external monitor switches to a lower resolution and cannot be changed back...