Page 1 of 2 12 LastLast
Results 1 to 15 of 29
  1. #1
    Join Date
    Aug 2005
    Location
    Cranbourne West
    Age
    72
    Posts
    3,612

    Default Win 10 PC not going to sleep

    My Win 10 PC has stopped going to sleep. After doing some research I found a way to find out what, if any, programs were preventing the PC from entering sleep mode.

    Cmd.jpg

    Usosvc.jpg

    I have found a way to disable USOSVC but what are the consequences of this action. Will this stop Windows from updating automatically, if so is this such a bad thing?
    To grow old is inevitable.... To grow up is optional

    Confidence, the feeling you have before you fully understand the situation.

    What could possibly go wrong.

  2. # ADS
    Google Adsense Advertisement
    Join Date
    Always
    Location
    Advertising world
    Age
    2010
    Posts
    Many





     
  3. #2
    Join Date
    Apr 2007
    Location
    Sydney
    Posts
    749

    Default

    GJ,

    DON'T disable this. It will break system updates & have medium to long term consequences for your PC operation & stability.

    Changing the conditions under which the Universal Orchestrator starts will likely help you resolve this issue on your computer.


    1. Type scheduler into the run box - you should see "Task Scheduler" in the results


    2. Select "Run as Administrator" in panel on right (or right click & run as admin)


    3. On the left pane of Task Scheduler, navigate to this location-


    - " Task Scheduler Library -> Microsoft -> Windows -> UpdateOrchestrator"


    This shows the config for running the orchestrator
    The middle pane has all the tasks that run for this process.
    Under the list of tasks is a windows that show task configuration. Select "Conditions" to see the conditions under which the selected task runs

    Select each of the following in turn:
    Backup Scan
    Reboot
    RebootAC
    Schedule Wake to Work

    For each of these:
    A. Right click on the item & select “Properties” to open its properties.


    B. In Properties window, go to the “Conditions” tab and un-check the “Wake the computer to run this task“.


    C. Click on “OK” to save the changes.


    D. Close window.

    E. Repeat for the next in list




    4.Once all have been updated, Reboot your computer to enable the changes.

    -

  4. #3
    Join Date
    Apr 2007
    Location
    Sydney
    Posts
    749

    Default

    Note that this means your PC will not update properly while asleep. You should thus manually check updates on a regular basis.

  5. #4
    Join Date
    Mar 2018
    Location
    Sydney
    Posts
    1,166

    Default

    yes, stopping Windows Update is a bad thing. Windows 10 is unlike any other version of Windows, so please don't make significant unexpected changes. That guidance you found is pretty lame, and that kind of site unfortunately just is a marketing site, trying to attract clicks and ad revenue, so they rehash the same lame old content with minimal factual reasoning behind it.

    The USO is a core component, enabled by default, so it's certainly one I say don't mess with. I don't know it's exact purpose, but it's not the problem - what it's handling on your device however, is likely to be the problem.

    First step I would do is restart the affected PC and then re-run the powercfg /requests command and see whether that still appears. That often forces whatever was in-progress or being held open to close, and things return to normal after that.

  6. #5
    Join Date
    Aug 2005
    Location
    Cranbourne West
    Age
    72
    Posts
    3,612

    Default

    Quote Originally Posted by RossM View Post
    GJ,

    DON'T disable this. It will break system updates & have medium to long term consequences for your PC operation & stability.

    Changing the conditions under which the Universal Orchestrator starts will likely help you resolve this issue on your computer.


    1. Type scheduler into the run box - you should see "Task Scheduler" in the results


    2. Select "Run as Administrator" in panel on right (or right click & run as admin)


    3. On the left pane of Task Scheduler, navigate to this location-


    - " Task Scheduler Library -> Microsoft -> Windows -> UpdateOrchestrator"


    This shows the config for running the orchestrator
    The middle pane has all the tasks that run for this process.
    Under the list of tasks is a windows that show task configuration. Select "Conditions" to see the conditions under which the selected task runs

    Select each of the following in turn:
    Backup Scan
    Reboot
    RebootAC
    Schedule Wake to Work

    For each of these:
    A. Right click on the item & select “Properties” to open its properties.


    B. In Properties window, go to the “Conditions” tab and un-check the “Wake the computer to run this task“.


    C. Click on “OK” to save the changes.


    D. Close window.

    E. Repeat for the next in list




    4.Once all have been updated, Reboot your computer to enable the changes.

    -
    Thanks Ross, I will follow through on this if poundy's suggestion doesn't work out.

    Quote Originally Posted by poundy View Post
    yes, stopping Windows Update is a bad thing. Windows 10 is unlike any other version of Windows, so please don't make significant unexpected changes. That guidance you found is pretty lame, and that kind of site unfortunately just is a marketing site, trying to attract clicks and ad revenue, so they rehash the same lame old content with minimal factual reasoning behind it.

    The USO is a core component, enabled by default, so it's certainly one I say don't mess with. I don't know it's exact purpose, but it's not the problem - what it's handling on your device however, is likely to be the problem.

    First step I would do is restart the affected PC and then re-run the powercfg /requests command and see whether that still appears. That often forces whatever was in-progress or being held open to close, and things return to normal after that.
    Thanks poundy, after a restart the offending item was not listed. How do I find out what is causing this to happen?
    To grow old is inevitable.... To grow up is optional

    Confidence, the feeling you have before you fully understand the situation.

    What could possibly go wrong.

  7. #6
    Join Date
    Mar 2018
    Location
    Sydney
    Posts
    1,166

    Default

    i don't know. But if it becomes problematic (ie happening more than this one off) I would dig a bit more for you. But right now I'd call it "random chance" and move on with my life

  8. #7
    Join Date
    Aug 2005
    Location
    Cranbourne West
    Age
    72
    Posts
    3,612

    Default

    This is happening all the time poundy. Within a couple of hours of the last startup the fault appeared again. Could there be a clue in the reference to \device\harddiskvolume4?

    Volumes.jpg
    To grow old is inevitable.... To grow up is optional

    Confidence, the feeling you have before you fully understand the situation.

    What could possibly go wrong.

  9. #8
    Join Date
    Mar 2018
    Location
    Sydney
    Posts
    1,166

    Default

    no that \device\harddiskvolume4 reference is not a help. Thats just the path to the Windows executable that's running.

    Some posts talk about just doing an override by using the following command:

    powercfg /requestsoverride SERVICE UsoSvc EXECUTION

    but in the first instance I would check what the settings that are in your task scheduler - basically the list as RossM pointed out above, just validate what settings are in effect first.

    I'm pretty attuned to hearing disruption by Windows Updates, and this is not something I've come across. And honestly, there's not a lot of cases I've found (but the ones I did find are not really helping the cause ). Can you check off for me what version of windows you're running by winver, and reporting back the major version and OS build number from that dialog, and then screenshot the windows update history page? Settings -> Update and security -> View update history... and try to correlate how long ago this behavior may have started, with some of that?


  10. #9
    Join Date
    Aug 2005
    Location
    Cranbourne West
    Age
    72
    Posts
    3,612

    Default

    Quote Originally Posted by poundy View Post
    no that \device\harddiskvolume4 reference is not a help. Thats just the path to the Windows executable that's running.

    Some posts talk about just doing an override by using the following command:

    powercfg /requestsoverride SERVICE UsoSvc EXECUTION

    but in the first instance I would check what the settings that are in your task scheduler - basically the list as RossM pointed out above, just validate what settings are in effect first.

    I'm pretty attuned to hearing disruption by Windows Updates, and this is not something I've come across. And honestly, there's not a lot of cases I've found (but the ones I did find are not really helping the cause ). Can you check off for me what version of windows you're running by winver, and reporting back the major version and OS build number from that dialog, and then screenshot the windows update history page? Settings -> Update and security -> View update history... and try to correlate how long ago this behavior may have started, with some of that?

    Thanks for taking the time to try and sort this out for me poundy. As for your last comment, I truly cannot put a timeline on this issue as I had an ongoing problem with my second monitor that I thought could be the cause. I have since replaced the monitor and the issue remains.
    I have included some screenshots for you.




    Winver.jpg


    Update History P1.jpg


    Task Scheduler.jpg

    A better view of the items in Task Scheduler

    TS.jpg
    To grow old is inevitable.... To grow up is optional

    Confidence, the feeling you have before you fully understand the situation.

    What could possibly go wrong.

  11. #10
    Join Date
    Apr 2007
    Location
    Sydney
    Posts
    749

    Default

    GJ,

    This is very unlikely to be fixed by messing with update versions. Windows 10 BY DESIGN will wake from sleep for multiple things. You mentioned you wanted to disable the Universal Service Orchestrator, so that's what I showed you. The UsoSvc service service is responsible for downloading, installing and verifying the updates for your computer. There is no mystery to it, but IT IS IMPORTANT, and disabling or messing with it too much may cause you to see system errors or even messages saying you need to reinstall or run lengthy repair routines. Disabling its ability to wake from sleep is not ideal, but shouldn't really hurt if you remember to check updates each week & download & install available updates.

    However - there are also other things that can wake the machine from sleep. Its possible to stop waking from happening right across the board.

    I should have remembered to ask you to try this first - its somewhat simpler.
    (Note - this controls all the wake timers for the machine, not just the UsoSvc timers. Wake Timers have been around in Windows for a long time. In Win7 there were some end user controls. Win 10 has more control, as you can see here. Note that "Important Wake Timers" are new class of time in Win10 that allows things like updates to supersede other settings. The process below will disable all wake timers including the "important wake times" that are used by update processes)

    1. In the run box type

    Edit power

    Click the "Edit Power Plan" control panel icon to open it

    2. In the Edit Power Plan control panel, click the line saying:

    " Change Advanced Power Plan Settings "

    This opens the "Power Options" dialog

    A. In the drop down, select the first power plan listed

    B. Expand (click the + sign) to open the Sleep item
    C. Expand (click the + sign) to open the Allow wake timers. item
    D. Select Disable for the On battery item from the dropdown
    E. Select Disable for the Plugged In item from the dropdown

    F. Go back to A. but select the second power plan listed & repeat items B. to E.
    G. Repeat for any other power plans

    H. Click APPLY button
    I. Click OK button
    J. Close the "Edit Power Plan" control panel
    K.Reboot

  12. #11
    Join Date
    Aug 2005
    Location
    Cranbourne West
    Age
    72
    Posts
    3,612

    Default

    Quote Originally Posted by RossM View Post
    GJ,

    This is very unlikely to be fixed by messing with update versions. Windows 10 BY DESIGN will wake from sleep for multiple things. You mentioned you wanted to disable the Universal Service Orchestrator, so that's what I showed you. The UsoSvc service service is responsible for downloading, installing and verifying the updates for your computer. There is no mystery to it, but IT IS IMPORTANT, and disabling or messing with it too much may cause you to see system errors or even messages saying you need to reinstall or run lengthy repair routines. Disabling its ability to wake from sleep is not ideal, but shouldn't really hurt if you remember to check updates each week & download & install available updates.

    However - there are also other things that can wake the machine from sleep. Its possible to stop waking from happening right across the board.

    I should have remembered to ask you to try this first - its somewhat simpler.
    (Note - this controls all the wake timers for the machine, not just the UsoSvc timers. Wake Timers have been around in Windows for a long time. In Win7 there were some end user controls. Win 10 has more control, as you can see here. Note that "Important Wake Timers" are new class of time in Win10 that allows things like updates to supersede other settings. The process below will disable all wake timers including the "important wake times" that are used by update processes)

    1. In the run box type

    Edit power

    Click the "Edit Power Plan" control panel icon to open it

    2. In the Edit Power Plan control panel, click the line saying:

    " Change Advanced Power Plan Settings "

    This opens the "Power Options" dialog

    A. In the drop down, select the first power plan listed

    B. Expand (click the + sign) to open the Sleep item
    C. Expand (click the + sign) to open the Allow wake timers. item
    D. Select Disable for the On battery item from the dropdown
    E. Select Disable for the Plugged In item from the dropdown

    F. Go back to A. but select the second power plan listed & repeat items B. to E.
    G. Repeat for any other power plans

    H. Click APPLY button
    I. Click OK button
    J. Close the "Edit Power Plan" control panel
    K.Reboot
    Thanks for this detailed reply Ross, but I think you may have misunderstood my problem. The situation is that the PC is NOT going to sleep at all, and this problem has been ongoing since I purchased the PC in early January this year. Occasionally is will enter sleep mode, but more often than not it just stays on.

    Power & Sleep.jpg

    Settings.jpg
    To grow old is inevitable.... To grow up is optional

    Confidence, the feeling you have before you fully understand the situation.

    What could possibly go wrong.

  13. #12
    Join Date
    Apr 2007
    Location
    Sydney
    Posts
    749

    Default

    You are right - I was assuming it was waking when it should not

    Try this from a cmd prompt while running it as Admin:

    Code:
    powercfg -requestsoverride SERVICE UsoSvc EXECUTION
    Also, your screen shot shows your wake timers are enabled

    Disable them.

    You have Hybrid Sleep enabled

    Turn it off
    (If your motherboard does not expressly support this it may stop sleep)

    If it won't sleep at all check multimedia settings in same dialog - its very common for media sharing to be turned on & that will stop machine entering sleep state.


    2020-03-25_08-27-44.png

    The above are the easy things to try.

    There are huge number of other things that can prevent sleep including attached peripherals & network printers.

    You could try and enter Safe Mode & see if that works. If it does then Windows is working OK & its an issue with an application or driver - you might repair windows at that point

  14. #13
    Join Date
    Aug 2005
    Location
    Cranbourne West
    Age
    72
    Posts
    3,612

    Default

    All good that we're on the same page now Ross .
    I have made the adjustments that you suggested in the power options settings.

    What exactly does the following code do, and what are the consequences?
    powercfg -requestsoverride SERVICE UsoSvc EXECUTION


    I found this discussion while researching the problem. Unfortunately it's all gobblygook to me .
    To grow old is inevitable.... To grow up is optional

    Confidence, the feeling you have before you fully understand the situation.

    What could possibly go wrong.

  15. #14
    Join Date
    Apr 2007
    Location
    Sydney
    Posts
    749

    Default

    Sorry - I should have given you an explanation

    See here for technical details of powercfg - its a utility that provides detailed control over the machine power plans
    Powercfg command-line options | Microsoft Docs

    From that you will see that the switch "requestsoverride " instructs the machine to allow power state to over-ride (or force a close) of running processes.

    We obtained the caller type of "SERVICE" and request type of "EXECUTION" from your initial command that shows the errant process was UsoSvc (its a system service process running in execution mode)

    This will set a registry entry that allows sleep to operate despite UsoSvc running.

    To remove the power request override, use the -REQUESTSOVERRIDE option, but do not specify any override request type i.e.
    Code:
    powercfg -requestsoverride SERVICE UsoSvc 

  16. #15
    Join Date
    Aug 2005
    Location
    Cranbourne West
    Age
    72
    Posts
    3,612

    Default

    Thanks for the explanation Ross. I will implement your suggestion and see how things go. I will keep you informed as to the results.
    Once again thanks to Ross and poundy for their help.
    To grow old is inevitable.... To grow up is optional

    Confidence, the feeling you have before you fully understand the situation.

    What could possibly go wrong.

Page 1 of 2 12 LastLast

Similar Threads

  1. Can't sleep WIP'S
    By nz_carver in forum WOODCARVING AND SCULPTURE
    Replies: 13
    Last Post: 30th August 2010, 10:46 PM
  2. One more sleep!
    By Big Shed in forum HAVE YOUR SAY
    Replies: 8
    Last Post: 2nd September 2007, 09:28 PM
  3. I cannot sleep
    By felixe in forum NOTHING AT ALL TO DO WITH WOODWORK
    Replies: 2
    Last Post: 24th October 2006, 07:13 AM
  4. Who do I have to sleep with to...
    By Toolin Around in forum NOTHING AT ALL TO DO WITH WOODWORK
    Replies: 3
    Last Post: 18th June 2006, 09:50 PM
  5. Sleep Apnoea
    By Daddles in forum NOTHING AT ALL TO DO WITH WOODWORK
    Replies: 22
    Last Post: 21st August 2005, 07:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •