Page 1 of 2 12 LastLast
  1.    06 Oct 2017 #1
    Join Date : Jul 2017
    Posts : 35
    windows 10

    PC won't sleep while playing a sound (audio driver prevent from sleep)


    Hi! Any idea how I could solve this problem?

    Runing
    Code:
    powercfg -requests
    gives:

    Code:
    SYSTEM:
    [DRIVER] Cirrus Logic High Definition Audio (HDAUDIO\FUNC_01&VEN_ ...)
    An audio stream is currently in use.
    [PROCESS] \Device\HarddiskVolume2\Program Files (x86)\Windows Media Player\wmplayer.exe
    I tried uninstalling the audio driver
    I also tried that code
    Code:
    powercfg /requestsoverride driver Cirrus Logic High Definition Audio System
    (as mentioned here)

    (Note that in this driver (in devices manager) there is no "power management tab" (as in network adapter) to uncheck the "allow to wake up on sleep"." tab on driver )
      My ComputerSystem Spec
  2.    06 Oct 2017 #2
    Join Date : Feb 2016
    Maribor, Slovenia
    Posts : 8,971
    Windows 10 (Pro and Insider Pro)

    Go to Control panel /and search for Power options. Select Advanced and then Change when computer sleeps. Scroll down to media settings and uncheck option "prevent sleep when sharing media" ... Names could not be exact, but you'll find them.

    Also, there is fine tutorial about preventing devices to wake computer or go to sleep..

    Click image for larger version. 

Name:	image.png 
Views:	19 
Size:	27.0 KB 
ID:	156785
      My ComputerSystem Spec
  3.    06 Oct 2017 #3
    Join Date : Jul 2017
    Posts : 35
    windows 10
    Thread Starter

    thanks AndreTen but I already checked that (sorry I forgot to mention it).

    But the tuto is interesting.

    I tried:

    Code:
    C:\WINDOWS\system32>powercfg -devicedisablewake "Cirrus Logic High Definition Audio"
    But it says:
    Code:
    You do not have permission to enable or disable device wake.
    But I'm running the cmd as admin... If you know the equivalent in Powershell I could try.

    EDIT: I also tried to create a new admin account and run this cmd, same problem.
    Last edited by chok; 06 Oct 2017 at 11:37.
      My ComputerSystem Spec
  4.    06 Oct 2017 #4
    Join Date : Feb 2016
    Maribor, Slovenia
    Posts : 8,971
    Windows 10 (Pro and Insider Pro)

    In this case, your drivers don't support this action. You probably use generic MS drivers. Try to install drivers from your laptop manufacturer (Dell, if your data is correct) and see, if this helps.

    There are lot of similar problems around. This is one interesting thread in Sevenforums (for Windows 7, but problem is the same)

    Edit: interesting claim from an user at ms forums... running
    powercfg -devicedisablewake "name..."
    several times, finally successful.
      My ComputerSystem Spec
  5.    06 Oct 2017 #5
    Join Date : Jul 2017
    Posts : 35
    windows 10
    Thread Starter

    thanks! But same result with the PowerShell as admin (I tried more than several times!)

    yes it's probable I use MS drivers since my computer (Dell Inspiron 3520) hasn't been updated for Windows 10. But it was working a few weeks ago (on windows 10).
      My ComputerSystem Spec
  6.    06 Oct 2017 #6
    Join Date : Feb 2016
    Maribor, Slovenia
    Posts : 8,971
    Windows 10 (Pro and Insider Pro)

    Quote Originally Posted by chok View Post
    thanks! But same result with the PowerShell as admin (I tried more than several times!)

    yes it's probable I use MS drivers since my computer (Dell Inspiron 3520) hasn't been updated for Windows 10. But it was working a few weeks ago (on windows 10).
    Check if drivers were updated (Reliability history will show it quickly, or find drivers propeties.. and events tab). If you find what was changed, it would be possible to revert it. Also, do you have some restore points (or even backup)?
      My ComputerSystem Spec
  7.    06 Oct 2017 #7
    Join Date : Jul 2017
    Posts : 35
    windows 10
    Thread Starter

    Yes the drivers have been updated (well I uninstalled them, I guess windows reinstalled the last (maybe generic) version). I did installed and uninstalled many things this month, so there is an infinite number possibility. And no, I'am afraid I can't go back in the past. But thanks anyway for your great help Andre.
      My ComputerSystem Spec
  8.    06 Oct 2017 #8
    Join Date : Feb 2016
    Maribor, Slovenia
    Posts : 8,971
    Windows 10 (Pro and Insider Pro)

    Have reread your first post, and think Name of the device should be in quotes...

    Like stated in this thread: windows_7-performance/windows-7-wont-go-to-sleep-when-on-battery-power

    Anyway... good luck with that issue. it's unbelievable how many of this problems stays unsolved..
      My ComputerSystem Spec
  9.    06 Oct 2017 #9
    Join Date : Jul 2017
    Posts : 35
    windows 10
    Thread Starter

    As you say! (But singularity isn't that far (27 year?), few more years to struggle with that).

    (Oh but it that one from your link did not throw any error (neither confirmation message).


    Code:
    
      
    Code:
    powercfg -REQUESTSOVERRIDE DRIVER "High Definition Audio Device" SYSTEM
    


    I don't know what it did, but it still can't sleep while playing


    My mistake; The driver was simply uninstalled, so it's normal I did not get any error.

    EDIT
    Sorry, Andra, I was away. Yes, I tried with the quote. I also uninstalled the Dell driver, powercfg -requests doesn't show anything blocking. The computer still doesn't sleep. I will keep you updated if I find a way to solve this.
    Last edited by chok; 06 Oct 2017 at 14:37.
      My ComputerSystem Spec
  10.    14 Oct 2017 #10
    Join Date : Jul 2017
    Posts : 35
    windows 10
    Thread Starter

    update: it's getting even more weider.

    I finally uninstalled the Cirrus Logic High Definition Audio but it did not change anything (except that now powercfg -requests does not not show anything.
      My ComputerSystem Spec

 
Page 1 of 2 12 LastLast


Similar Threads
Thread Forum
Solved Prevent notebook recovering from sleep by opening the lid
Hello everyone! I have a Sony and an HP notebook with Windows 10 installed. When the computer is on standby and I open the lid or click the mouse, the computer turns on. Despite all the Energy settings in the control panel I cannot fix it. I want...
General Support
which processes prevent sleep?
my computer will go to sleep after 30 minutes, as scheduled, but only if I have not signed in to my user account. once I sign in, it will not automatically sleep, and the monitor will not dim. what processes are likely to be interfering with...
Performance & Maintenance
How do I prevent my computer from going into a deep sleep?
How do I prevent my computer from going into a deep sleep after inactivity? I have hybrid sleep off. Whenever I try to wake it up, it doesn't respond to any of keys except for the power button. That leads me to thinking it's been shut down,...
General Support
How do I prevent going to sleep with certain program active?
Hello -- I am new to this forum, but I would like to ask for help. I have been with you all since Seven Forums. I am using a program that is no longer being further developed or supported by the developer. It is called PS3 Media Server and...
General Support
Audio Sleep and
I like Win10 - beautiful graphic and smooth transition from 8.1. One issue only. I have an audio app. DFX audio enhancer latest update, supposedly compatible with Win10. The following happens: when after 20 min the system puts to sleep, the audio...
Drivers and Hardware
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 21:08.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums