Windows wakes up soon after going to sleep

I think there are two main reasons why Windows would wake up “by itself” (without pressing a key on the keyboard or clicking the mouse).

  1. Scheduled tasks;
  2. Devices allowed to wake up the computer.

Scheduled tasks are fairly simple to look into and it was not the problem at the time of writing this post, so I’ll skip straight to the second point.

We can get a list of devices that are allowed to wake up the computer from sleep by typing at the command prompt:

powercfg -devicequery wake_armed

At the time, I had 3 allowed devices:

  • Intel(R) 82579V Gigabit Network Connection
  • HID-compliant mouse
  • Microsoft USB Natural Ergonomic Keyboard 4000 (Mouse and Keyboard Center) (001)

I don’t need WOL or anything like that so I disallowed the network card to wake up the computer using Device manager:


And voilà, my computer now stays asleep until I use the mouse or keyboard. I started having this problem after moving the computer to another network, so I suspect the new router or other network connected computers sent packets that waked it up.

Computer games bugs and conflicts


  • Terraria and Mumble (creative sound card bug?)
  • Grand Theft Auto IV and Mumble (same as Terraria?)
  • Grand Theft Auto IV and Process Explorer (securom restriction)
  • Battlefield 3 and Process Explorer (punkbuster bug)


  • Singularity has no sound on my Audigy 1. Tried installing OpenAL but didn’t help. Works with another sound card.
  • Screen in BattleField Bad Company 2 sometimes flashes black frames. Sometimes screen becomes black for several seconds. This is on my GTX 275. Tried several different NVidia drivers versions (even betas) with no success. Very annoying bug.
  • I couldn’t play Battlefield 3 CO-OP mode unless I forward port 3659 from the router to my computer. I can then host the game and invite another player. I didn’t have to make a rule in Windows Firewall. It probably already works if UPnP-style NAT traversal is enabled on your router, but I highly discourage its use due to potential security problems.

Terraria vs Mumble Conflict

There is currently a problem starting Terraria when you also have Mumble running.

Apparently that a lot of people have problems starting the game, but no one seems to be sure of the issue. Some say it’s because of the .NET or XNA framework and others say it could be a conflict with creative sound cards.

Of course, you should check if you have the latest .NET and XNA framework installed. Be sure to have the latest Creative drivers for your card (mine installed automagically with Windows Update optional updates). You could try verifying Terraria game cache integrity under Steam.

I was getting a “Terraria stopped working” window with the following details:

Problem signature:
   Problem Event Name:    APPCRASH
   Application Name:    Terraria.exe
   Application Version:
   Application Timestamp:    4eea0a07
   Fault Module Name:    RTSSHooks.dll
   Fault Module Version:
   Fault Module Timestamp:    4d4fb7eb
   Exception Code:    c0000005
   Exception Offset:    0000a5f2
   OS Version:    6.1.7601.
   Locale ID:    3084
   Additional Information 1:    0a9e
   Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
   Additional Information 3:    0a9e
   Additional Information 4:    0a9e372d3b4ad19135b953a78882e789

A workaround is to stop Mumble, start Terraria, then restart Mumble. This conflict could very well happen with something else than Mumble. I have a Creative sound card (good old Audigy 1), but I don’t know how to fix this issue so I am unsure if it’s related.

What kind of sound card do you have? Did you have the same issue using another sound-related software?

EDIT: Not just Terraria! Grand Theft Auto 4 also crashes on start if Mumble is open.