Pixelapes
Web and Graphic Design and Hosting

 

Windows 7 can’t go to sleep

Full Article

I had a problem recently with Windows 7 refusing to go to sleep. I would click “Sleep” and the screen would go off but all the fans were still going and on moving the mouse around I would be presented with the login screen – not exactly “Sleep” in my books. This baffled me, and no matter how many times I told the machine to go to sleep it would behave the same way.

In the end I’d just give up and shut the machine down, but last night I was feeling in the mood to do a bit of investigation so I looked around and found a few posts which answered the issue.

First up was “Windows 7 – Why your computer won’t go to sleep” where I discovered a new command for investigating exactly this issue – I could run “powercfg /requests” to see what was causing the computer to fail to go to sleep.

You need to run this as an administrator, so go to start, type “cmd” and right-click the Cmd icon and select “Run as Administrator” as shown in the screen capture to the right.

This launches your command line interface where you should type “powercfg /requests”. Note if you don’t run this as administrator you will get an error message on running the command.

Below you can see the offending result:

AWAYMODE:
[PROCESS] \Device\HarddiskVolume2\Program Files\Windows Media Player\wmpnetwk.exe
Media Sharing has been enabled through Windows Media Player.

Instantly this revealed that there was something active with Windows Media Player.

A bit of research dug up the fact that Windows Media Player 12 comes with an option for Media Sharing – not something I’ve ever used or ever see myself using. This post on superuser gave me an idea of what was going on.

I investigated my Homegroup settings and found that Homegroups weren’t enabled, but I did remember having switched Homegroups on when I first installed Windows 7 to test them out as a possible alternative to old-style networking. So it looked as though Windows 7 had enabled this service and it was running by default whether I wanted it or not.

Simple solution: disable the service entirely and prevent it from running.

To do this, go to start and type “services.msc” and hit enter. This launches your services configuration editor. Scroll down to “Windows Media Player Network Sharing Service” and right-click and open “Properties”. In here you can stop the service and change the “Startup Type” to “Disabled”. Click apply and you’re all done.

If you want you can now run “powercfg /requests” again and you’ll no longer see wmpnetwk.exe causing any block on your computer going into sleep mode.

Happy sleeping!

Windows 7 can’t go to sleep: 63 Comments

Subscribe to comment feed

1. Mack
6:42 pm
April 8th, 2010

Or you could just go to the power management settings and for multimedia settings select “allow the computer to sleep.”

2. hiliwuna
1:30 pm
October 7th, 2010

thank you !!!!!!

3. Alex Leonard
1:36 pm
October 7th, 2010

No problem! Glad it was of some use :)

@Mack – very sorry I didn’t reply before, must have slipped my mind. Thanks for the tip as well. Didn’t realise this was the same action.

4. asdfa
4:20 pm
October 30th, 2010

My PC with Win 7 too can’t enter sleep, it goes blank for a second and then wakes up! I have done everything possible including this advice to no avail.
You incapable, incredibly stupid, MORONS, who are working for Microsoft, not ever been able to make something that simply works, GO HOME you do not deserve to even touch a computer, your stupidity is world-wide destructive! You are causing pain and frustration to millions YOU EMPTY HEADS!

5. geboy
2:23 pm
January 2nd, 2011

it showed that rasman is the problem. how could i stop rasman then?

6. Alex Leonard
7:06 am
January 10th, 2011

He Geboy,

According to liutilities, rasman.exe is a dialler service for windows. However it also cautions that this process can be duplicated by malware.

I would advise first checking your Task Manager (invoked by Ctrl+shift+esc), to see whether there are one or more instances or rasman.exe under the Processes tab. You could try selecting these processes, if they exist, and clicking the “End Process” button at the bottom-right of Task Manager.

It might also be worthwhile running some comprehensive virus and malware scans just to be safe. I highly recommend Spybot Search & Destroy which has been extremely effective in fixing issues on computers owned by friends of mine. I do not know if it would be effective against this sort of issue, but there’s no harm in running it as it improves your security an awful lot. From the virus end of things, you should definitely have a anti-virus programme installed, something like MS Security Essentials, AVG (although I’m less impressed with them lately), Avira, NOD, etc.

I hope this is of some assistance.

Kind regards,
Alex

7. Jamie
7:38 pm
May 25th, 2011

I’m having the same problem. When I go into the command prompt, however, it won’t let me run the command because it’s telling me I have to be an administrator. Yet when I go to user accounts and click on mine, it’s telling me I AM set up as an admin.

See the pic here: http://tinypic.com/r/vy46dv/7

Regardless, I did as you suggested for the Windows Media Player, but it didn’t seem to help so I don’t think that was the problem.

I hate not having the computer go to sleep at night, because I wake up and it’s hot to the touch — can’t be good for it.

Help?

8. Jamie
7:40 pm
May 25th, 2011

Oh, and I checked for rasman.exe and I don’t have it running, either. No spy/malware.

9. Alex Leonard
6:45 am
May 26th, 2011

Hi Jamie,

Just to check, did you launch cmd.exe as an administrator – even though your account is an administrator account, you still need to right-click on cmd.exe and select “Run as administrator”. This will then provoke a prompt depending on your UAC settings and you should be able to run the command as required.

Perhaps if you can get the powercfg /requests command to run we can see what it is that’s enabled and preventing your computer from going to sleep.

Cheers,
Alex

10. Jamie
6:12 am
May 27th, 2011

Well, ya learn something new every day, don’tcha? :) I always have just typed in CMD for the command prompt.

OK, so having done that, now I’m even more perplexed. This is what it tells me when I run your command:

http://tinypic.com/r/mj0hu0/7

That makes me think there’s no reason that it shouldn’t be working, unless I’m totally misreading it.

Help?

11. Jeff
7:23 pm
May 30th, 2011

WOW! Worked like a charm, thanks so much!

12. Jamie
11:02 pm
May 30th, 2011

Alex, did you see my previous post?

13. Alex Leonard
3:34 am
May 31st, 2011

@Jeff great to hear it helped

@Jamie: sorry I didn’t get back to you yet but have been very busy the last few days. Certainly it looks that you have no impediment to your computer going to sleep – at least the Windows Media Player network sharing impedance is not present. I’d suggest trying to put your computer to sleep, if it fails, then run the powercfg /requests command immediately and see if still comes up blank. You can also, whilst CMD is being run in elevated mode, try powercfg /energy – this scans your system for 60 seconds and returns a report. I’m not too familiar with the contents, but there could be some information therein that assists.

Also, are you currently using Home Groups – if you are I would be interested to know if temporarily disabling them enables you putting the computer to sleep.

Double check advanced settings for media sharing too, although this should be disabled by previous steps, not harm in double checking.

Finally, does your computer go to sleep when wired/wireless networks are unplugged/turned off?

I’m sure we’ll work it out!

14. Jorge
4:39 am
June 22nd, 2011

Thanks for the great advise, it worked just beautiful. Problem solved.

15. Alex Leonard
4:41 am
June 22nd, 2011

Hi Jorge,

Great to hear this article was able to help you out!

Cheers,
Alex

16. Jorge
7:59 pm
June 22nd, 2011

Alex:
Bad news, I tried your advise yesterday, it worked fine the first time, after that, I have the same issue, my computer just can’t go into the sleep mode. Checked the Media share system and its disabled, any idea of what can be happening?

17. Jorge
8:39 pm
June 24th, 2011

Problem solved, it was the network connection. I switched from wireless to wired and that was the problem. Just unplugging the cable network ends all activity and the computer goes to sleep without any problem.

18. David
12:58 am
August 2nd, 2011

Just wanted to say, this article helped me out. Running the powercfg /energy report did the trick – I realized that my printer was preventing my computer from going to sleep. Thanks!

19. Alex Leonard
12:24 pm
August 8th, 2011

Hi David,

Delighted to hear this article was able to help you get it worked out :)

Thanks for dropping a comment.
Alex

20. tom
4:51 am
January 8th, 2012

Mine says:

(Driver) filesystem\srvnet
but I can’t find it anywhere in my computer

21. Alex Leonard
3:01 pm
January 8th, 2012

Hi Tom,

I did some searching around and I think I’ve found a possible solution (http://forums.windowsforum.org/index.php?showtopic=46205)

If you go to your cmd console and type the following:

powercfg -requestsoverride driver \FileSystem\srvnet system

That should do it apparently.. hope this helps.

22. tom
4:38 pm
January 8th, 2012

Thanks Alex. Fantastic. It finally has return to going to sleep on it’s own. It was driving me crazy for weeks. I had tried uninstalling the last couple of driver updates etc but nothing I tried had worked

23. Alex Leonard
4:40 pm
January 8th, 2012

Hey Tom,

Brilliant! Glad to hear that sorted it out. I know how frustrating it is when the machine refuses to go to sleep so I’m delighted I was able to help out :)

Cheers!
Alex

24. Sholac
12:45 pm
February 17th, 2012

Hello, I tried all of that, but still facing the problem.
After PC go to sleep, it just wake up same moment. Like nothing happened… :(

25. Alex Leonard
12:53 pm
February 17th, 2012

Hi Sholac,

That’s unfortunate. What is the output when you run “powercfg /requests” in an elevated cmd window?

Also, did you try to generate an energy report as suggested by David above. That might give you more information. It will dump the report to C:\Windows\system32\energy-report.html – to view this file in a browser you might need to copy it out of Windows\system32 though.

Cheers,
Alex

26. Monday Yen
8:19 am
February 29th, 2012

Thanks!!! my laptop has a sweet dream now.. the problem was not same as yours one, it is not Window Media Player but other.. i check it out by using the cmd which shown by you at above, and i diable it just same like what you had done.

27. Alex Leonard
10:56 am
February 29th, 2012

Hey there,

Brilliant. I’m very glad it was of assistance to you :)

Cheers,
Alex

28. Andy
3:14 am
May 9th, 2012

Your command “powercfg /requests” helped me find an old defined printer that still had a print job stuck. Removed that printer and all is well. Thanks

29. Alex Leonard
7:57 am
May 9th, 2012

Hi Andy,

Good to know that this command can also help with things like that. I didn’t realise that it would highlight stuck print jobs.

Glad you got it sorted.

Cheers,
Alex

30. Nate
11:49 pm
June 26th, 2012

Hi Alex,

Any idea what do do with these responses from the energy report? I got 7 errors as follows:

Power Policy:Disk idle is disabled (Plugged In)
The disk is not configured to turn off after a period of disk inactivity.

USB Suspend:USB Device not Entering Suspend
The USB device did not enter the Suspend state. Processor power management may be prevented if a USB device does not enter the Suspend state when not in use.
Device Name USB Root Hub
Host Controller ID PCI\VEN_8086&DEV_2939
Host Controller Location PCI bus 0, device 26, function 2
Device ID USB\VID_8086&PID_2939
Port Path

USB Suspend:USB Device not Entering Suspend
The USB device did not enter the Suspend state. Processor power management may be prevented if a USB device does not enter the Suspend state when not in use.
Device Name USB Root Hub
Host Controller ID PCI\VEN_8086&DEV_293A
Host Controller Location PCI bus 0, device 29, function 7
Device ID USB\VID_8086&PID_293A
Port Path

USB Suspend:USB Device not Entering Suspend
The USB device did not enter the Suspend state. Processor power management may be prevented if a USB device does not enter the Suspend state when not in use.
Device Name USB Mass Storage Device
Host Controller ID PCI\VEN_8086&DEV_293A
Host Controller Location PCI bus 0, device 29, function 7
Device ID USB\VID_0BDA&PID_0111
Port Path 5

USB Suspend:USB Device not Entering Suspend
The USB device did not enter the Suspend state. Processor power management may be prevented if a USB device does not enter the Suspend state when not in use.
Device Name USB Composite Device
Host Controller ID PCI\VEN_8086&DEV_2939
Host Controller Location PCI bus 0, device 26, function 2
Device ID USB\VID_046D&PID_C52B
Port Path 1

Platform Power Management Capabilities:ACPI _PSD Object Failed Validation
There is a problem with the definition of the ACPI _PSD object on this computer. Installing the latest system firmware (BIOS) may resolve this issue.
Group 0
Index 0

Platform Power Management Capabilities:ACPI _PSD Object Failed Validation
There is a problem with the definition of the ACPI _PSD object on this computer. Installing the latest system firmware (BIOS) may resolve this issue.
Group 0
Index 1

Any help would be greatly appreciated as I just upgraded to Windows 7 and can’t get my sleep mode back! It slept like a baby in Vista which is the only thing Vista did better….

Thanks!

Nate

31. Nate
12:06 am
June 27th, 2012

Well, I did a lot more digging around the internet and found a fix so I thought I would share it:)

Enter the CMD as admin and type the following command:

powercfg -devicequery wake_armed

This command lists all devices that are currently capable of waking your computer. Then start at the top and type the following command with the device name in the parentheses and hit enter:

powercfg -devicedisablewake ” ”

Try putting computer to sleep and if it didn’t work, disable the next device in the list until it works:) I figured out it is my mouse & keyboard. The three devices it listed as able to wake the computer when i entered the first command were:

HID Keyboard Device
HID-compliant mouse
Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller

I tried quite a few combinations of disabling these three devices and found that if either the keyboard or mouse are enabled my computer wakes immediately on sleep. When I disabled all three it worked. I then re-enabled the ethernet controller with the following command:

powercfg -deviceenablewake “Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller”

It still sleeps perfectly with the ethernet controller enabled so I am all set!

Hope this helps those that are unable to find a solution in the other posts!

Nate

32. Alex Leonard
8:42 am
June 27th, 2012

Hi Nate,

I will have to admit that I wouldn’t have been able to provide an answer straight up on your original issues. Good work on finding the solution. Some very good sleuthing to sort that out.

Have you double checked for updated drivers? It might be worth uninstalling the keyboard/mouse and reinstalling.

Have you “upgraded” from Vista to Win7? Or did you do a fresh install? I’d be interested to see if you encounter the same issues with your keyboard/mouse & network interface on a fresh install.

Cheers,
Alex

33. brandon
7:21 am
August 20th, 2012

Thank you so much Nate for your detailed post! I got one step closer to figuring out why my computer can’t go to sleep.

In the list from the powercfg -devicequery wake_armed command I cleared everything from the list and tried to sleep but still goes immediately to the login screen. I also figured out that you can disable the options in wake_armed by going into device manager.

After this, I will try to disable USB wake ups from the BIOS and see if it works.

34. Alex Leonard
7:26 am
August 20th, 2012

Delighted to see this post has generated so many comments and that even more solutions have been posted! Thanks everyone for your feedback and input.

35. colin
10:03 pm
September 6th, 2012

seems to work, thanks !

36. Billy
1:36 am
September 12th, 2012

After reading the original article I was excited to see a simple solution to my pestering problem. But when trying the solution listed I was frustrated once again. A big thanks to Nate for posting his solution as well. It is the solution that put my computer to sleep for the night. It turned out to be the keyboard (which I’ve noticed hasn’t been acting right).

Thanks Alex for creating the article and thanks to Nate for filling in some additional needed information (in my case)!

- Billy

37. Sorin
3:38 am
September 22nd, 2012

Hi,
I tried to do some of the suggestions – however the powercfg /requests showed everything fine (“none” as return to display, system and awaymode). Tried also the powercfg -energy and looked at the report – there were 6 errors, all related to USB (“USB Device not Entering Suspend”); however I checked the USB settings in advanced power mngmnt and the USB selective suspend setting is “Enabled” – the default. The report also showed other “warnings” and “info” items….but none (I think) are related to the PC not entering sleep mode.
Any suggestions?

Thanks
Sorin

38. Alex Leonard
10:06 am
September 26th, 2012

Hi Sorin,

Did you try Nate’s suggestions:

powercfg -devicequery wake_armed

This command lists all devices that are currently capable of waking your computer. Then start at the top and type the following command with the device name in the parentheses and hit enter.

39. Marvin
1:08 pm
October 4th, 2012

FOR WINDOWS 7 – To do the actual try and eliminate procedure – the process is much much much [ did I mention much :) ] easier if you just go to Device Manager, then go to “Keyboards” and/or “Mice and Other Pointing Devices” and/or “Network Adapters” (if those are the discovered devices capable of waking the computer). Then go to The Power Management tab of each device and then check and/or uncheck there for final discovery of the culprit.

40. Mark
9:37 am
November 2nd, 2012

I have the same issues as Jamie and get to the same screen. No offending devices listed. Where do I go from there?

41. tinyguin
3:30 pm
November 5th, 2012

Analysis Results

Errors

Power Policy:Display timeout disabled (Plugged In)
The display is not configured to turn off after a period of inactivity.
Power Policy:Dim timeout is disabled (Plugged In)
The display is not configured to automatically dim after a period of inactivity.
CPU Utilization:Processor utilization is high
The average processor utilization during the trace was high. The system will consume less power when the average processor utilization is very low. Review processor utilization for individual processes to determine which applications and services contribute the most to total processor utilization.
Average Utilization (%) 5.95
Warnings

Platform Timer Resolution:Platform Timer Resolution
The default platform timer resolution is 15.6ms (15625000ns) and should be used whenever the system is idle. If the timer resolution is increased, processor power management technologies may not be effective. The timer resolution may be increased due to multimedia playback or graphical animations.
Current Timer Resolution (100ns units) 10000
Maximum Timer Period (100ns units) 156001
Platform Timer Resolution:Outstanding Timer Request
A program or service has requested a timer resolution smaller than the platform maximum timer resolution.
Requested Period 10000
Requesting Process ID 5204
Requesting Process Path \Device\HarddiskVolume2\Program Files\Google\Chrome\Application\chrome.exe
Power Policy:Display timeout is long (On Battery)
The display is configured to turn off after longer than 15 minutes.
Timeout (seconds) 600
Power Policy:Sleep timeout is long (Plugged In)
The computer is configured to automatically sleep after longer than 30 minutes.
Timeout (seconds) 2700
Power Policy:802.11 Radio Power Policy is Maximum Performance (Plugged In)
The current power policy for 802.11-compatible wireless network adapters is not configured to use low-power modes.
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name chrome.exe
PID 5204
Average Utilization (%) 1.31
Module Average Module Utilization (%)
\Device\HarddiskVolume2\Program Files\Google\Chrome\Application\22.0.1229.94\chrome.dll 0.50
\SystemRoot\System32\win32k.sys 0.25
\SystemRoot\system32\ntkrnlpa.exe 0.24
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name chrome.exe
PID 4396
Average Utilization (%) 0.93
Module Average Module Utilization (%)
\Program Files\Google\Chrome\Application\22.0.1229.94\chrome.dll 0.80
\SystemRoot\system32\ntkrnlpa.exe 0.07
\SystemRoot\System32\ntdll.dll 0.01
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name dwm.exe
PID 1716
Average Utilization (%) 0.60
Module Average Module Utilization (%)
\Device\HarddiskVolume2\Windows\System32\igd10umd32.dll 0.27
\Device\HarddiskVolume2\Windows\System32\dwmcore.dll 0.14
\SystemRoot\system32\DRIVERS\igdkmd32.sys 0.06
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name chrome.exe
PID 5988
Average Utilization (%) 0.59
Module Average Module Utilization (%)
\Device\HarddiskVolume2\Program Files\Google\Chrome\Application\22.0.1229.94\chrome.dll 0.25
\SystemRoot\system32\ntkrnlpa.exe 0.18
0.07
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name chrome.exe
PID 6140
Average Utilization (%) 0.27
Module Average Module Utilization (%)
\Device\HarddiskVolume2\Program Files\Google\Chrome\Application\22.0.1229.94\PepperFlash\pepflashplayer.dll 0.15
\SystemRoot\system32\ntkrnlpa.exe 0.04
\Device\HarddiskVolume2\Program Files\Google\Chrome\Application\22.0.1229.94\chrome.dll 0.02
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name System
PID 4
Average Utilization (%) 0.26
Module Average Module Utilization (%)
\SystemRoot\system32\ntkrnlpa.exe 0.15
\SystemRoot\System32\drivers\dxgmms1.sys 0.01
\SystemRoot\system32\halmacpi.dll 0.01
Information

Platform Timer Resolution:Timer Request Stack
The stack of modules responsible for the lowest platform timer setting in this process.
Requested Period 10000
Requesting Process ID 5204
Requesting Process Path \Device\HarddiskVolume2\Program Files\Google\Chrome\Application\chrome.exe
Calling Module Stack \Device\HarddiskVolume2\Windows\System32\ntdll.dll
\Device\HarddiskVolume2\Windows\System32\winmm.dll
\Device\HarddiskVolume2\Program Files\Google\Chrome\Application\22.0.1229.94\chrome.dll
\Device\HarddiskVolume2\Program Files\Google\Chrome\Application\chrome.exe
Power Policy:Active Power Plan
The current power plan in use
Plan Name OEM Balanced
Plan GUID {381b4222-f694-41f0-9685-ff5bb260df2e}
Power Policy:Power Plan Personality (On Battery)
The personality of the current power plan when the system is on battery power.
Personality Balanced
Power Policy:Video Quality (On Battery)
Enables Windows Media Player to optimize for quality or power savings when playing video.
Quality Mode Balance Video Quality and Power Savings
Power Policy:Power Plan Personality (Plugged In)
The personality of the current power plan when the system is plugged in.
Personality Balanced
Power Policy:Video quality (Plugged In)
Enables Windows Media Player to optimize for quality or power savings when playing video.
Quality Mode Optimize for Video Quality
System Availability Requests:Analysis Success
Analysis was successful. No energy efficiency problems were found. No information was returned.
USB Suspend:Analysis Success
Analysis was successful. No energy efficiency problems were found. No information was returned.
Battery:Analysis Success
Analysis was successful. No energy efficiency problems were found. No information was returned.
Platform Power Management Capabilities:Supported Sleep States
Sleep states allow the computer to enter low-power modes after a period of inactivity. The S3 sleep state is the default sleep state for Windows platforms. The S3 sleep state consumes only enough power to preserve memory contents and allow the computer to resume working quickly. Very few platforms support the S1 or S2 Sleep states.
S1 Sleep Supported false
S2 Sleep Supported false
S3 Sleep Supported true
S4 Sleep Supported true
Platform Power Management Capabilities:Adaptive Display Brightness is supported.
This computer enables Windows to automatically control the brightness of the integrated display.
Platform Power Management Capabilities:Processor Power Management Capabilities
Effective processor power management enables the computer to automatically balance performance and energy consumption.
Group 0
Index 0
Idle (C) State Count 3
Performance (P) State Count 13
Throttle (T) State Count 0
Platform Power Management Capabilities:Processor Power Management Capabilities
Effective processor power management enables the computer to automatically balance performance and energy consumption.
Group 0
Index 1
Idle (C) State Count 3
Performance (P) State Count 13
Throttle (T) State Count 0
Platform Power Management Capabilities:Processor Power Management Capabilities
Effective processor power management enables the computer to automatically balance performance and energy consumption.
Group 0
Index 2
Idle (C) State Count 3
Performance (P) State Count 13
Throttle (T) State Count 0
Platform Power Management Capabilities:Processor Power Management Capabilities
Effective processor power management enables the computer to automatically balance performance and energy consumption.
Group 0
Index 3
Idle (C) State Count 3
Performance (P) State Count 13
Throttle (T) State Count 0

42. tinyguin
3:35 pm
November 5th, 2012

can someone help me this is what i got after i type powercfg /energy.

43. Shay
10:52 am
November 19th, 2012

Thanks Nate you helped me solve the problem!

All i needed to do was to disable the mouse and keyboard from waking up the pc by: powercfg -devicedisablewake “X”

thanks!

44. Sean
5:33 pm
February 10th, 2013

Hi,

So I found out that every time I use my VPN and I try to go to sleep mode, it fails to do so…. The screen goes off but my keyboard light and HDD are still running… When I don’t use my VPN, my laptop goes to sleep fine. Anyone know how to fix this..? I’ve tried doing the powercfg stuff in the Command Prompt but nothing seems to work or it may be that I’m doing it wrong.. Please help..! Thank you.

45. Alex Leonard
9:16 am
February 11th, 2013

Hi Sean,

Thanks for dropping by! Unfortunately I don’t have any experience using VPNs so I’m not sure what could be causing it to stop your machine from going to sleep.

Have you tried all of:

powercfg /requests
powercfg -devicequery wake_armed
powercfg -lastwake
powercfg -energy

Cheers,
Alex

46. Sean
2:27 am
February 13th, 2013

Hi Alex,

Thanks for your reply. Unfortunately the powercfg commands you mentioned didn’t help. I think I’ll just have to shut down my laptop when if I connect to my VPN..

Best,
Sean

47. Justin Denner
8:10 am
March 10th, 2013

Hello, i am having similar issues and cant put my computer to sleep. i have tried all the options and nothing comes back when i try the -devicequery wake_armed nothing happened when i type last wake it says 0 and when i try the other options either nothing comes up or it says none. i am very confused please help.

48. Nathan
11:24 pm
March 12th, 2013

Hi Alex,

I’m encountering a similar though not identiical problem: my laptop frequently (not always, and I can’t find a trend for when it does) fails to go to sleep on command. Instead it lingers in a sort of dazed state until it shuts off. Upon start up it says that it has recovered from an unexpected shutdown. I ran the power reuests you suggested and find that it is Realtek audio that is the offender – though it is disabled.
Some insight into this problem would be appreciated as having to reboot every time I close the lid is getting tiresome and makes the whole concept of sleep or hibernate redundant.
Thanks
(p.s. a direct email would be appreciated)

49. smile
9:22 pm
March 30th, 2013

how to open the report on energy on cmd none of my browsers can open.

50. smile
11:57 am
March 31st, 2013

Power Efficiency Diagnostics Report

Computer Name MININT-8HPOC2G
Scan Time 2013-03-31T01:51:54Z
Scan Duration 60 seconds
System Manufacturer Dell Inc.
System Product Name Inspiron N5050
BIOS Date 03/23/2012
BIOS Version A04
OS Build 7601
Platform Role PlatformRoleMobile
Plugged In true
Process Count 88
Thread Count 1033
Report GUID {fdd794b4-04fb-44d0-bd8b-30582288b8ac}

Analysis Results

Errors

System Availability Requests:System Required Request

The device or driver has made a request to prevent the system from automatically entering sleep.

Requesting Driver Instance HDAUDIO\FUNC_01&VEN_111D&DEV_76D1&SUBSYS_10280504&REV_1002\4&29cbcfe4&0&0001
Requesting Driver Device IDT High Definition Audio CODEC

USB Suspend:USB Device not Entering Suspend

The USB device did not enter the Suspend state. Processor power management may be prevented if a USB device does not enter the Suspend state when not in use.

Device Name Generic USB Hub
Host Controller ID PCI\VEN_8086&DEV_1C2D
Host Controller Location PCI bus 0, device 26, function 0
Device ID USB\VID_8087&PID_0024
Port Path 1

USB Suspend:USB Device not Entering Suspend

The USB device did not enter the Suspend state. Processor power management may be prevented if a USB device does not enter the Suspend state when not in use.

Device Name WiMAX Bus Driver
Host Controller ID PCI\VEN_8086&DEV_1C2D
Host Controller Location PCI bus 0, device 26, function 0
Device ID USB\VID_19D2&PID_0172
Port Path 1,2

USB Suspend:USB Device not Entering Suspend

The USB device did not enter the Suspend state. Processor power management may be prevented if a USB device does not enter the Suspend state when not in use.

Device Name USB Root Hub
Host Controller ID PCI\VEN_8086&DEV_1C2D
Host Controller Location PCI bus 0, device 26, function 0
Device ID USB\VID_8086&PID_1C2D
Port Path

CPU Utilization:Processor utilization is high

The average processor utilization during the trace was high. The system will consume less power when the average processor utilization is very low. Review processor utilization for individual processes to determine which applications and services contribute the most to total processor utilization.

Average Utilization (%) 7.69

Warnings

Platform Timer Resolution:Platform Timer Resolution

The default platform timer resolution is 15.6ms (15625000ns) and should be used whenever the system is idle. If the timer resolution is increased, processor power management technologies may not be effective. The timer resolution may be increased due to multimedia playback or graphical animations.

Current Timer Resolution (100ns units) 10000
Maximum Timer Period (100ns units) 156001

Platform Timer Resolution:Outstanding Timer Request

A program or service has requested a timer resolution smaller than the platform maximum timer resolution.

Requested Period 10000
Requesting Process ID 5404
Requesting Process Path \Device\HarddiskVolume1\Program Files (x86)\Google\Chrome\Application\chrome.exe

Platform Timer Resolution:Outstanding Timer Request

A program or service has requested a timer resolution smaller than the platform maximum timer resolution.

Requested Period 10000
Requesting Process ID 4628
Requesting Process Path \Device\HarddiskVolume1\Program Files (x86)\Google\Chrome\Application\chrome.exe

Platform Timer Resolution:Outstanding Timer Request

A program or service has requested a timer resolution smaller than the platform maximum timer resolution.

Requested Period 100000
Requesting Process ID 372
Requesting Process Path \Device\HarddiskVolume1\Windows\System32\svchost.exe

Power Policy:802.11 Radio Power Policy is Maximum Performance (Plugged In)

The current power policy for 802.11-compatible wireless network adapters is not configured to use low-power modes.

CPU Utilization:Individual process with significant processor utilization.

This process is responsible for a significant portion of the total processor utilization recorded during the trace.

Process Name audiodg.exe
PID 1052
Average Utilization (%) 1.55
Module Average Module Utilization (%)
\Device\HarddiskVolume1\Windows\System32\AudioEng.dll 1.01
\Device\HarddiskVolume1\Windows\System32\stapo64.dll 0.20
\SystemRoot\system32\ntoskrnl.exe 0.12

CPU Utilization:Individual process with significant processor utilization.

This process is responsible for a significant portion of the total processor utilization recorded during the trace.

Process Name System
PID 4
Average Utilization (%) 1.08
Module Average Module Utilization (%)
\SystemRoot\system32\DRIVERS\USBPORT.SYS 0.54
\SystemRoot\system32\ntoskrnl.exe 0.33
\SystemRoot\system32\DRIVERS\drxvi314_64.sys 0.08

CPU Utilization:Individual process with significant processor utilization.

This process is responsible for a significant portion of the total processor utilization recorded during the trace.

Process Name Skype.exe
PID 2100
Average Utilization (%) 0.57
Module Average Module Utilization (%)
\Device\HarddiskVolume1\Program Files (x86)\Skype\Phone\Skype.exe 0.28
\SystemRoot\system32\ntoskrnl.exe 0.08
\SystemRoot\system32\DRIVERS\USBPORT.SYS 0.05

CPU Utilization:Individual process with significant processor utilization.

This process is responsible for a significant portion of the total processor utilization recorded during the trace.

Process Name cm.exe
PID 4696
Average Utilization (%) 0.32
Module Average Module Utilization (%)
\SystemRoot\system32\ntoskrnl.exe 0.13
\SystemRoot\system32\DRIVERS\USBPORT.SYS 0.03
\Device\HarddiskVolume1\Windows\SysWOW64\ntdll.dll 0.02

CPU Utilization:Individual process with significant processor utilization.

This process is responsible for a significant portion of the total processor utilization recorded during the trace.

Process Name sidebar.exe
PID 2588
Average Utilization (%) 0.23
Module Average Module Utilization (%)
\Device\HarddiskVolume1\Windows\winsxs\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17825_none_2b253c8271ec7765\GdiPlus.dll 0.05
\SystemRoot\system32\ntoskrnl.exe 0.03
\Device\HarddiskVolume1\Windows\System32\WindowsCodecs.dll 0.03

CPU Utilization:Individual process with significant processor utilization.

This process is responsible for a significant portion of the total processor utilization recorded during the trace.

Process Name svchost.exe
PID 376
Average Utilization (%) 0.21
Module Average Module Utilization (%)
\Device\HarddiskVolume1\Windows\System32\sysmain.dll 0.15
\Device\HarddiskVolume1\Windows\System32\msvcrt.dll 0.04
\SystemRoot\system32\ntoskrnl.exe 0.00

Information

Platform Timer Resolution:Timer Request Stack

The stack of modules responsible for the lowest platform timer setting in this process.

Requested Period 10000
Requesting Process ID 5404
Requesting Process Path \Device\HarddiskVolume1\Program Files (x86)\Google\Chrome\Application\chrome.exe
Calling Module Stack \Device\HarddiskVolume1\Windows\SysWOW64\ntdll.dll
\Device\HarddiskVolume1\Windows\SysWOW64\winmm.dll
\Device\HarddiskVolume1\Program Files (x86)\Google\Chrome\Application\25.0.1364.172\chrome.dll

Platform Timer Resolution:Timer Request Stack

The stack of modules responsible for the lowest platform timer setting in this process.

Requested Period 10000
Requesting Process ID 4628
Requesting Process Path \Device\HarddiskVolume1\Program Files (x86)\Google\Chrome\Application\chrome.exe
Calling Module Stack \Device\HarddiskVolume1\Windows\SysWOW64\ntdll.dll
\Device\HarddiskVolume1\Windows\SysWOW64\winmm.dll
\Device\HarddiskVolume1\Program Files (x86)\Google\Chrome\Application\25.0.1364.172\chrome.dll

Platform Timer Resolution:Timer Request Stack

The stack of modules responsible for the lowest platform timer setting in this process.

Requested Period 10000
Requesting Process ID 372
Requesting Process Path \Device\HarddiskVolume1\Windows\System32\svchost.exe
Calling Module Stack \Device\HarddiskVolume1\Windows\System32\ntdll.dll
\Device\HarddiskVolume1\Windows\System32\mmcss.dll
\Device\HarddiskVolume1\Windows\System32\ntdll.dll
\Device\HarddiskVolume1\Windows\System32\mmcss.dll
\Device\HarddiskVolume1\Windows\System32\svchost.exe
\Device\HarddiskVolume1\Windows\System32\sechost.dll
\Device\HarddiskVolume1\Windows\System32\kernel32.dll
\Device\HarddiskVolume1\Windows\System32\ntdll.dll

Power Policy:Active Power Plan

The current power plan in use

Plan Name OEM Balanced
Plan GUID {381b4222-f694-41f0-9685-ff5bb260df2e}

Power Policy:Power Plan Personality (On Battery)

The personality of the current power plan when the system is on battery power.

Personality Balanced

Power Policy:Video Quality (On Battery)

Enables Windows Media Player to optimize for quality or power savings when playing video.

Quality Mode Balance Video Quality and Power Savings

Power Policy:Power Plan Personality (Plugged In)

The personality of the current power plan when the system is plugged in.

Personality Balanced

Power Policy:Video quality (Plugged In)

Enables Windows Media Player to optimize for quality or power savings when playing video.

Quality Mode Optimize for Video Quality

Battery:Battery Information

Battery ID 24064Samsung SDIDELL JXFRP25
Manufacturer Samsung SDI
Serial Number 24064
Chemistry LION
Long Term 1
Design Capacity 48840
Last Full Charge 49251

Platform Power Management Capabilities:Supported Sleep States

Sleep states allow the computer to enter low-power modes after a period of inactivity. The S3 sleep state is the default sleep state for Windows platforms. The S3 sleep state consumes only enough power to preserve memory contents and allow the computer to resume working quickly. Very few platforms support the S1 or S2 Sleep states.

S1 Sleep Supported true
S2 Sleep Supported false
S3 Sleep Supported true
S4 Sleep Supported true

Platform Power Management Capabilities:Adaptive Display Brightness is supported.

This computer enables Windows to automatically control the brightness of the integrated display.

Platform Power Management Capabilities:Processor Power Management Capabilities

Effective processor power management enables the computer to automatically balance performance and energy consumption.

Group 0
Index 0
Idle (C) State Count 3
Performance (P) State Count 8
Throttle (T) State Count 0

Platform Power Management Capabilities:Processor Power Management Capabilities

Effective processor power management enables the computer to automatically balance performance and energy consumption.

Group 0
Index 1
Idle (C) State Count 3
Performance (P) State Count 8
Throttle (T) State Count 0

Platform Power Management Capabilities:Processor Power Management Capabilities

Effective processor power management enables the computer to automatically balance performance and energy consumption.

Group 0
Index 2
Idle (C) State Count 3
Performance (P) State Count 8
Throttle (T) State Count 0

Platform Power Management Capabilities:Processor Power Management Capabilities

Effective processor power management enables the computer to automatically balance performance and energy consumption.

Group 0
Index 3
Idle (C) State Count 3
Performance (P) State Count 8
Throttle (T) State Count 0

51. smile
12:00 pm
March 31st, 2013

Hello guys i tried the 60seconds scan from cmd it issued the above result i dont know what to do pls any help??

52. Bob
10:32 pm
April 5th, 2013

I had the same problem. After a while I left clicked Sleep and held it for several seconds then released. When it went to sleep it did not come back on automatically.

53. Fra
4:41 pm
June 21st, 2013

Thank you. This help me so much :)

54. Alex Leonard
3:45 am
June 24th, 2013

Hi Fra,

I’m glad this page was able to help you.

Cheers,
Alex

55. Justin
6:52 am
June 24th, 2013

my pc still isn’t sleeping. no one has helped me. ..

56. Alex Leonard
7:01 am
June 24th, 2013

Hi Justin,

I must have missed your comment earlier.

What sort of outputs do you have with:
powercfg /requests
powercfg -devicequery wake_armed
powercfg -lastwake
powercfg -energy

What are your system details?

57. bob s
5:30 pm
July 16th, 2013

THANKS I found not only windows media player but motocast was also causing the problem to solve this I simply uninstalled motocast as I am no longer am using it anyway. I will save this tool for future problems should they crop up.

58. Alex Leonard
1:43 am
July 17th, 2013

Brilliant, glad to hear this was able to help out!

59. Lawal
1:11 pm
July 19th, 2013

Thanks,my search for a solution brought this page up. now my pc is sleeeeeeeeeping on the croach! Used the power management tab of the devices manager as suggested. thanks all

60. Will
12:46 pm
March 23rd, 2014

thank you!

61. Nurry
3:46 am
April 1st, 2014

Hi, I have the same problem, but it’s not caused by the Media Sharing. My friend pulled out his USB Drive without ejecting and that’s when my laptop couldn’t sleep anymore. Here is what came up when I did the “powercfg /requests”:

http://i59.tinypic.com/2us7u45.jpg

Can you still somehow help me? :/ I hope you’re still available here.

62. Celeste
5:55 am
June 23rd, 2014

I did what you have instructed but when I typed : powercfg /requests and hit the enter button, all it says are :

DISPLAY:
None .

SYSTEM:
None .

AWAYMODE:
None .

But my computer is still unable to sleep. Please help me
xoxo

63. carlos
12:28 am
July 21st, 2014

big thanks to Nate!
also all credits go to Alex for creating the article.
in my case the cause of “non-sleeping” windows 7 are mouse,keyboard and Atheros L2 network adapter.

once again,thanks to both

Leave Your Comment

  1.  (required)
  2.  (will not be published) (required)

 

 

Web Design and Web Hosting - PixelApes, 13 Upper Baggot Street, Second Floor, Dublin 4, Ireland.

Phone: +35376 6024239. Email: [email protected]