Windows 10: powercfg and ps keeping my computer awake??

Discus and support powercfg and ps keeping my computer awake?? in Windows 10 Performance & Maintenance to solve the problem; Hello Ed, Try NirSoft TaskSchedulerView, it's a nice little free portable program for working with Scheduled Tasks. Start it with Run as... Discussion in 'Windows 10 Performance & Maintenance' started by Gusgf, Sep 8, 2016.

  1. DavidE Win User

    powercfg and ps keeping my computer awake??


    Hello Ed,

    Try NirSoft TaskSchedulerView, it's a nice little free portable program for working with Scheduled Tasks.
    Start it with Run as administrator, and it lists more tasks.

    Task Scheduler Viewer for Windows 10/7/8/Vista
     
    DavidE, Sep 10, 2016
    #16
  2. EdTittel Win User

    Great recommendation, DavidE. I have used many of the other NirSoft utilities and have a current version of NirLauncher on my systems (which probably includes TaskSchedulerView). I'll give it a try...wow! It takes a while to load up and has already scanned 150 tasks ... still going ... done! It has a Find command (in the Edit menu) and I just used it to locate the tasks that called a specific exe file on my system. David: I think you've found the OP's dream utility!


    powercfg and ps keeping my computer awake?? [​IMG]


    Gusgf: You can grab TaskSchedulerView from NirSoft.com (Link). Once you let it load up the database, you can then search for your string "nw.exe" and jump right into the task where it shows up. Please let us know what you find!

    Thanks again DavidE. Kudos to you for figuring this out!

    --Ed--
     
    EdTittel, Sep 10, 2016
    #17
  3. DavidE Win User
    You're welcome, and thank you *Smile
     
    DavidE, Sep 10, 2016
    #18
  4. Gusgf Win User

    powercfg and ps keeping my computer awake??

    Just to say thank you to Ed and David for your help with this so far. I haven't actually had a chance to test the effectiveness of the 'powercfg' command David supplied but will do over the next few days. I'm also going to download the TaskschedulerView utility.
    I will report back and let you guys know how it's going.
    Thanks again guys appreciate your time *Smile
     
    Gusgf, Sep 12, 2016
    #19
  5. EdTittel Win User
    For both DavidE and myself, you're very welcome. These are fascinating issues that help us to learn more about how Windows really works. It's already helped me find and kill a scheduled task that ran a batch file that kept popping up on my desktop, but which disappeared too quickly for me to tell what it was all about. Searching TaskSchedulerView for ".bat" zeroed me right in, and let me "fix" the batch file so it doesn't run anymore. We all come out ahead!
    --Ed--
     
    EdTittel, Sep 14, 2016
    #20
  6. DavidE Win User
    Ditto !

    Another thing you can do with TaskschedulerView is click on a column heading to sort the display by that column.
    i.e. - You can sort by the Last Run column and refresh the list (View/Refresh or F5).
    Then you can see what just ran without doing an edit/find.
    Multiple Clicks on the column heading toggles the sort as ascending/descending.

    Another thing i do is add Sysinternals Process Explorer to auto start programs.
    You can add Start Time to the display List and sort by that column.
    Then you can see all the processes running and and what order they start in.
    Give it a try and let the PC be idle for 15-30 minutes on startup, so delayed tasks and maintenance tasks run.
    You will easily see what processes start/stop in the list (red/green items in list).
    I find this real helpful when i'm working on someone's PC that is slow "loading/displaying" Windows desktop or has performance issues.

    I'm amazed at the difference i personally see in startup stuff for Win 10 vs. what i see in W7 or W8.1.
    Many folks say W10 is more efficient/less overhead, but that's not the way i see it.
     
    DavidE, Sep 14, 2016
    #21
  7. Gusgf Win User
    Sorry I've not updated this thread sooner but it's been a bit hit and miss. Sometimes my computer goes to sleep other times it doesn't so the only thing I can do is continually run
    Code: powercfg -requestsoverride[/quote] every time it fails to sleep and disable the offending process or driver. So far this is my list....
    Code: C:\WINDOWS\system32>powercfg -requestsoverride [SERVICE] [PROCESS] nw.exe EXECUTION chrome.exe EXECUTION [DRIVER] High Definition Audio Device SYSTEM Realtek High Definition Audio SYSTEM Realtek High Definition Audio (HDAUDIO\FUNC_01&VEN_10EC&DEV_0221&SUBSYS_103C18E5&REV_1000\4&e851e2c&0&0001 SYSTEM[/quote] I hope eventually to have a 100% success rate. Don't know why Windows 10 doesn't override automatically these processes when the user requests the computer to sleep after a certain elapsed time with no exceptions. Didn't have this problem on previous version of Win10.
     
    Gusgf, Sep 19, 2016
    #22
  8. DavidE Win User

    powercfg and ps keeping my computer awake??

    In my experience overrides for requests have been needed for a long time, for me since Win 7.
    I don't know if requests worked differently on a previous version of Win 10.
    I just add them and keep them as i find them, because they prevent sleep from working.

    fwiw, here are my overrides on a Win 7 OS installed about 7 years ago.

    Code: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Windows\system32>powercfg -requestsoverride [SERVICE] [PROCESS] [DRIVER] Realtek High Definition Audio SYSTEM Legacy Kernel Caller SYSTEM Realtek High Definition Audio (HDAUDIO\FUNC_01&VEN_10EC&DEV_0885&SUBSYS_1458A002&REV_1001\4&174ede36&0&0001) SYSTEM Realtek SYSTEM High Definition Audio Device (HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1001\5&342fee86&0&0001) SYSTEM srvnet SYSTEM C:\Windows\system32>[/quote]
     
    DavidE, Sep 19, 2016
    #23
  9. Gusgf Win User
    Sorry meant to say I had never needed to use overrides before Win10 (never used Win8)!

    think the overrides are working but will update. Thanks again for all your help *Smile
     
    Gusgf, Apr 4, 2018
    #24
Thema:

powercfg and ps keeping my computer awake??

Loading...
  1. powercfg and ps keeping my computer awake?? - Similar Threads - powercfg keeping computer

  2. How can I keep my USB systems awake when I put my computer to sleep?

    in Windows 10 Gaming
    How can I keep my USB systems awake when I put my computer to sleep?: I have only recently converted to W11 Pro from W10 Pro. I have a wireless keyboard and mouse linked via a receiver plugged into a USB port on my monitor. While I was using W10 I could put the system to sleep and later wake it merely by moving the mouse or hitting a key on the...
  3. Computer no longer staying awake

    in Windows 10 Gaming
    Computer no longer staying awake: Greetings, I can’t find a forum for the command line, so I hope this is the right place. I can’t find anyone else with the same problem.I am having trouble keeping my computer awake. I have created a batch file to back up my laptop. It takes several hours for the script to...
  4. Computer no longer staying awake

    in Windows 10 Software and Apps
    Computer no longer staying awake: Greetings, I can’t find a forum for the command line, so I hope this is the right place. I can’t find anyone else with the same problem.I am having trouble keeping my computer awake. I have created a batch file to back up my laptop. It takes several hours for the script to...
  5. powercfg remote

    in Windows 10 BSOD Crashes and Debugging
    powercfg remote: I am trying to be more proactive in catching bad batteries and I want to use a script to check the laptop batteries and save txt files that I can go retrieve from the machine. When trying to run a batch file that uses powercfg /batteryreport I keep getting the error 'The...
  6. How To Keep A Machine Awake On The Lan?

    in Windows 10 Network and Sharing
    How To Keep A Machine Awake On The Lan?: I have just one machine on our little lan that seems to disappear from time to time and it looks like it does that because it goes into sleep mode. How do I fix that if that's what it probably is? 139624
  7. How To Keep A Machine Awake On The Lan?

    in Windows 10 Support
    How To Keep A Machine Awake On The Lan?: I have just one machine on our little lan that seems to disappear from time to time and it looks like it does that because it goes into sleep mode. How do I fix that if that's what it probably is? 139624
  8. srvnet keeping computer awake even when not sharing files

    in Windows 10 Network and Sharing
    srvnet keeping computer awake even when not sharing files: So my computer (let's call it "Server") won't sleep because of srvnet as shown by cmd --> powercfg /requests. It only started recently but I don't know what caused it to do this. I have always had folders on Server shared with other computers ("Clients") on the network....
  9. Computer awakes by itself

    in Windows 10 Support
    Computer awakes by itself: A few days ago I downloaded win 10 and everything is going pretty well except.. every night at 12:15 exactly the computer will awake from sleep by itself. I never had this issue with win 7 which I just upgraded from. Any suggestions are much appreciated. *Think 15798
  10. Service to track of a computer is asleep/awake

    in Windows 10 Support
    Service to track of a computer is asleep/awake: I've set up a desktop as a media server running Plex. When I access it using RDC, it pops up really fast and I'm not sold the thing is going to sleep properly even though I've checked to make certain powercfg -request is coming up clear. There are services to track when...